-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.go
49 lines (47 loc) · 1.03 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package main
type Status struct {
// real
OperatingMode string
UPSTemperature float64
InputVoltage float64
InputFrequency float64
OutputVoltage float64
OutputFrequency float64
OutputCurrent float64
OutputLoadPercent float64
OutputActivePower float64
OutputApparentPower float64
OutputCurrentS float64
OutputCurrentT float64
BypassV31 float64
BypassVoltageT float64
BypassVoltageS float64
BypassV23 float64
BypassFrequency float64
LoadLevelS float64
LoadLevelT float64
BatteryVoltage float64
BatteryCapacityPercent float64
BatteryRemainingBackupTime float64
BatteryChargingCurrent float64
BatteryDischargingCurrent float64
AutoReboot bool
EcoMode bool
BypassDisabled bool
ConverterMode bool
BypassWhenOff bool
// base
UPSType string
InputPhase float64
OutputPhase float64
UPSSerial string
UPSFirmware string
SNMPFirmware string
EquipmentAttached string
BatteryGroupNumber float64
RatedVA float64
RatedOutputFrequency float64
RatedOutputVoltage float64
RatedOutputCurrent float64
RatedBatteryVoltage float64
}