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); }
public HomeControlDevice() { this.localDeviceId = HomeControlDevice.getNextDeviceId(); this.deviceType = Enums.EnumDeviceType.None; this.mcu = new MCUDevice(); }