Ejemplo 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;
 }
Ejemplo 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);
        }
Ejemplo 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() }
     });
 }
Ejemplo 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()}
     });
 }
Ejemplo n.º 5
0
 private void IsCfgForm_Load(object sender, EventArgs e)
 {
     this.Loaded();
     this.settings = (AisSettings)this.Reset();
 }
Ejemplo n.º 6
0
 public void Cancel()
 {
     this.settings = (AisSettings)this.Reset();
 }
Ejemplo n.º 7
0
 private void IsCfgForm_Load(object sender, EventArgs e)
 {
     this.Loaded();
     this.settings = (AisSettings)this.Reset();
 }
Ejemplo n.º 8
0
 public void Cancel()
 {
     this.settings = (AisSettings)this.Reset();
 }