Beispiel #1
0
 public HomeControlDevice(Enums.ControlledAreas area, /*int localDeviceId,*/ string deviceName, string mcuIpAddress, Enums.EnumDeviceType deviceType)
 {
     this.area          = area;
     this.localDeviceId = HomeControlDevice.getNextDeviceId();
     this.deviceName    = deviceName;
     this.deviceType    = deviceType;
     this.mcu           = new MCUDevice(mcuIpAddress, 80, deviceType);
 }
Beispiel #2
0
 public HomeControlDevice()
 {
     this.localDeviceId = HomeControlDevice.getNextDeviceId();
     this.deviceType    = Enums.EnumDeviceType.None;
     this.mcu           = new MCUDevice();
 }