mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
fix oct/8 issues
This commit is contained in:
@ -11,8 +11,30 @@ enum DeviceType {
|
||||
CeilingSensor,
|
||||
WallSensor,
|
||||
WH,
|
||||
DoorSensor,
|
||||
GarageDoor,
|
||||
WaterLeak,
|
||||
Other,
|
||||
}
|
||||
/*
|
||||
|
||||
3G:
|
||||
1G:
|
||||
2G:
|
||||
GW:
|
||||
DL:
|
||||
WPS:
|
||||
CPS:
|
||||
AC:
|
||||
CUR:
|
||||
WH:
|
||||
DS:
|
||||
1GT:
|
||||
2GT:
|
||||
3GT:
|
||||
GD:
|
||||
WL:
|
||||
*/
|
||||
|
||||
Map<String, DeviceType> devicesTypesMap = {
|
||||
"AC": DeviceType.AC,
|
||||
@ -25,4 +47,10 @@ Map<String, DeviceType> devicesTypesMap = {
|
||||
"1G": DeviceType.OneGang,
|
||||
"CUR": DeviceType.Curtain,
|
||||
"WH": DeviceType.WH,
|
||||
'DS': DeviceType.DoorSensor,
|
||||
"1GT": DeviceType.OneGang,
|
||||
"2GT": DeviceType.TwoGang,
|
||||
"3GT": DeviceType.ThreeGang,
|
||||
'GD': DeviceType.GarageDoor,
|
||||
'WL': DeviceType.WaterLeak
|
||||
};
|
||||
|
Reference in New Issue
Block a user