added changes
This commit is contained in:
parent
a42730128b
commit
80d720cef4
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.onChangeDevice(this.activeID);
|
||||
});
|
||||
}, 5000);
|
||||
}, 1000);
|
||||
|
||||
this.showChart();
|
||||
}
|
||||
@ -59,12 +59,12 @@ export class StatusListComponent implements OnInit {
|
||||
this.time = time / 1000;
|
||||
if (
|
||||
this.activeDevice.lastStatus == "0" &&
|
||||
this.time < 10 &&
|
||||
this.time < 10000 &&
|
||||
newStatus[1].value == "1"
|
||||
) {
|
||||
this.activeDevice.lastStatus = "1";
|
||||
}
|
||||
console.log(this.time);
|
||||
//console.log(this.time);
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user