mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
push gatway devices
This commit is contained in:
21
lib/utils/enum/device_types.dart
Normal file
21
lib/utils/enum/device_types.dart
Normal file
@ -0,0 +1,21 @@
|
||||
enum DeviceType {
|
||||
AC,
|
||||
LightBulb,
|
||||
DoorLock,
|
||||
Curtain,
|
||||
Blind,
|
||||
ThreeGang,
|
||||
Gateway,
|
||||
CeilingSensor,
|
||||
WallSensor,
|
||||
Other,
|
||||
}
|
||||
|
||||
Map<String, DeviceType> devicesTypesMap = {
|
||||
"AC": DeviceType.AC,
|
||||
"GW": DeviceType.Gateway,
|
||||
"CPS": DeviceType.CeilingSensor,
|
||||
"DL": DeviceType.DoorLock,
|
||||
"WPS": DeviceType.WallSensor,
|
||||
"3G": DeviceType.ThreeGang,
|
||||
};
|
Reference in New Issue
Block a user