Add Null values and new measurements
This commit is contained in:
parent
c6e735950f
commit
c83feeb845
8 changed files with 331 additions and 11 deletions
|
@ -46,10 +46,10 @@ func handleReq(c echo.Context) error {
|
|||
}
|
||||
|
||||
for _, m := range v.Modules {
|
||||
if m.Port == 4 {
|
||||
continue
|
||||
}
|
||||
p := strconv.Itoa(m.Port)
|
||||
if p == `4` {
|
||||
p = `N`
|
||||
}
|
||||
|
||||
sets[key][`UGem`+p] = m.Voltage
|
||||
sets[key][`IGem`+p] = m.Ampere
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue