Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModelID = 160 ModelLabel = "Multiple MPPT Inverter Extension Model" ModelDescription = "" )
View Source
const ( DCA = "DCA" DCA_SF = "DCA_SF" DCEvt = "DCEvt" DCSt = "DCSt" DCV = "DCV" DCV_SF = "DCV_SF" DCW = "DCW" DCWH = "DCWH" DCWH_SF = "DCWH_SF" DCW_SF = "DCW_SF" Evt = "Evt" ID = "ID" IDStr = "IDStr" N = "N" Tmp = "Tmp" Tms = "Tms" TmsPer = "TmsPer" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block160 ¶
type Block160 struct { DCA_SF sunspec.ScaleFactor `sunspec:"offset=0"` DCV_SF sunspec.ScaleFactor `sunspec:"offset=1"` DCW_SF sunspec.ScaleFactor `sunspec:"offset=2"` DCWH_SF sunspec.ScaleFactor `sunspec:"offset=3"` Evt sunspec.Bitfield32 `sunspec:"offset=4"` N sunspec.Count `sunspec:"offset=6"` TmsPer uint16 `sunspec:"offset=7"` Repeats []Block160Repeat }
type Block160Repeat ¶
type Block160Repeat struct { ID uint16 `sunspec:"offset=0"` IDStr string `sunspec:"offset=1,len=8"` DCA uint16 `sunspec:"offset=9,sf=DCA_SF"` DCV uint16 `sunspec:"offset=10,sf=DCV_SF"` DCW uint16 `sunspec:"offset=11,sf=DCW_SF"` DCWH sunspec.Acc32 `sunspec:"offset=12,sf=DCWH_SF"` Tms uint32 `sunspec:"offset=14"` Tmp int16 `sunspec:"offset=16"` DCSt sunspec.Enum16 `sunspec:"offset=17"` DCEvt sunspec.Bitfield32 `sunspec:"offset=18"` }
Click to show internal directories.
Click to hide internal directories.