Merge branch 'developer' of s412146/angular-develop-client into master
This commit is contained in:
commit
edab64e28c
BIN
dist/.client.zip.icloud
vendored
BIN
dist/.client.zip.icloud
vendored
Binary file not shown.
BIN
dist/client.zip
vendored
Normal file
BIN
dist/client.zip
vendored
Normal file
Binary file not shown.
BIN
dist/client/.vendor.js.map.icloud
vendored
BIN
dist/client/.vendor.js.map.icloud
vendored
Binary file not shown.
1
dist/client/vendor.js.map
vendored
Normal file
1
dist/client/vendor.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -32,7 +32,7 @@ export class StatusListComponent implements OnInit {
|
|||||||
this.devices = data;
|
this.devices = data;
|
||||||
this.onChangeDevice(this.activeID);
|
this.onChangeDevice(this.activeID);
|
||||||
});
|
});
|
||||||
}, 5000);
|
}, 1000);
|
||||||
|
|
||||||
this.showChart();
|
this.showChart();
|
||||||
}
|
}
|
||||||
@ -59,12 +59,12 @@ export class StatusListComponent implements OnInit {
|
|||||||
this.time = time / 1000;
|
this.time = time / 1000;
|
||||||
if (
|
if (
|
||||||
this.activeDevice.lastStatus == "0" &&
|
this.activeDevice.lastStatus == "0" &&
|
||||||
this.time < 10 &&
|
this.time < 10000 &&
|
||||||
newStatus[1].value == "1"
|
newStatus[1].value == "1"
|
||||||
) {
|
) {
|
||||||
this.activeDevice.lastStatus = "1";
|
this.activeDevice.lastStatus = "1";
|
||||||
}
|
}
|
||||||
console.log(this.time);
|
//console.log(this.time);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user