Пример #1
0
 private void SetAircoType(RoomAircoType type)
 {
     try
     {
         client.core.SetRoomAircoType(index, type);
     }
     catch
     {
     }
 }
Пример #2
0
 internal Room(Client client, int index, string name, float tempCorrection, float measuredTemp, float dayTemp, float nightTemp, RoomTempType tempType, bool tempEnabled, bool tempActive, float aircoTemp, RoomAircoType aircoType, bool aircoEnabled, bool aircoActive, bool outside)
     : base(client, index, name)
 {
     this.tempCorrection = tempCorrection;
     this.measuredTemp   = measuredTemp;
     this.dayTemp        = dayTemp;
     this.nightTemp      = nightTemp;
     this.tempType       = tempType;
     this.tempEnabled    = tempEnabled;
     this.tempActive     = tempActive;
     this.aircoTemp      = aircoTemp;
     this.aircoType      = aircoType;
     this.aircoEnabled   = aircoEnabled;
     this.aircoActive    = aircoActive;
     this.outside        = outside;
 }