Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 public EnumMqttItem(IItemValue itemValue, RefreshPriority priority, ComfoBoxMqttClient mqttClient, string topic,
     Func<ComfoBoxClient> comfoBoxClientFunc)
     : base(itemValue, priority, mqttClient, topic, comfoBoxClientFunc)
 {
 }