public EnOceanDeviceBase(IHSApplication Hs, EnOceanController Ctrl, String deviceId, JObject config) { HS = Hs; DeviceId = deviceId; deviceConfig = config; Controller = Ctrl; deviceType = (EDeviceTypes)(int)config["device_type"]; GetHSDevice(); // Fetch or allocate new hs device }
public EnOceanDeviceBase(IHSApplication Hs, EnOceanController Ctrl, String deviceId, JObject config) { HS = Hs; DeviceId = deviceId; deviceConfig = config; Controller = Ctrl; deviceType = (EDeviceTypes)(int)config["device_type"]; GetHSDevice(); // Fetch or allocate new hs device }