|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace demo.UI
|
|
|
|
|
{
|
|
|
|
|
public class PointWarn
|
|
|
|
|
{
|
|
|
|
|
private static Dictionary<int, string> pointWarnInfos = new Dictionary<int, string>();
|
|
|
|
|
static PointWarn()
|
|
|
|
|
{
|
|
|
|
|
pointWarnInfos.Add(3011724, "抽屉锁3");
|
|
|
|
|
pointWarnInfos.Add(3030533, "料仓夹磁气缸1-");
|
|
|
|
|
pointWarnInfos.Add(3030534, "抽屉拉伸气缸1-");
|
|
|
|
|
pointWarnInfos.Add(3030535, "抽屉锁1+");
|
|
|
|
|
pointWarnInfos.Add(3030538, "抽屉锁1-");
|
|
|
|
|
pointWarnInfos.Add(3030545, "料仓夹磁气缸2-");
|
|
|
|
|
pointWarnInfos.Add(3030546, "抽屉拉伸气缸2-");
|
|
|
|
|
pointWarnInfos.Add(3030547, "抽屉锁2+");
|
|
|
|
|
pointWarnInfos.Add(3030550, "抽屉锁2-");
|
|
|
|
|
pointWarnInfos.Add(3070322, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3070328, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3070335, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3070844, "满料对射光电2");
|
|
|
|
|
pointWarnInfos.Add(3070726, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3070731, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3080623, "料仓夹磁气缸3+");
|
|
|
|
|
pointWarnInfos.Add(3080626, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3080628, "料盘真空检测");
|
|
|
|
|
pointWarnInfos.Add(3080631, "料仓夹磁气缸3-");
|
|
|
|
|
pointWarnInfos.Add(8060203, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(8060206, "料盘真空检测");
|
|
|
|
|
pointWarnInfos.Add(3080923, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3080928, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3150324, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3150328, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3150333, "料盘真空检测");
|
|
|
|
|
pointWarnInfos.Add(3150335, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3150341, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3150346, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3150226, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3150231, "料盘真空检测");
|
|
|
|
|
pointWarnInfos.Add(3150233, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3150234, "料盘真空检测");
|
|
|
|
|
pointWarnInfos.Add(3150240, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3150245, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3160233, "抽屉锁1-");
|
|
|
|
|
pointWarnInfos.Add(3160245, "抽屉拉伸气缸1+");
|
|
|
|
|
pointWarnInfos.Add(3160244, "OK仓弹出");
|
|
|
|
|
pointWarnInfos.Add(3160247, "抽屉拉伸气缸1");
|
|
|
|
|
pointWarnInfos.Add(3160241, "抽屉锁1+");
|
|
|
|
|
pointWarnInfos.Add(3160440, "料仓夹磁气缸1-");
|
|
|
|
|
pointWarnInfos.Add(3170343, "抽屉锁2-");
|
|
|
|
|
pointWarnInfos.Add(3170346, "抽屉拉伸气缸2+");
|
|
|
|
|
pointWarnInfos.Add(3170350, "进料仓弹出");
|
|
|
|
|
pointWarnInfos.Add(3170352, "抽屉拉伸气缸2");
|
|
|
|
|
pointWarnInfos.Add(3170356, "抽屉锁2+");
|
|
|
|
|
pointWarnInfos.Add(3170550, "料仓夹磁气缸2-");
|
|
|
|
|
pointWarnInfos.Add(3180353, "抽屉锁3-");
|
|
|
|
|
pointWarnInfos.Add(3180356, "抽屉拉伸气缸3+");
|
|
|
|
|
pointWarnInfos.Add(3180360, "空料仓弹出");
|
|
|
|
|
pointWarnInfos.Add(3180362, "抽屉拉伸气缸3-");
|
|
|
|
|
pointWarnInfos.Add(3180366, "抽屉锁3+");
|
|
|
|
|
pointWarnInfos.Add(3180402, "料仓夹磁气缸3-");
|
|
|
|
|
pointWarnInfos.Add(3280333, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3290402, "料仓夹磁气缸3-");
|
|
|
|
|
pointWarnInfos.Add(3290633, "料仓夹磁气缸3+");
|
|
|
|
|
pointWarnInfos.Add(3290635, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3290628, "料盘真空检测");
|
|
|
|
|
pointWarnInfos.Add(3290638, "料仓夹磁气缸3-");
|
|
|
|
|
pointWarnInfos.Add(3290641, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(29060201, "料盘真空检测");
|
|
|
|
|
pointWarnInfos.Add(3290703, "料仓夹磁气缸2-");
|
|
|
|
|
pointWarnInfos.Add(3290933, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3290937, "料仓夹磁气缸2+");
|
|
|
|
|
pointWarnInfos.Add(3290940, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3300323, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3300327, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3300329, "料盘真空检测");
|
|
|
|
|
pointWarnInfos.Add(3300331, "料仓夹磁气缸2-");
|
|
|
|
|
pointWarnInfos.Add(3300333, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3300334, "料盘真空检测");
|
|
|
|
|
pointWarnInfos.Add(3300545, "满料对射光电2");
|
|
|
|
|
pointWarnInfos.Add(3300724, "料仓夹磁气缸3-");
|
|
|
|
|
pointWarnInfos.Add(3300726, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3300729, "料仓夹磁气缸3+");
|
|
|
|
|
pointWarnInfos.Add(3300731, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3300735, "料仓夹磁气缸3-");
|
|
|
|
|
pointWarnInfos.Add(3301108, "料仓夹磁气缸1-");
|
|
|
|
|
pointWarnInfos.Add(3301238, "料盘搬运气缸下");
|
|
|
|
|
pointWarnInfos.Add(3301244, "料仓夹磁气缸1+");
|
|
|
|
|
pointWarnInfos.Add(3301248, "料盘搬运气缸上");
|
|
|
|
|
pointWarnInfos.Add(3070333, "料盘真空检测");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static string GetWarninfo(int point)
|
|
|
|
|
{
|
|
|
|
|
if (pointWarnInfos.ContainsKey(point))
|
|
|
|
|
{
|
|
|
|
|
return pointWarnInfos[point];
|
|
|
|
|
}
|
|
|
|
|
return string.Empty;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|