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

            settings.Factor    = (StringValue)entry["factor1"];
            settings.Frequence = (StringValue)entry[DeviceEntry.RecordInterval];
            return(settings);
        }
Beispiel #4
0
 private void MdsCfgForm_Load(object sender, EventArgs e)
 {
     this.Loaded();
     this.settings = (MdsSettings)this.Reset();
 }
Beispiel #5
0
 public void Cancel()
 {
     this.settings = (MdsSettings)this.Reset();
 }