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(); }
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(); }
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(); }
static Program() { msg = new MsgDlg(); 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(); }