Class FossOutputHelper.Generalheader

  • Enclosing class:
    FossOutputHelper

    public static class FossOutputHelper.Generalheader
    extends Object
    General Header.
    Author:
    dale
    • Field Detail

      • m_type

        public int m_type
        2 BYTES: Use 1st BYTE. 01=.NIR, 02=.CAL.
      • m_count

        public int m_count
        2 BYTES: number of (non deleted) spectra.
      • m_deleted

        public int m_deleted
        2 BYTES: number of (deleted) spectra.
      • m_num_points

        public int m_num_points
        2 BYTES:number of spectral data points.
      • m_num_consts

        public int m_num_consts
        2 BYTES: number of constituents.
      • m_creation_date

        public Date m_creation_date
        2 BYTES: unsigned int. Creation date.
      • m_time

        public Date m_time
        4 BYTES: long int. Time.
      • m_most_recent

        public int m_most_recent
        2 BYTES: CHK file? Use 00.
      • m_file_id

        public String m_file_id
        char[71] file id.
      • m_master

        public String m_master
        char[9] master serial no.
      • m_packing

        public String m_packing
        char[30] packing info.
    • Constructor Detail

      • Generalheader

        public Generalheader()
    • Method Detail

      • getBytes

        public byte[] getBytes()
        Get byte array of General Header.
        Returns:
        byte array.