/// <summary> /// 加载补偿数据 /// </summary> /// <param name="t"></param> /// <param name="factorsTx1"></param> /// <param name="factorsTx1Disp"></param> /// <param name="factorsTx2"></param> /// <param name="factorsTx2Disp"></param> /// <param name="factorsRx"></param> /// <param name="i"></param> private void TxRxConfig(TxRxCal t, Offset_Fators factorsTx1, Offset_Fators factorsTx1Disp, Offset_Fators factorsTx2, Offset_Fators factorsTx2Disp, Offset_Fators factorsRx, Offset_Fators factorsRx1, int i) { factorsTx1.LoadOffsets(); factorsTx1Disp.LoadOffsets(); factorsTx2.LoadOffsets(); factorsTx2Disp.LoadOffsets(); factorsRx.LoadOffsets(); t = new TxRxCal(factorsTx1, factorsTx1Disp, factorsTx2, factorsTx2Disp, factorsRx, factorsRx1); t.TopLevel = false; t.Parent = tclConfig.TabPages[i]; tclConfig.TabPages[i].Controls.Add(t); t.Dock = DockStyle.Fill; t.Show(); }
static internal void LoadFactros() { //加载互调模块的补偿系数 pim_tx1.LoadOffsets(); pim_tx1_disp.LoadOffsets(); pim_rx1.LoadOffsets(); pim_tx2.LoadOffsets(); pim_tx2_disp.LoadOffsets(); pim_rx2.LoadOffsets(); ////加载隔离度模块的补偿系数 //iso_tx1.LoadOffsets(); //iso_tx1_disp.LoadOffsets(); //iso_rx1.LoadOffsets(); //iso_tx2.LoadOffsets(); //iso_tx2_disp.LoadOffsets(); //iso_rx2.LoadOffsets(); ////加载驻波比模块的补偿系数 //vsw_tx1.LoadOffsets(); //vsw_tx1_disp.LoadOffsets(); //vsw_rx1.LoadOffsets(); //vsw_tx2.LoadOffsets(); //vsw_tx2_disp.LoadOffsets(); //vsw_rx2.LoadOffsets(); ////加载谐波模块的补偿系数 //har_tx1.LoadOffsets(); //har_tx1_disp.LoadOffsets(); //har_rx1.LoadOffsets(); //har_tx2.LoadOffsets(); //har_tx2_disp.LoadOffsets(); //har_rx2.LoadOffsets(); }