Exemple #1
0
 protected override object BuildSettings(DeviceEntry entry)
 {
     DwdSettings settings = new DwdSettings();
     settings.Frequence = (StringValue)entry[DeviceEntry.RecordInterval];
     settings.SerialPort = (StringValue)entry[DeviceEntry.SerialPort];
     
     return settings;
 }
Exemple #2
0
 public void Apply()
 {
     this.settings = (DwdSettings)this.Apply(new Dictionary<string, string>
     {
         {DeviceEntry.SerialPort, this.settings.SerialPort},
         {DeviceEntry.RecordInterval, this.settings.Frequence.ToString()}
     });
 }
Exemple #3
0
 public void Apply()
 {
     this.settings = (DwdSettings)this.Apply(new Dictionary <string, string>
     {
         { DeviceEntry.SerialPort, this.settings.SerialPort },
         { DeviceEntry.RecordInterval, this.settings.Frequence.ToString() }
     });
 }
Exemple #4
0
        protected override object BuildSettings(DeviceEntry entry)
        {
            DwdSettings settings = new DwdSettings();

            settings.Frequence  = (StringValue)entry[DeviceEntry.RecordInterval];
            settings.SerialPort = (StringValue)entry[DeviceEntry.SerialPort];

            return(settings);
        }
Exemple #5
0
 private void DwdCfgForm_Load(object sender, EventArgs e)
 {
     this.Loaded();
     this.settings = (DwdSettings)this.Reset();
 }
Exemple #6
0
 public void Cancel()
 {
     this.settings = (DwdSettings)this.Reset();
 }
Exemple #7
0
 private void DwdCfgForm_Load(object sender, EventArgs e)
 {
     this.Loaded();
     this.settings = (DwdSettings)this.Reset();
 }
Exemple #8
0
 public void Cancel()
 {
     this.settings = (DwdSettings)this.Reset();
 }