/// <summary> /// 货机主机信息 /// </summary> public MachineRpt MachineInfo() { MachineRpt machineRpt = new MachineRpt(); //主板 MainBoardInfo mainBoardInfo = base.QueryMainBoardInfo(); machineRpt.VmcStatus = mainBoardInfo.ToString(); return(machineRpt); }
/// <summary> /// 货机主机信息 /// </summary> public MachineRpt MachineInfo() { MachineRpt machineRpt; try { machineRpt = MachineFactory.Machine.MachineInfo(); } catch (Exception ex) { machineRpt = new MachineRpt(); machineRpt.HasError = true; machineRpt.ErrorMsg = ex.Message; FileLogger.LogError("获取货机主机信息失败" + ex.Message); } return(machineRpt); }
/// <summary> /// 货机主机信息 /// </summary> public MachineRpt MachineInfo() { MachineRpt machineRpt = new MachineRpt(); //VMC参数 VmcSetup vmcSetup = base.GET_SETUP(); machineRpt.VmcSetup = vmcSetup.ToString(); //VMC状态 StatusRpt statusRpt = base.GET_STATUS(); machineRpt.VmcStatus = statusRpt.ToString(); //硬币器 InfoRpt_17 infoRpt_17 = base.GetCoinInfo(); machineRpt.CoinRpt = infoRpt_17.ToString(); //纸币器 InfoRpt_16 infoRpt_16 = base.GetPaperInfo(); machineRpt.PaperRpt = infoRpt_16.ToString(); return(machineRpt); }