Merge branch 'master' of http://8.140.50.127:3000/JSY/jsy-app
This commit is contained in:
commit
b59f72b9f3
@ -255,7 +255,7 @@
|
||||
this.mqttSubscribes(this.topics);
|
||||
getApp().addMsgEvent("mqtt", "mqtt_head", function(e) {
|
||||
if (e.type == "state") {
|
||||
that.mqttConnected = e.connected;
|
||||
this.mqttConnected = e.connected;
|
||||
} else if (e.type == "msg") {
|
||||
this.itemProperty = e.data;
|
||||
}
|
||||
|
@ -226,7 +226,7 @@
|
||||
this.mqttSubscribes(this.topics);
|
||||
getApp().addMsgEvent("mqtt", "mqtt_head", function(e) {
|
||||
if (e.type == "state") {
|
||||
that.mqttConnected = e.connected;
|
||||
this.mqttConnected = e.connected;
|
||||
} else if (e.type == "msg") {
|
||||
this.itemProperty = e.data;
|
||||
}
|
||||
|
@ -215,7 +215,7 @@
|
||||
this.mqttSubscribes(this.topics);
|
||||
getApp().addMsgEvent("mqtt", "mqtt_head", function(e) {
|
||||
if (e.type == "state") {
|
||||
that.mqttConnected = e.connected;
|
||||
this.mqttConnected = e.connected;
|
||||
} else if (e.type == "msg") {
|
||||
this.itemProperty = e.data;
|
||||
}
|
||||
|
@ -463,7 +463,7 @@
|
||||
this.mqttSubscribes(this.topics);
|
||||
getApp().addMsgEvent("mqtt", "mqtt_fertilizer", function(e) {
|
||||
if (e.type == "state") {
|
||||
that.mqttConnected = e.connected;
|
||||
this.mqttConnected = e.connected;
|
||||
} else if (e.type == "msg") {
|
||||
this.itemProperty = e.data;
|
||||
this.devicePropertyStatus();
|
||||
|
@ -407,7 +407,7 @@
|
||||
this.mqttSubscribes(this.topics);
|
||||
getApp().addMsgEvent("mqtt", "mqtt_fertilizerKL", function(e) {
|
||||
if (e.type == "state") {
|
||||
that.mqttConnected = e.connected;
|
||||
this.mqttConnected = e.connected;
|
||||
} else if (e.type == "msg") {
|
||||
this.itemProperty = e.data;
|
||||
this.devicePropertyStatus();
|
||||
|
@ -353,7 +353,7 @@
|
||||
this.mqttSubscribes(this.topics);
|
||||
getApp().addMsgEvent("mqtt", "mqtt_head", function(e) {
|
||||
if (e.type == "state") {
|
||||
that.mqttConnected = e.connected;
|
||||
this.mqttConnected = e.connected;
|
||||
} else if (e.type == "msg") {
|
||||
this.itemProperty = e.data;
|
||||
this.devicePropertyStatus();
|
||||
|
Loading…
Reference in New Issue
Block a user