private void UpdateForm(TacanModel model) { _ = model.Distance_ini.ToString("0.00"); dis_tb.Text = model.Distance_ini.ToString("0.00"); az_tb.Text = model.Azimuth_ini.ToString("0.00"); channel_tb.Text = model.Channel_ini.ToString(); responsePower_tkb.Value = (int)model.ResponsePower_ini; randomPulse_tb.Text = model.RandomPulse_ini.ToString(); modulation15_tb.Text = model.Modulation15_ini.ToString(); modulation135_tb.Text = model.Modulation135_ini.ToString(); responseRate_tb.Text = model.ResponseRate_ini.ToString(); identifyCode_tb.Text = model.IdentifyCode_ini.ToString(); disRate_tb.Text = model.DistanceRate_ini.ToString(); azRate_tb.Text = model.AzimuthRate_ini.ToString(); display.SetDmeState(model.Azimuth_ini, model.Distance_ini); }
public PXES2590Controller(TacanModel model, ISignalController ifTransceiver) { Model = model; this.ifTransceiver = ifTransceiver; }