Пример #1
0
        /// <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();
        }
Пример #2
0
        public TxRxCal(Offset_Fators tx1,
                       Offset_Fators tx1Disp,
                       Offset_Fators tx2,
                       Offset_Fators tx2Disp,
                       Offset_Fators rx,
                       Offset_Fators rx1)
        {
            InitializeComponent();

            _factorsTx1     = tx1;
            _factorsTx1Disp = tx1Disp;
            _factorsTx2     = tx2;
            _factorsTx2Disp = tx2Disp;
            _factorsRx      = rx;
            _factorsRx1     = rx1;
        }
Пример #3
0
        static internal void NewFactors(string txFileName, string txFileName_disp, string rxFileName)
        {
            pim_tx1      = new Offset_Fators(txFileName, "pim_tx1", "factors");
            pim_tx1_disp = new Offset_Fators(txFileName_disp, "pim_tx1", "factors");

            pim_tx2      = new Offset_Fators(txFileName, "pim_tx2", "factors");
            pim_tx2_disp = new Offset_Fators(txFileName_disp, "pim_tx2", "factors");

            pim_rx1 = new Offset_Fators(rxFileName, "pim_rx1", "factors");
            pim_rx2 = new Offset_Fators(rxFileName, "pim_rx2", "factors");

            //iso_tx1 = new Offset_Fators(txFileName, "iso_tx1", "factors");
            //iso_tx1_disp = new Offset_Fators(txFileName_disp, "iso_tx1", "factors");

            //iso_tx2 = new Offset_Fators(txFileName, "iso_tx2", "factors");
            //iso_tx2_disp = new Offset_Fators(txFileName_disp, "iso_tx2", "factors");

            //vsw_tx1 = new Offset_Fators(txFileName, "vsw_tx1", "factors");
            //vsw_tx1_disp = new Offset_Fators(txFileName_disp, "vsw_tx1", "factors");

            //vsw_tx2 = new Offset_Fators(txFileName, "vsw_tx2", "factors");
            //vsw_tx2_disp = new Offset_Fators(txFileName_disp, "vsw_tx2", "factors");

            //har_tx1 = new Offset_Fators(txFileName, "har_tx1", "factors");
            //har_tx1_disp = new Offset_Fators(txFileName_disp, "har_tx1", "factors");

            //har_tx2 = new Offset_Fators(txFileName, "har_tx2", "factors");
            //har_tx2_disp = new Offset_Fators(txFileName_disp, "har_tx2", "factors");



            //iso_rx1 = new Offset_Fators(rxFileName, "iso_rx1", "factors");
            //iso_rx2 = new Offset_Fators(rxFileName, "iso_rx2", "factors");

            //vsw_rx1 = new Offset_Fators(rxFileName, "vsw_rx1", "factors");
            //vsw_rx2 = new Offset_Fators(rxFileName, "vsw_rx2", "factors");

            //har_rx1 = new Offset_Fators(rxFileName, "har_rx1", "factors");
            //har_rx2 = new Offset_Fators(rxFileName, "har_rx2", "factors");
        }