Folder reorganize 1
This commit is contained in:
63
test/kepware/JS/globalVariables.js
Normal file
63
test/kepware/JS/globalVariables.js
Normal file
@@ -0,0 +1,63 @@
|
||||
//For storing user inputs
|
||||
var inputServer; //Server IP
|
||||
var inputChannel; //Channel to create
|
||||
var inputChannelOld; //Channel to modify
|
||||
var inputChannelType; //Channel Type or driver type
|
||||
var inputDevice; //Device name
|
||||
var inputDeviceOld; //Device to modify
|
||||
var inputDriver; //Device Driver
|
||||
var inputDevID; //Device ID (IP address)
|
||||
var inputDevIDOld; //Device ID to modfiy
|
||||
var inputTag; //Tag name
|
||||
var inputTagAddr; //Tag address
|
||||
var inputTagType; //Tag data type
|
||||
var inputTagOld; //Tag name to modfiy
|
||||
var inputTagAddrOld; //Tag address to modfiy
|
||||
var inputTagTypeOld; //Tag data type to modfiy
|
||||
var userName;
|
||||
var userPass;
|
||||
var encodeAuth;
|
||||
|
||||
//Server Information
|
||||
var connectState = false;
|
||||
var debugState = false;
|
||||
var channelCount = 0;
|
||||
var deviceCount = 0;
|
||||
var tagCount = 0;
|
||||
var sampleRate = 1000;
|
||||
var supportedDrivers;
|
||||
var disconnected = false;
|
||||
|
||||
//Objects for storing Project Information
|
||||
var projObj;
|
||||
var channelList = [];
|
||||
var tagList = [];
|
||||
var currentSelected = [];
|
||||
var eventArray = [];
|
||||
var eventArrayChanged = false;
|
||||
var lastKnownTime;
|
||||
|
||||
//channelList contains a list of json Obj
|
||||
//{ text: (Channel name)
|
||||
//children: (Device array List)
|
||||
//deviceModel: (Enumerations of the device driver)
|
||||
//driver: (The driver the device is using)
|
||||
//}
|
||||
|
||||
var deviceList = {};
|
||||
var treeChanged = false;
|
||||
var func1 = 0;
|
||||
var func2 = 0;
|
||||
var func3 = 0;
|
||||
|
||||
//DeviceList variables
|
||||
var dselected;
|
||||
var cselected;
|
||||
var tselected;
|
||||
var taddrselected;
|
||||
|
||||
//jsConfig Objects
|
||||
var container = document.getElementById('jsoneditor');
|
||||
var options = {};
|
||||
var editor = new JSONEditor(container, options);
|
||||
|
||||
Reference in New Issue
Block a user