/// <inheritdoc cref="IGXWizardPage.Initialize"/> public void Initialize() { Device = Target as GXDLT645Device; MeterAddressTB.Text = Device.DeviceAddress.ToString(); }
public void Initialize() { m_Device = Target as GXDLT645Device; collectorAddressTb.Text = m_Device.CollectorAddress.ToString(); collectorAddressCb.Checked = m_Device.CollectorAddress != 0; if (m_Device.FrontLeadingBytes != null) { FrontLeadingBytesTb.Text = BitConverter.ToString(m_Device.FrontLeadingBytes).Replace('-', ' '); } wakeupCb.Checked = m_Device.FrontLeadingBytes != null; operatorCodeTb.Text = m_Device.OperatorCode; meterPasswordTb.Text = m_Device.MeterPassword; relayControlPasswordTb.Text = m_Device.RelayControlPassword; lowClassPasswordTb.Text = m_Device.LowClassPassword; this.TopLevel = false; this.FormBorderStyle = FormBorderStyle.None; UpdateResources(); }