即時功率、即時契約容量占比 顯示
This commit is contained in:
parent
ea133b022f
commit
7c5ced0604
@ -945,10 +945,11 @@ function BajaSubscribeElectricmeterByBql(
|
||||
if (prop.getName() === "out") {
|
||||
var out_value = this.getOutDisplay();
|
||||
var target_device_number = this.$parent
|
||||
.getDisplayName()
|
||||
.getName()
|
||||
.split("_")
|
||||
.slice(0, 5)
|
||||
.join("_");
|
||||
|
||||
var point_name = this.getDisplayName();
|
||||
|
||||
//依據Facets判斷回傳的內容值為何
|
||||
@ -1006,7 +1007,11 @@ function BajaSubscribeElectricmeterByBql(
|
||||
);
|
||||
baja.Ord.make(
|
||||
`local:|foxs:${port}|station:|slot:/${ordPathForElectricmeter.devicePath}|bql:select name, out, out.value, slotPath, facets from control:ControlPoint`
|
||||
).get(function (table) {
|
||||
)
|
||||
.get()
|
||||
.then(function (table) {
|
||||
console.log('table',table);
|
||||
|
||||
var tableStart, tableFinish;
|
||||
var subStart, subFinish;
|
||||
var component_index = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user