Exemplo n.º 1
0
 protected override object BuildSettings(DeviceEntry entry)
 {
     AisSettings settings = new AisSettings();
     settings.Factor = (StringValue)entry["factor1"];
     settings.Frequence = (StringValue)entry[DeviceEntry.RecordInterval];
     return settings;
 }
Exemplo n.º 2
0
        protected override object BuildSettings(DeviceEntry entry)
        {
            AisSettings settings = new AisSettings();

            settings.Factor    = (StringValue)entry["factor1"];
            settings.Frequence = (StringValue)entry[DeviceEntry.RecordInterval];
            return(settings);
        }
Exemplo n.º 3
0
 public void Apply()
 {
     this.settings = (AisSettings)this.Apply(new Dictionary <string, string>
     {
         { "factor1", this.settings.Factor.ToString() },
         { DeviceEntry.RecordInterval, this.settings.Frequence.ToString() }
     });
 }
Exemplo n.º 4
0
 public void Apply()
 {
     this.settings = (AisSettings)this.Apply(new Dictionary<string, string>
     {
         {"factor1", this.settings.Factor.ToString()},
         {DeviceEntry.RecordInterval, this.settings.Frequence.ToString()}
     });
 }
Exemplo n.º 5
0
 private void IsCfgForm_Load(object sender, EventArgs e)
 {
     this.Loaded();
     this.settings = (AisSettings)this.Reset();
 }
Exemplo n.º 6
0
 public void Cancel()
 {
     this.settings = (AisSettings)this.Reset();
 }
Exemplo n.º 7
0
 private void IsCfgForm_Load(object sender, EventArgs e)
 {
     this.Loaded();
     this.settings = (AisSettings)this.Reset();
 }
Exemplo n.º 8
0
 public void Cancel()
 {
     this.settings = (AisSettings)this.Reset();
 }