Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function bindHistoryServerCapabilities() {
bindStandardScalar(VariableIds.HistoryServerCapabilities_MaxReturnDataValues,
DataType.UInt32, function () {
return engine.historyServerCapabilities.maxReturnDataValues;
});
bindStandardScalar(VariableIds.HistoryServerCapabilities_MaxReturnEventValues,
DataType.UInt32, function () {
return engine.historyServerCapabilities.maxReturnEventValues;
});
bindStandardScalar(VariableIds.HistoryServerCapabilities_AccessHistoryDataCapability,
DataType.Boolean, function () {
return engine.historyServerCapabilities.accessHistoryDataCapability;
});
bindStandardScalar(VariableIds.HistoryServerCapabilities_AccessHistoryEventsCapability,
DataType.Boolean, function () {
return engine.historyServerCapabilities.accessHistoryEventsCapability;
function bindHistoryServerCapabilities() {
bindStandardScalar(VariableIds.HistoryServerCapabilities_MaxReturnDataValues,
DataType.UInt32, () => {
return engine.historyServerCapabilities.maxReturnDataValues;
});
bindStandardScalar(VariableIds.HistoryServerCapabilities_MaxReturnEventValues,
DataType.UInt32, () => {
return engine.historyServerCapabilities.maxReturnEventValues;
});
bindStandardScalar(VariableIds.HistoryServerCapabilities_AccessHistoryDataCapability,
DataType.Boolean, () => {
return engine.historyServerCapabilities.accessHistoryDataCapability;
});
bindStandardScalar(VariableIds.HistoryServerCapabilities_AccessHistoryEventsCapability,
DataType.Boolean, () => {
return engine.historyServerCapabilities.accessHistoryEventsCapability;