Exemple #1
0
        static Program()
        {
            sysinfo    = new SysConfig();
            testdata   = new DataMgr();
            lst_rxinfo = new List <RxInfo>();
            lst_rsinfo = new List <RsInfo>();

            for (int i = 0; i < sysinfo.iRxCnts; i++)
            {
                lst_rxinfo.Add(new RxInfo(i + 1));
            }

            for (int i = 0; i < sysinfo.iRsCnts; i++)
            {
                lst_rsinfo.Add(new RsInfo(i + 1));
            }

            syswnd  = new SysConfigWnd();
            rxwnd   = new RxConfigWnd();
            rswnd   = new RsConfigWnd();
            mcfgwnd = new MainConfigWnd();


            DeviceMgr.Dummy();
        }
Exemple #2
0
 static Program()
 {
     kbd        = new kbdWnd();
     syswnd     = new SysConfigWnd();
     rxwnd      = new RxConfigWnd();
     rswnd      = new RsConfigWnd();
     choice     = new ChoiceWnd();
     lst_rxinfo = new List <RxInfo>();
     lst_rsinfo = new List <RsInfo>();
     for (int i = 0; i < 24; i++)
     {
         lst_rxinfo.Add(new RxInfo(i + 1));
         lst_rsinfo.Add(new RsInfo(i + 1));
     }
     DeviceMgr.Dummy();
 }