/// <summary> /// Initializes a new instance of the class. /// </summary> public FrmLineParams(Settings.CommLine commLine, CommEnvironment environment) : this() { this.commLine = commLine ?? throw new ArgumentNullException("commLine"); this.environment = environment ?? throw new ArgumentNullException("environment"); customParams = new SortedList <string, string>(); }
/// <summary> /// Initializes a new instance of the class. /// </summary> public FrmDeviceData(Settings.KP kp, CommEnvironment environment) : this() { this.kp = kp ?? throw new ArgumentNullException("kp"); this.environment = environment ?? throw new ArgumentNullException("environment"); dataBox = new RemoteLogBox(lbDeviceData) { FullLogView = true }; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public FrmCommImport(ScadaProject project, Instance instance, CommEnvironment commEnvironment) : this() { this.project = project ?? throw new ArgumentNullException("project"); this.instance = instance ?? throw new ArgumentNullException("instance"); this.commEnvironment = commEnvironment ?? throw new ArgumentNullException("commEnvironment"); CommLineSettings = null; ImportedCommLines = null; ImportedDevices = null; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public FrmDeviceData(Settings.KP kp, Settings.CommLine commLine, CommEnvironment environment) : this() { this.kp = kp ?? throw new ArgumentNullException("kp"); this.commLine = commLine ?? throw new ArgumentNullException("commLine"); this.environment = environment ?? throw new ArgumentNullException("environment"); dataBox = new RemoteLogBox(lbDeviceData) { FullLogView = true }; frmDeviceCommand = null; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public FrmStats(CommEnvironment environment) : this() { this.environment = environment ?? throw new ArgumentNullException("environment"); stateBox = new RemoteLogBox(lbState) { FullLogView = true }; logBox = new RemoteLogBox(lbLog) { AutoScroll = true }; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public FrmLineStats(Settings.CommLine commLine, CommEnvironment environment) : this() { this.commLine = commLine ?? throw new ArgumentNullException("commLine"); this.environment = environment ?? throw new ArgumentNullException("environment"); stateBox = new RemoteLogBox(lbState) { FullLogView = true }; logBox = new RemoteLogBox(lbLog, true) { AutoScroll = true }; stateTabActive = true; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public FrmDeviceCommand(Settings.KP kp, CommEnvironment environment) : this() { this.kp = kp ?? throw new ArgumentNullException("kp"); this.environment = environment ?? throw new ArgumentNullException("environment"); }
/// <summary> /// Initializes a new instance of the class. /// </summary> public FrmDrivers(CommEnvironment environment) : this() { this.environment = environment ?? throw new ArgumentNullException("environment"); }