【IBP灯匹配组合逻辑】
This commit is contained in:
parent
0c581d815e
commit
1453b4877c
|
@ -1252,9 +1252,9 @@ func handlerIBPDeviceToStation(station *proto.Station, repo *proto.Repository, i
|
|||
DeviceType: proto.DeviceType_DeviceType_Light,
|
||||
}
|
||||
switch data.Code {
|
||||
case "X紧急关闭", "S紧急关闭":
|
||||
case "XEMPD", "SEMPD":
|
||||
empGroup.Components = append(empGroup.Components, c)
|
||||
case "启用状态_SPKS1", "启用状态_SPKS3", "启用状态_SPKS2", "启用状态_SPKS4":
|
||||
case "SPKSX1D", "SPKSX3D", "SPKSS2D", "SPKSS4D":
|
||||
spksGroup.Components = append(spksGroup.Components, c)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue