This commit is contained in:
xzb 2023-11-20 16:55:21 +08:00
commit 774897e9c1
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}