using System.Collections.Generic; namespace JinYuan.VirtualDataLibrary { public class MesConfig { /// /// 工厂代码 /// public string siteCode = ""; /// /// 产线编号 /// public string lineCode = ""; /// /// 设备编号 /// public string equipNum = ""; /// /// MES密码 /// public string mesPwd = ""; /// /// MES账户 /// public string mesUserName = ""; /// /// 电表编号 /// public List electricMeterNum = new List(); /// /// 风速仪个数 /// public int AntiDustAirSpeedCount = 0; /// /// 风速仪编号 /// public List listAntiDustAirSpeedNum = new List(); /// /// 权限 /// public string userLevel = ""; /// /// 物料编码 /// public string MaterialCode = ""; /// /// 生产型号 /// public string ModelName = ""; /// /// 是否上传MES /// public bool isUpMes = false; /// /// 是否刷卡? /// public bool Isshuaka = false; /// /// 是否登录成功? /// public bool IsLoginOK = false; /// /// 是否登录MES成功? /// public bool IsLoginMesOK = false; /// /// 获取MES参数 /// public bool IsMesParam = false; /// /// MES超时 /// public long MesOutTime = 0; /// /// 焊接点个数 /// public int weldNum = 0; /// /// 是否2个电表(此功能仅适用于908-6负极焊接两台设备共用一台敢接机只有一个电表) /// public bool IsTwoDianBiao = false; /// /// 电表编号 /// public string ElectricMeterNum = ""; /// /// 除尘风速 /// public decimal antiDustAirSpeed = 0; /// /// 电机旋转速度 /// public decimal dianjiXzSpeed = 0; /// /// 设备状态上传时间 /// public int EquStatuasTime = 0; /// /// 获取服务器数据 /// public bool IsGet_Server = true; /// /// -3A出站数据存储到-3C /// public bool IsGet_3C = true; public int _外观检测条码计数 = 0; /// /// Guid /// public string guidStr = ""; /// /// OK1分档 /// public string Grading1 = "E63y"; /// /// OK2分档 /// public string Grading2 = "F63y"; /// /// OK3分档 /// public string Grading3 = "E63yG"; /// /// OK4分档 /// public string Grading4 = "F63yG"; /// /// OK5分档 /// public string Grading5 = "拦截"; /// /// OK6分档 /// public string Grading6 = "NG"; /// /// 设备状态 /// public int DeviceState = 0; public bool m_run_AlarmMark = false; public bool m_run_IdelMark = false; /// /// 存储服务器IP地址 /// public string RotueServerIP = "192.168.2.108"; /// /// 员工权限校验接口 /// public string LoginMesUrl = "http://10.6.1.152/core/api/public/equipment/base/user/login/verify"; /// /// 设备参数设定值变更 /// public string ChangeParamSetValueMesUrl = "http://10.6.1.152/core/api/public/param/setting/change"; /// /// 设备参数设定值请求 /// public string ParamSetpointRequestMesUrl = "http://10.6.1.152/core/api/public/param/setting/request"; /// /// 原材料投入信息 /// public string MaterialInputInfoMesUrl = "http://10.6.1.152/core/api/public/raw/material/input/un/first/process"; /// /// 产品进站信息(组装) /// public string InPutStationMesUrl = "http://10.17.96.41/core/api/public/in/station/process/currency"; /// /// 产品出站信息(组装) /// public string OutStationMesUrl = "http://10.17.96.41/core/api/public/out/station/process/turn/equip"; /// /// 设备过程加工参数接口 /// public string EquProcessProcessParamMesUrl = "http://10.6.1.152/core/api/public/product/process/param/process"; /// /// 产品结果加工参数 /// public string ResultProcessParamMesUrl = "http://10.6.1.152/core/api/public/product/process/param/result"; /// /// 设备报警信息 /// public string AlarmCurrencyMesUrl = "http://10.6.1.152/core/api/public/equipment/alarm/currency"; /// /// 设备运行状态 /// public string StatusMesUrl = "http://10.6.1.152/core/api/public/eve/pm/eqm/run/status/operation"; /// /// 能耗数据 /// public string WattrMeterUrl = "http://10.6.1.157/core/api/public/eve/pm/energy/consumption/collection/submit"; /// /// 设备风速接口 /// public string CollectData = "http://10.1.3.66:3000/mock/15/eve_api/ems/iot/upload_device_collect_data"; /// /// 设备风速接口 /// public string OkNgParamMesUrl = "http://10.17.128.206/core/api/public/eve/pm/eqm/new/grading"; /// /// 分档 /// public string GradingMesUrl = "http://10.54.50.1:8082/core/api/public/eve/pm/eqm/new/grading"; /// /// 安全设备运行状态 /// public string SafeEqptStatusMesUrl = "http://10.22.161.62:804/device-status"; } }