text: // class TemperatureExtendedRange
  
  // Automatically generated by mkmsgs - DO NOT EDIT
  // Description: Temperature Extended Range
  #include "../n2k.h"
  namespace n2k {
    class TemperatureExtendedRange : public Message {
    public:
      enum class Source:unsigned char {
        Sea_Temperature = 0,
        Outside_Temperature = 1,
        Inside_Temperature = 2,
        Engine_Room_Temperature = 3,
        Main_Cabin_Temperature = 4,
        Live_Well_Temperature = 5,
        Bait_Well_Temperature = 6,
        Refrigeration_Temperature = 7,
        Heating_System_Temperature = 8,
        Dew_Point_Temperature = 9,
        Apparent_Wind_Chill_Temperature = 10,
        Theoretical_Wind_Chill_Temperature = 11,
        Heat_Index_Temperature = 12,
        Freezer_Temperature = 13,
        Exhaust_Gas_Temperature = 14
      };
  
      TemperatureExtendedRange() {};
      TemperatureExtendedRange(const Message &m) : Message(m) {};
      void setSid(unsigned char value) { Set(value,0,8); }
      unsigned char getSid() const { return Get(0,8); };
      void setInstance(unsigned char value) { Set(value,8,8); }
      unsigned char getInstance() const { return Get(8,8); };
      void setSource(Source value) { Set((unsigned char)value,16,8); }
      Source getSource() const { return (Source)Get(16,8); };
      void setTemperature(double value) { Set(value/0.001,24,24); }
      double getTemperature() const { return 0.001 * Get(24,24); };
      void setSetTemperature(double value) { Set(value/0.1,48,16); }
      double getSetTemperature() const { return 0.1 * Get(48,16); };
      static const pgn_t PGN = 130316;
      static const PGNType Type = PGNType::Single;
      pgn_t getPGN() const { return PGN; }
    };
  }
  