53 lines
1.6 KiB
JavaScript
53 lines
1.6 KiB
JavaScript
|
"use strict";
|
||
|
|
||
|
//gtl.results = { "Diagnostic results": gtl.options };
|
||
|
|
||
|
gtl.results = {
|
||
|
"Results 0": gtl.options['Sensor1'][0].resultJSON,
|
||
|
"Results 1": gtl.options['Sensor1'][1].resultJSON,
|
||
|
"Results 2": gtl.options['Sensor1'][2].resultJSON
|
||
|
}; //+
|
||
|
|
||
|
|
||
|
//gtl.results = { "Diagnostic results": gtl.options['NKD'][0].resultJSON.RMS }; //+
|
||
|
//gtl.results = { "Diagnostic results": gtld.node.options }; //+
|
||
|
//gtl.results = { "Diagnostic results": gtld.node.getDiagnosticResult() }; //+
|
||
|
//gtl.results = { "Diagnostic results": gtld.node.name }; //+
|
||
|
//gtl.results = { "Diagnostic results": gtld.node.uuid.toString() }; //+
|
||
|
//gtl.results = { "Diagnostic results": gtld.node.parent }; //+
|
||
|
|
||
|
/*gtl.results = {
|
||
|
"Diagnostic results": gtld.storage.selectLastPointMasterValue(
|
||
|
{
|
||
|
count: 1,
|
||
|
pointUUID: gtld.node.uuid.toString(),
|
||
|
objectUUID: gtld.node.parent.uuid.toString(),
|
||
|
tag: "0",
|
||
|
masterValueAddress: gtld.node.options["masterValueAddress"]
|
||
|
})
|
||
|
};*/
|
||
|
|
||
|
/*gtl.results = {
|
||
|
"Diagnostic results": gtld.storage.selectLastObjectResults(
|
||
|
{
|
||
|
count: 3,
|
||
|
//pointUUID: gtld.node.uuid.toString(),
|
||
|
objectUUID: gtld.node.uuid.toString(),
|
||
|
tag: "0"
|
||
|
})
|
||
|
};*/
|
||
|
|
||
|
/*gtl.results = {
|
||
|
"Diagnostic results": gtld.storage.selectLastPointMasterValue(
|
||
|
{
|
||
|
count: 3,
|
||
|
pointUUID: gtld.node.uuid.toString(),
|
||
|
objectUUID: gtld.node.parent.uuid.toString(),
|
||
|
tag: "0",
|
||
|
masterValueAddress: gtld.node.options["RMS"]
|
||
|
})
|
||
|
};*/
|
||
|
|
||
|
|
||
|
|