/// <summary>
 /// Handles the configuration response.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="ConfigurationDataEventArgs"/> instance containing the event data.</param>
 private void HandleConfigurationResponse(object sender, ConfigurationDataEventArgs e)
 {
     if (e.Configuration != null)
     {
         this.ActiveSamplingRate = this.GetTimeScheduleComboString(e.Configuration.FisSettings.TimeSchedule.ToString());
     }
 }
예제 #2
0
 /// <summary>
 /// Handles the configuration response.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="ConfigurationDataEventArgs"/> instance containing the event data.</param>
 private void HandleConfigurationResponse(object sender, ConfigurationDataEventArgs e)
 {
     if (e.Configuration != null)
     {
         this.TextBox1Text = e.Configuration.SupplyCareSettings.SamplingRate.ToString(CultureInfo.InvariantCulture);
     }
 }
예제 #3
0
 /// <summary>
 /// Handles the configuration response.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="ConfigurationDataEventArgs"/> instance containing the event data.</param>
 private void HandleConfigurationResponse(object sender, ConfigurationDataEventArgs e)
 {
     if (e.Configuration != null)
     {
         this.TextBox1Text       = e.Configuration.Gateway.Model;
         this.IdentificationText = e.Configuration.Gateway.SerialNumber;
         this.ActivationKeyText  = e.Configuration.Gateway.ActivationKey;
     }
 }
예제 #4
0
 /// <summary>
 /// Handles the configuration response.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="ConfigurationDataEventArgs"/> instance containing the event data.</param>
 private void HandleConfigurationResponse(object sender, ConfigurationDataEventArgs e)
 {
     if (e.Configuration != null)
     {
         this.TextBox1Text = e.Configuration.FisSettings.InternetAddress.Url;
         this.TextBox2Text = e.Configuration.FisSettings.InternetAddress.Port.ToString(CultureInfo.InvariantCulture);
         this.LoginText    = e.Configuration.FisSettings.Authentication.User;
         this.PassWordText = e.Configuration.FisSettings.Authentication.Password;
         this.IsChecked    = e.Configuration.FisSettings.Enabled;
     }
 }
 /// <summary>
 /// Handles the configuration response.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="ConfigurationDataEventArgs"/> instance containing the event data.</param>
 private void HandleConfigurationResponse(object sender, ConfigurationDataEventArgs e)
 {
     if (e.Configuration != null)
     {
         ////this.TextBox1Text = e.Configuration.SupplyCareSettings.InternetAddress.Url;
         this.TextBox2Text = e.Configuration.SupplyCareSettings.Port.ToString(CultureInfo.InvariantCulture);
         this.LoginText    = e.Configuration.SupplyCareSettings.Authentication.User;
         this.PassWordText = e.Configuration.SupplyCareSettings.Authentication.Password;
         this.IsChecked    = e.Configuration.SupplyCareSettings.Authentication.Active;
         ////this.ActiveNetworkConnection = this.GetIpAddress(e.Configuration.SupplyCareSettings.MacAddress);
         ////this.PropertiesText = this.GetNetworkProperties(e.Configuration.SupplyCareSettings.MacAddress);
     }
 }