/// <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()); } }
/// <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); } }
/// <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; } }
/// <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); } }