mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
added curtain icons.
This commit is contained in:
@ -80,6 +80,10 @@ class DeviceModel {
|
||||
tempIcon = Assets.openedDoor;
|
||||
} else if (type == DeviceType.WaterLeak) {
|
||||
tempIcon = Assets.waterLeakNormal;
|
||||
} else if (type == DeviceType.Curtain2) {
|
||||
tempIcon = Assets.curtainIcon;
|
||||
} else if (type == DeviceType.Curtain) {
|
||||
tempIcon = Assets.curtainIcon;
|
||||
} else {
|
||||
tempIcon = Assets.blackLogo;
|
||||
}
|
||||
|
@ -3,6 +3,7 @@ enum DeviceType {
|
||||
LightBulb,
|
||||
DoorLock,
|
||||
Curtain,
|
||||
Curtain2,
|
||||
Blind,
|
||||
OneGang,
|
||||
TwoGang,
|
||||
@ -44,6 +45,7 @@ enum DeviceType {
|
||||
|
||||
Map<String, DeviceType> devicesTypesMap = {
|
||||
"AC": DeviceType.AC,
|
||||
"CUR_2": DeviceType.Curtain2,
|
||||
"GW": DeviceType.Gateway,
|
||||
"CPS": DeviceType.CeilingSensor,
|
||||
"DL": DeviceType.DoorLock,
|
||||
|
Reference in New Issue
Block a user