using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; 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 = ""; /// /// mes返回权限 /// public string mesUserLevel = ""; /// /// 物料编码 /// public string MaterialCode = ""; /// /// 生产型号 /// public string ModelName = ""; /// /// 是否上传MES /// public bool isUpMes = false; /// /// MES接口URL地址中的IP地址 /// public string MESURLAddressIP = "10.100.111.81"; /// /// MES接口URL地址中的端口号 /// public string MESURLAddressPort = "80"; /// /// 是否连接MES /// public bool isConnected = 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; /// /// 生成假数据 /// public bool IsDebug = true; /// /// 卷芯码计数 /// public int CoreCount = 0; /// /// 钢壳码计数 /// public int SteelshellCount = 0; /// /// 原材料上料位置 /// public string materialLotCodeLocator = ""; /// /// 存储服务器IP地址 /// public string RotueServerIP = "192.168.2.108"; /// /// 员工权限校验 /// public string EmployeeAuthCheck = "http://10.100.111.81/core/api/public/equipment/base/user/permission/verify"; /// /// 原材料投入信息 /// public string MaterialInputInfo = "http://10.100.111.81/core/api/public/raw/material/input/un/first/process"; /// /// 设备参数设定值请求 /// public string DeviceParamRequest = "http://10.100.111.81/core/api/public/param/setting/request"; /// /// 设备参数设定值变更 /// public string DeviceParamChange = "http://10.100.111.81/core/api/public/param/setting/change"; /// /// 产品进站信息(组装) /// public string ProductInStation = "http://10.100.111.81/core/api/public/batch/in/station/process/currency"; /// /// 产品过程加工参数 /// public string ProductProcessParams = "http://10.100.111.81/core/api/public/product/process/param/new/process"; /// /// 产品结果加工参数 /// public string ProductResultParams = "http://10.100.111.81/core/api/public/product/process/param/new/result"; /// /// 产品出站信息(组装) /// public string ProductOutStation = "http://10.100.111.81/core/api/public/product/out/station/process/turn"; /// /// 设备报警信息 /// public string DeviceAlarm = "http://10.100.111.81/core/api/public/equipment/alarm/currency"; /// /// 设备运行状态 /// public string DeviceStatus = "http://10.100.111.81/core/api/public/eve/pm/eqm/run/status/operation"; /// /// 能耗数据 /// public string EnergyConsumption = "http://10.100.111.81/core/api/public/eve/pm/energy/consumption/collection/submit"; /// /// 设备风速接口 /// public string Anemometer = "https://iot.eveportal.com:9470/eve_api/ems/iot/upload_device_collect_data"; /// /// 进出站一体模式× /// public string InAndOutStationMesUrl = "http://10.17.96.73/core/api/public/14j/out/station/process/turn-in-out"; } }