예제 #1
0
파일: MainForm.cs 프로젝트: mahabara/RTT
        public void SetAddress(Dictionary<string, string> addrdic,Links link)
        {
            //ConfigHelper ch = new ConfigHelper();
            //Dictionary<string, string> addrdic = ch.GetAddr();
            this.DC5767A = addrdic[Constant.DEVICE_NAME_AGILENT5767A];
            this.IS1 = addrdic[Constant.DEVICE_NAME_INTERFERENCE_SIGNAL_1];
            this.IS2 = addrdic[Constant.DEVICE_NAME_INTERFERENCE_SIGNAL_2];
            this.RFBOX = addrdic[Constant.DEVICE_NAME_RFBOX];
            this.RFBOX2 = addrdic[Constant.DEVICE_NAME_RFBOX2];

            this.SA = addrdic[Constant.DEVICE_NAME_SIGNALANALYZER];
            this.SG = addrdic[Constant.DEVICE_NAME_SIGNALGENERATOR];
            this.SG2 = addrdic[Constant.DEVICE_NAME_SIGNALGENERATOR2];
            this.RRU = addrdic["port_rru"];
            this.Baudrate_rru = addrdic["baudrate_rru"];
            this.Server_Port = addrdic["server_port"];
            this.DU_IP = addrdic["Du_ip"];
            //if(this.RRU!=""&&this.Baudrate_rru!="")
            //{
            //    link.set_port1(this.RRU, this.Baudrate_rru, "", "8", "1");
            //}

            //this.SERIAL2 = addrdic[Constant.DEVICE_NAME_DC_DH1716A];
        }
예제 #2
0
파일: MainForm.cs 프로젝트: mahabara/RTT
 public MainForm()
 {
     InitializeComponent();
     this.link = new Links();
 }