public MqttItem(IItemValue itemValue, RefreshPriority priority, ComfoBoxMqttClient mqttClient, string topic, Func<ComfoBoxClient> comfoBoxClientFunc) { _comfoBoxClientFunc = comfoBoxClientFunc; ItemValue = itemValue; Priority = priority; MqttClient = mqttClient; Topic = topic; ItemValue.PropertyChanged += ItemValue_PropertyChanged; SubscribeValues(); }
public EnumMqttItem(IItemValue itemValue, RefreshPriority priority, ComfoBoxMqttClient mqttClient, string topic, Func<ComfoBoxClient> comfoBoxClientFunc) : base(itemValue, priority, mqttClient, topic, comfoBoxClientFunc) { }