mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 23:44:55 +00:00
Implemented Acs functions and fixed design issue
This commit is contained in:
@ -52,7 +52,7 @@ class AcStatusModel {
|
||||
childLock: _childLock);
|
||||
}
|
||||
|
||||
TempModes getACMode(String value) {
|
||||
static TempModes getACMode(String value) {
|
||||
if (value == 'cold') {
|
||||
return TempModes.cold;
|
||||
} else if (value == 'hot') {
|
||||
@ -64,7 +64,7 @@ class AcStatusModel {
|
||||
}
|
||||
}
|
||||
|
||||
FanSpeeds getFanSpeed(String value) {
|
||||
static FanSpeeds getFanSpeed(String value) {
|
||||
if (value == 'low') {
|
||||
return FanSpeeds.low;
|
||||
} else if (value == 'middle') {
|
||||
|
||||
Reference in New Issue
Block a user