Ejemplo n.º 1
0
 /// <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>();
 }
Ejemplo n.º 2
0
 /// <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
     };
 }
Ejemplo n.º 3
0
        /// <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;
        }
Ejemplo n.º 4
0
 /// <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;
 }
Ejemplo n.º 5
0
 /// <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
     };
 }
Ejemplo n.º 6
0
 /// <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;
 }
Ejemplo n.º 7
0
 /// <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");
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 public FrmDrivers(CommEnvironment environment)
     : this()
 {
     this.environment = environment ?? throw new ArgumentNullException("environment");
 }