@joergmittaglawo/dmvconfig
Version:
DMV Configuration scripts for Lawo V__matrix Distributed Multiviewers.
420 lines (419 loc) • 25.8 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Enums = exports.ClusterGlobalMonitoringObjectsParameters = exports.ClusterMonitoringObjectGlobalRuntimeAsTableRow = exports.ClusterMonitoringObjectGlobalRuntime = exports.ClusterMetadataMonitoringObjectRuntimeAsArrayRow = exports.ClusterMetadataMonitoringObjectRuntime = exports.ClusterAudioMonitoringObjectRuntimeAsArrayRow = exports.ClusterAudioMonitoringObjectRuntime = exports.ClusterVideoMonitoringObjectRuntimeAsArrayRow = exports.ClusterVideoMonitoringObjectRuntime = exports.ClusterMonitoringObjectAlarmsSeverityLevel = exports.ClusterMonitoringObjectAlarmsEnable = exports.ClusterMonitoringObjectGlobalConfigurationAsNamedTableRow = exports.ClusterMonitoringObjectGlobalConfiguration = exports.ClusterMonitoringObjectUserAlarmConfigurationAsArrayRow = exports.ClusterMonitoringObjectUserAlarmConfiguration = exports.ClusterMetadataMonitoringObjectConfigurationAsArrayRow = exports.ClusterMetadataMonitoringObjectConfiguration = exports.ClusterMetadataMonitoringObjectAlarmsConfiguration = exports.ClusterAudioMonitoringObjectConfigurationAsArrayRow = exports.ClusterAudioMonitoringObjectConfiguration = exports.ClusterAudioMonitoringObjectAlarmsConfiguration = exports.ClusterVideoMonitoringObjectConfigurationAsArrayRow = exports.ClusterVideoMonitoringObjectConfiguration = exports.ClusterVideoMonitoringObjectAlarmsConfiguration = exports.lower = exports.lift = void 0;
const VScript = require("vscript");
const _ClusterSources = require("./ClusterSources");
exports.lift = {
ClusterGlobalMonitoringObjectsParameters: (kwl, socket) => kwl ? (new ClusterGlobalMonitoringObjectsParameters(new VScript.Subtree(socket, kwl))) : null,
ClusterMonitoringObjectGlobalRuntime: (kwl, socket) => kwl ? (new ClusterMonitoringObjectGlobalRuntime(new VScript.Subtree(socket, kwl))) : null,
ClusterMetadataMonitoringObjectRuntime: (kwl, socket) => kwl ? (new ClusterMetadataMonitoringObjectRuntime(new VScript.Subtree(socket, kwl))) : null,
ClusterMetadataMonitoringObjectRuntimeAlarms: (x, _) => { return x ? { not_assigned_source: x[0], lost_source: x[1], missing_closed_caption: x[2], missing_time_code: x[3] } : null; },
ClusterAudioMonitoringObjectRuntime: (kwl, socket) => kwl ? (new ClusterAudioMonitoringObjectRuntime(new VScript.Subtree(socket, kwl))) : null,
ClusterAudioMonitoringObjectRuntimeAlarms: (x, _) => { return x ? { not_assigned_source: x[0], lost_source: x[1], silent_source: x[2], over_range_source: x[3], under_range_source: x[4], unexpected_source_standard: x[5] } : null; },
ClusterVideoMonitoringObjectRuntime: (kwl, socket) => kwl ? (new ClusterVideoMonitoringObjectRuntime(new VScript.Subtree(socket, kwl))) : null,
ClusterVideoMonitoringObjectRuntimeAlarms: (x, _) => { return x ? { not_assigned_source: x[0], lost_source: x[1], frozen_source: x[2], black_source: x[3], unexpected_source_standard: x[4] } : null; },
ClusterMonitoringObjectAlarmsSeverityLevel: (kwl, socket) => kwl ? (new ClusterMonitoringObjectAlarmsSeverityLevel(new VScript.Subtree(socket, kwl))) : null,
ClusterMonitoringObjectAlarmsEnable: (kwl, socket) => kwl ? (new ClusterMonitoringObjectAlarmsEnable(new VScript.Subtree(socket, kwl))) : null,
ClusterMonitoringObjectGlobalConfiguration: (kwl, socket) => kwl ? (new ClusterMonitoringObjectGlobalConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterMonitoringObjectUserAlarmConfiguration: (kwl, socket) => kwl ? (new ClusterMonitoringObjectUserAlarmConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterMetadataMonitoringObjectConfiguration: (kwl, socket) => kwl ? (new ClusterMetadataMonitoringObjectConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterMetadataMonitoringObjectAlarmsSeverityLevel: (x, _) => { return x ? { not_assigned_source: x[0], lost_source: x[1], missing_closed_caption: x[2], missing_time_code: x[3] } : null; },
ClusterMetadataMonitoringObjectAlarmsEnable: (x, _) => { return x ? { not_assigned_source: x[0], lost_source: x[1], missing_closed_caption: x[2], missing_time_code: x[3] } : null; },
ClusterMetadataMonitoringObjectAlarmsConfiguration: (kwl, socket) => kwl ? (new ClusterMetadataMonitoringObjectAlarmsConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterAudioMonitoringObjectConfiguration: (kwl, socket) => kwl ? (new ClusterAudioMonitoringObjectConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterAudioMonitoringObjectAlarmsSeverityLevel: (x, _) => { return x ? { not_assigned_source: x[0], lost_source: x[1], silent_source: x[2], over_range_source: x[3], under_range_source: x[4], unexpected_source_standard: x[5] } : null; },
ClusterAudioMonitoringObjectAlarmsEnable: (x, _) => { return x ? { not_assigned_source: x[0], lost_source: x[1], silent_source: x[2], over_range_source: x[3], under_range_source: x[4], unexpected_source_standard: x[5], tally_source: x[6] } : null; },
ClusterAudioMonitoringObjectAlarmsConfiguration: (kwl, socket) => kwl ? (new ClusterAudioMonitoringObjectAlarmsConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterVideoMonitoringObjectConfiguration: (kwl, socket) => kwl ? (new ClusterVideoMonitoringObjectConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterVideoMonitoringObjectAlarmsSeverityLevel: (x, _) => { return x ? { not_assigned_source: x[0], lost_source: x[1], frozen_source: x[2], black_source: x[3], unexpected_source_standard: x[4] } : null; },
ClusterVideoMonitoringObjectAlarmsEnable: (x, _) => { return x ? { not_assigned_source: x[0], lost_source: x[1], frozen_source: x[2], black_source: x[3], unexpected_source_standard: x[4], tally_source: x[5] } : null; },
ClusterVideoMonitoringObjectAlarmsConfiguration: (kwl, socket) => kwl ? (new ClusterVideoMonitoringObjectAlarmsConfiguration(new VScript.Subtree(socket, kwl))) : null,
AlarmConfigurationWithTimingAndAudioLevel: (x, _) => { return x ? { enable: x[0], activate_duration: x[1], deactivate_duration: x[2], level: x[3] } : null; },
AlarmConfigurationWithVideoStandard: (x, _) => { return x ? { enable: x[0], video_standard: x[1] } : null; },
AlarmConfiguratinWithTiming: (x, _) => { return x ? { enable: x[0], activate_duration: x[1], deactivate_duration: x[2] } : null; },
MonitoringObjectChannelID: (x, _) => { return x ? { id: x[0], channel_id: x[1] } : null; },
AlarmConfiguratin: (x, _) => { return x ? { enable: x[0] } : null; }
};
exports.lower = {
ClusterGlobalMonitoringObjectsParameters: (ref) => ref ? ref.raw.kwl : null,
ClusterMonitoringObjectGlobalRuntime: (ref) => ref ? ref.raw.kwl : null,
ClusterMetadataMonitoringObjectRuntime: (ref) => ref ? ref.raw.kwl : null,
ClusterMetadataMonitoringObjectRuntimeAlarms: (x) => x ?
[x.not_assigned_source, x.lost_source, x.missing_closed_caption, x.missing_time_code] : null,
ClusterAudioMonitoringObjectRuntime: (ref) => ref ? ref.raw.kwl : null,
ClusterAudioMonitoringObjectRuntimeAlarms: (x) => x ?
[x.not_assigned_source, x.lost_source, x.silent_source, x.over_range_source, x.under_range_source, x.unexpected_source_standard] : null,
ClusterVideoMonitoringObjectRuntime: (ref) => ref ? ref.raw.kwl : null,
ClusterVideoMonitoringObjectRuntimeAlarms: (x) => x ?
[x.not_assigned_source, x.lost_source, x.frozen_source, x.black_source, x.unexpected_source_standard] : null,
ClusterMonitoringObjectAlarmsSeverityLevel: (ref) => ref ? ref.raw.kwl : null,
ClusterMonitoringObjectAlarmsEnable: (ref) => ref ? ref.raw.kwl : null,
ClusterMonitoringObjectGlobalConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterMonitoringObjectUserAlarmConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterMetadataMonitoringObjectConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterMetadataMonitoringObjectAlarmsSeverityLevel: (x) => x ?
[x.not_assigned_source, x.lost_source, x.missing_closed_caption, x.missing_time_code] : null,
ClusterMetadataMonitoringObjectAlarmsEnable: (x) => x ?
[x.not_assigned_source, x.lost_source, x.missing_closed_caption, x.missing_time_code] : null,
ClusterMetadataMonitoringObjectAlarmsConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterAudioMonitoringObjectConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterAudioMonitoringObjectAlarmsSeverityLevel: (x) => x ?
[x.not_assigned_source, x.lost_source, x.silent_source, x.over_range_source, x.under_range_source, x.unexpected_source_standard] : null,
ClusterAudioMonitoringObjectAlarmsEnable: (x) => x ?
[x.not_assigned_source, x.lost_source, x.silent_source, x.over_range_source, x.under_range_source, x.unexpected_source_standard, x.tally_source] : null,
ClusterAudioMonitoringObjectAlarmsConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterVideoMonitoringObjectConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterVideoMonitoringObjectAlarmsSeverityLevel: (x) => x ?
[x.not_assigned_source, x.lost_source, x.frozen_source, x.black_source, x.unexpected_source_standard] : null,
ClusterVideoMonitoringObjectAlarmsEnable: (x) => x ?
[x.not_assigned_source, x.lost_source, x.frozen_source, x.black_source, x.unexpected_source_standard, x.tally_source] : null,
ClusterVideoMonitoringObjectAlarmsConfiguration: (ref) => ref ? ref.raw.kwl : null,
AlarmConfigurationWithTimingAndAudioLevel: (x) => x ?
[x.enable, x.activate_duration, x.deactivate_duration, x.level] : null,
AlarmConfigurationWithVideoStandard: (x) => x ?
[x.enable, x.video_standard] : null,
AlarmConfiguratinWithTiming: (x) => x ?
[x.enable, x.activate_duration, x.deactivate_duration] : null,
MonitoringObjectChannelID: (x) => x ?
[x.id, x.channel_id] : null,
AlarmConfiguratin: (x) => x ? [x.enable] : null
};
class ClusterVideoMonitoringObjectAlarmsConfiguration {
constructor(raw) {
this.raw = raw;
}
get not_assigned_source() {
return new VScript.rwKeyword(this, "not_assigned_source", { lift: exports.lift.AlarmConfiguratin, lower: exports.lower.AlarmConfiguratin });
}
get lost_source() {
return new VScript.rwKeyword(this, "lost_source", { lift: exports.lift.AlarmConfiguratin, lower: exports.lower.AlarmConfiguratin });
}
get frozen_source() {
return new VScript.rwKeyword(this, "frozen_source", { lift: exports.lift.AlarmConfiguratinWithTiming, lower: exports.lower.AlarmConfiguratinWithTiming });
}
get black_source() {
return new VScript.rwKeyword(this, "black_source", { lift: exports.lift.AlarmConfiguratinWithTiming, lower: exports.lower.AlarmConfiguratinWithTiming });
}
get unexpected_source_standard() {
return new VScript.rwKeyword(this, "unexpected_source_standard", { lift: exports.lift.AlarmConfigurationWithVideoStandard, lower: exports.lower.AlarmConfigurationWithVideoStandard });
}
get tally_source() {
return new VScript.rwKeyword(this, "tally_source", { lift: exports.lift.AlarmConfiguratin, lower: exports.lower.AlarmConfiguratin });
}
}
exports.ClusterVideoMonitoringObjectAlarmsConfiguration = ClusterVideoMonitoringObjectAlarmsConfiguration;
class ClusterVideoMonitoringObjectConfiguration {
constructor(raw) {
this.raw = raw;
}
get source_id() {
return new VScript.rwKeyword(this, "source_id");
}
get alarms() {
return new ClusterVideoMonitoringObjectAlarmsConfiguration(this.raw.find("alarms"));
}
}
exports.ClusterVideoMonitoringObjectConfiguration = ClusterVideoMonitoringObjectConfiguration;
class ClusterVideoMonitoringObjectConfigurationAsArrayRow extends ClusterVideoMonitoringObjectConfiguration {
constructor(st, index, parent) {
super(st);
this.index = index;
this.parent = parent;
}
}
exports.ClusterVideoMonitoringObjectConfigurationAsArrayRow = ClusterVideoMonitoringObjectConfigurationAsArrayRow;
class ClusterAudioMonitoringObjectAlarmsConfiguration {
constructor(raw) {
this.raw = raw;
}
get not_assigned_source() {
return new VScript.rwKeyword(this, "not_assigned_source", { lift: exports.lift.AlarmConfiguratin, lower: exports.lower.AlarmConfiguratin });
}
get lost_source() {
return new VScript.rwKeyword(this, "lost_source", { lift: exports.lift.AlarmConfiguratin, lower: exports.lower.AlarmConfiguratin });
}
get silent_source() {
return new VScript.rwKeyword(this, "silent_source", { lift: exports.lift.AlarmConfigurationWithTimingAndAudioLevel, lower: exports.lower.AlarmConfigurationWithTimingAndAudioLevel });
}
get over_range_source() {
return new VScript.rwKeyword(this, "over_range_source", { lift: exports.lift.AlarmConfigurationWithTimingAndAudioLevel, lower: exports.lower.AlarmConfigurationWithTimingAndAudioLevel });
}
get under_range_source() {
return new VScript.rwKeyword(this, "under_range_source", { lift: exports.lift.AlarmConfigurationWithTimingAndAudioLevel, lower: exports.lower.AlarmConfigurationWithTimingAndAudioLevel });
}
get unexpected_source_standard() {
return new VScript.rwKeyword(this, "unexpected_source_standard", { lift: exports.lift.AlarmConfiguratin, lower: exports.lower.AlarmConfiguratin });
}
get tally_source() {
return new VScript.rwKeyword(this, "tally_source", { lift: exports.lift.AlarmConfiguratin, lower: exports.lower.AlarmConfiguratin });
}
}
exports.ClusterAudioMonitoringObjectAlarmsConfiguration = ClusterAudioMonitoringObjectAlarmsConfiguration;
class ClusterAudioMonitoringObjectConfiguration {
constructor(raw) {
this.raw = raw;
}
get source_id() {
return new VScript.rwKeyword(this, "source_id");
}
get channel_id_start() {
return new VScript.rwKeyword(this, "channel_id_start");
}
get channels_num() {
return new VScript.rwKeyword(this, "channels_num");
}
get alarms() {
return new ClusterAudioMonitoringObjectAlarmsConfiguration(this.raw.find("alarms"));
}
}
exports.ClusterAudioMonitoringObjectConfiguration = ClusterAudioMonitoringObjectConfiguration;
class ClusterAudioMonitoringObjectConfigurationAsArrayRow extends ClusterAudioMonitoringObjectConfiguration {
constructor(st, index, parent) {
super(st);
this.index = index;
this.parent = parent;
}
}
exports.ClusterAudioMonitoringObjectConfigurationAsArrayRow = ClusterAudioMonitoringObjectConfigurationAsArrayRow;
class ClusterMetadataMonitoringObjectAlarmsConfiguration {
constructor(raw) {
this.raw = raw;
}
get not_assigned_source() {
return new VScript.rwKeyword(this, "not_assigned_source", { lift: exports.lift.AlarmConfiguratin, lower: exports.lower.AlarmConfiguratin });
}
get lost_source() {
return new VScript.rwKeyword(this, "lost_source", { lift: exports.lift.AlarmConfiguratin, lower: exports.lower.AlarmConfiguratin });
}
get missing_closed_caption() {
return new VScript.rwKeyword(this, "missing_closed_caption", { lift: exports.lift.AlarmConfiguratinWithTiming, lower: exports.lower.AlarmConfiguratinWithTiming });
}
get missing_time_code() {
return new VScript.rwKeyword(this, "missing_time_code", { lift: exports.lift.AlarmConfiguratinWithTiming, lower: exports.lower.AlarmConfiguratinWithTiming });
}
}
exports.ClusterMetadataMonitoringObjectAlarmsConfiguration = ClusterMetadataMonitoringObjectAlarmsConfiguration;
class ClusterMetadataMonitoringObjectConfiguration {
constructor(raw) {
this.raw = raw;
}
get source_id() {
return new VScript.rwKeyword(this, "source_id");
}
get cc_mode() {
return new VScript.rwKeyword(this, "cc_mode");
}
get cc_channel() {
return new VScript.rwKeyword(this, "cc_channel");
}
get alarms() {
return new ClusterMetadataMonitoringObjectAlarmsConfiguration(this.raw.find("alarms"));
}
}
exports.ClusterMetadataMonitoringObjectConfiguration = ClusterMetadataMonitoringObjectConfiguration;
class ClusterMetadataMonitoringObjectConfigurationAsArrayRow extends ClusterMetadataMonitoringObjectConfiguration {
constructor(st, index, parent) {
super(st);
this.index = index;
this.parent = parent;
}
}
exports.ClusterMetadataMonitoringObjectConfigurationAsArrayRow = ClusterMetadataMonitoringObjectConfigurationAsArrayRow;
class ClusterMonitoringObjectUserAlarmConfiguration {
constructor(raw) {
this.raw = raw;
}
get enable() {
return new VScript.rwKeyword(this, "enable");
}
get severity_level() {
return new VScript.rwKeyword(this, "severity_level");
}
get label() {
return new VScript.rwKeyword(this, "label");
}
}
exports.ClusterMonitoringObjectUserAlarmConfiguration = ClusterMonitoringObjectUserAlarmConfiguration;
class ClusterMonitoringObjectUserAlarmConfigurationAsArrayRow extends ClusterMonitoringObjectUserAlarmConfiguration {
constructor(st, index, parent) {
super(st);
this.index = index;
this.parent = parent;
}
}
exports.ClusterMonitoringObjectUserAlarmConfigurationAsArrayRow = ClusterMonitoringObjectUserAlarmConfigurationAsArrayRow;
class ClusterMonitoringObjectGlobalConfiguration {
constructor(raw) {
this.raw = raw;
}
get user_alarms_enable() {
return new VScript.rwKeyword(this, "user_alarms_enable");
}
get video() {
return new VScript.StronglyTypedArray(this, "video", (st, index, parent) => new ClusterVideoMonitoringObjectConfigurationAsArrayRow(st, index, parent));
}
get audio() {
return new VScript.StronglyTypedArray(this, "audio", (st, index, parent) => new ClusterAudioMonitoringObjectConfigurationAsArrayRow(st, index, parent));
}
get metadata() {
return new VScript.StronglyTypedArray(this, "metadata", (st, index, parent) => new ClusterMetadataMonitoringObjectConfigurationAsArrayRow(st, index, parent));
}
get user_alarms() {
return new VScript.StronglyTypedArray(this, "user_alarms", (st, index, parent) => new ClusterMonitoringObjectUserAlarmConfigurationAsArrayRow(st, index, parent));
}
}
exports.ClusterMonitoringObjectGlobalConfiguration = ClusterMonitoringObjectGlobalConfiguration;
class ClusterMonitoringObjectGlobalConfigurationAsNamedTableRow extends ClusterMonitoringObjectGlobalConfiguration {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.raw_row = raw_row;
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
async rename(name, opts) { await this.raw_row.rename(name, opts); }
async delete(opts) { await this.raw_row.delete(opts); }
}
exports.ClusterMonitoringObjectGlobalConfigurationAsNamedTableRow = ClusterMonitoringObjectGlobalConfigurationAsNamedTableRow;
class ClusterMonitoringObjectAlarmsEnable {
constructor(raw) {
this.raw = raw;
}
get video() {
return new VScript.rwKeyword(this, "video", { lift: exports.lift.ClusterVideoMonitoringObjectAlarmsEnable, lower: exports.lower.ClusterVideoMonitoringObjectAlarmsEnable });
}
get audio() {
return new VScript.rwKeyword(this, "audio", { lift: exports.lift.ClusterAudioMonitoringObjectAlarmsEnable, lower: exports.lower.ClusterAudioMonitoringObjectAlarmsEnable });
}
get metadata() {
return new VScript.rwKeyword(this, "metadata", { lift: exports.lift.ClusterMetadataMonitoringObjectAlarmsEnable, lower: exports.lower.ClusterMetadataMonitoringObjectAlarmsEnable });
}
}
exports.ClusterMonitoringObjectAlarmsEnable = ClusterMonitoringObjectAlarmsEnable;
class ClusterMonitoringObjectAlarmsSeverityLevel {
constructor(raw) {
this.raw = raw;
}
get video() {
return new VScript.rwKeyword(this, "video", { lift: exports.lift.ClusterVideoMonitoringObjectAlarmsSeverityLevel, lower: exports.lower.ClusterVideoMonitoringObjectAlarmsSeverityLevel });
}
get audio() {
return new VScript.rwKeyword(this, "audio", { lift: exports.lift.ClusterAudioMonitoringObjectAlarmsSeverityLevel, lower: exports.lower.ClusterAudioMonitoringObjectAlarmsSeverityLevel });
}
get metadata() {
return new VScript.rwKeyword(this, "metadata", { lift: exports.lift.ClusterMetadataMonitoringObjectAlarmsSeverityLevel, lower: exports.lower.ClusterMetadataMonitoringObjectAlarmsSeverityLevel });
}
}
exports.ClusterMonitoringObjectAlarmsSeverityLevel = ClusterMonitoringObjectAlarmsSeverityLevel;
class ClusterVideoMonitoringObjectRuntime {
constructor(raw) {
this.raw = raw;
}
get source() {
return new VScript.rKeyword(this, "source", { lift: _ClusterSources.lift.ClusterVideoSourceRuntime, lower: _ClusterSources.lower.ClusterVideoSourceRuntime });
}
get alarms() {
return new VScript.rKeyword(this, "alarms", { lift: exports.lift.ClusterVideoMonitoringObjectRuntimeAlarms, lower: exports.lower.ClusterVideoMonitoringObjectRuntimeAlarms });
}
get tally_mask() {
return new VScript.rwKeyword(this, "tally_mask");
}
get label() {
return new _ClusterSources.ClusterSourceLabelDual(this.raw.find("label"));
}
}
exports.ClusterVideoMonitoringObjectRuntime = ClusterVideoMonitoringObjectRuntime;
class ClusterVideoMonitoringObjectRuntimeAsArrayRow extends ClusterVideoMonitoringObjectRuntime {
constructor(st, index, parent) {
super(st);
this.index = index;
this.parent = parent;
}
}
exports.ClusterVideoMonitoringObjectRuntimeAsArrayRow = ClusterVideoMonitoringObjectRuntimeAsArrayRow;
class ClusterAudioMonitoringObjectRuntime {
constructor(raw) {
this.raw = raw;
}
get source() {
return new VScript.rKeyword(this, "source", { lift: _ClusterSources.lift.ClusterAudioSourceRuntime, lower: _ClusterSources.lower.ClusterAudioSourceRuntime });
}
get alarms() {
return new VScript.rKeyword(this, "alarms", { lift: exports.lift.ClusterAudioMonitoringObjectRuntimeAlarms, lower: exports.lower.ClusterAudioMonitoringObjectRuntimeAlarms });
}
}
exports.ClusterAudioMonitoringObjectRuntime = ClusterAudioMonitoringObjectRuntime;
class ClusterAudioMonitoringObjectRuntimeAsArrayRow extends ClusterAudioMonitoringObjectRuntime {
constructor(st, index, parent) {
super(st);
this.index = index;
this.parent = parent;
}
}
exports.ClusterAudioMonitoringObjectRuntimeAsArrayRow = ClusterAudioMonitoringObjectRuntimeAsArrayRow;
class ClusterMetadataMonitoringObjectRuntime {
constructor(raw) {
this.raw = raw;
}
get source() {
return new VScript.rKeyword(this, "source", { lift: _ClusterSources.lift.ClusterMetadataSourceRuntime, lower: _ClusterSources.lower.ClusterMetadataSourceRuntime });
}
get alarms() {
return new VScript.rKeyword(this, "alarms", { lift: exports.lift.ClusterMetadataMonitoringObjectRuntimeAlarms, lower: exports.lower.ClusterMetadataMonitoringObjectRuntimeAlarms });
}
}
exports.ClusterMetadataMonitoringObjectRuntime = ClusterMetadataMonitoringObjectRuntime;
class ClusterMetadataMonitoringObjectRuntimeAsArrayRow extends ClusterMetadataMonitoringObjectRuntime {
constructor(st, index, parent) {
super(st);
this.index = index;
this.parent = parent;
}
}
exports.ClusterMetadataMonitoringObjectRuntimeAsArrayRow = ClusterMetadataMonitoringObjectRuntimeAsArrayRow;
class ClusterMonitoringObjectGlobalRuntime {
constructor(raw) {
this.raw = raw;
}
get alarm() {
return new VScript.rKeyword(this, "alarm");
}
get alarm_severity_level() {
return new VScript.rKeyword(this, "alarm_severity_level");
}
get configuration() {
return new VScript.rKeyword(this, "configuration", { lift: exports.lift.ClusterMonitoringObjectGlobalConfiguration, lower: exports.lower.ClusterMonitoringObjectGlobalConfiguration });
}
get video() {
return new VScript.StronglyTypedArray(this, "video", (st, index, parent) => new ClusterVideoMonitoringObjectRuntimeAsArrayRow(st, index, parent));
}
get audio() {
return new VScript.StronglyTypedArray(this, "audio", (st, index, parent) => new ClusterAudioMonitoringObjectRuntimeAsArrayRow(st, index, parent));
}
get metadata() {
return new VScript.StronglyTypedArray(this, "metadata", (st, index, parent) => new ClusterMetadataMonitoringObjectRuntimeAsArrayRow(st, index, parent));
}
get user_labels() {
return new VScript.StronglyTypedArray(this, "user_labels", (st, index, parent) => new _ClusterSources.ClusterSourceLabelDualAsArrayRow(st, index, parent));
}
}
exports.ClusterMonitoringObjectGlobalRuntime = ClusterMonitoringObjectGlobalRuntime;
class ClusterMonitoringObjectGlobalRuntimeAsTableRow extends ClusterMonitoringObjectGlobalRuntime {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
}
exports.ClusterMonitoringObjectGlobalRuntimeAsTableRow = ClusterMonitoringObjectGlobalRuntimeAsTableRow;
class ClusterGlobalMonitoringObjectsParameters {
constructor(raw) {
this.raw = raw;
}
get severity_levels() {
return new ClusterMonitoringObjectAlarmsSeverityLevel(this.raw.find("severity_levels"));
}
}
exports.ClusterGlobalMonitoringObjectsParameters = ClusterGlobalMonitoringObjectsParameters;
exports.Enums = {
TIMECODE: ["LTC", "VTC1", "VTC2"]
};