| 798 | } |
| 799 | |
| 800 | type DCPowerState struct { |
| 801 | IsOn bool `json:"isOn"` |
| 802 | Voltage float64 `json:"voltage"` |
| 803 | Current float64 `json:"current"` |
| 804 | Power float64 `json:"power"` |
| 805 | RestoreState int `json:"restoreState"` |
| 806 | } |
| 807 | |
| 808 | func rpcGetDCPowerState() (DCPowerState, error) { |
| 809 | return getDCState(), nil |
nothing calls this directly
no outgoing calls
no test coverage detected