You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
153 lines
3.8 KiB
153 lines
3.8 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace OpcSlushWinService
|
|
{
|
|
public class EnumGeter
|
|
{
|
|
public enum COLUMNTYPE
|
|
{
|
|
/// <summary>
|
|
/// 加工参数
|
|
/// </summary>
|
|
PARAMETER = 0,
|
|
|
|
/// <summary>
|
|
/// 完成标记
|
|
/// </summary>
|
|
COMPLETEFLAG = 1,
|
|
|
|
/// <summary>
|
|
/// 可操作标记
|
|
/// </summary>
|
|
OPERATEFLAG = 2,
|
|
|
|
/// <summary>
|
|
/// 设备扫描条码存储位,如果设备只扫描一个条码,那么捕获该类型信息,直接就是条码信息
|
|
/// </summary>
|
|
EQUIPSCANCODE = 3,
|
|
|
|
/// <summary>
|
|
/// 设备扫描完成标记,如果设备要 扫描多个条码,当扫描完所有的条码后
|
|
/// 设备将该值设为true,捕获该值后将在获取 BARCODE = 8的条码信息
|
|
/// </summary>
|
|
EQUIPSCANFLAG = 4,
|
|
|
|
/// <summary>
|
|
/// 一个设备的多个模块公用的一段数据
|
|
/// </summary>
|
|
PUBLICDATA = 5,
|
|
|
|
/// <summary>
|
|
/// 加工参数读取完成标记写入标记
|
|
/// </summary>
|
|
PARAMETERREADED = 6,
|
|
|
|
|
|
/// <summary>
|
|
/// 程序中断标记
|
|
/// </summary>
|
|
INTERRUPT = 7,
|
|
|
|
|
|
/// <summary>
|
|
/// 存储条码位
|
|
/// </summary>
|
|
BARCODE = 8
|
|
|
|
}
|
|
|
|
public enum MESSAGETYPE
|
|
{
|
|
/// <summary>
|
|
/// 加工参数
|
|
/// </summary>
|
|
PRODUCTCODE,
|
|
|
|
/// <summary>
|
|
/// 完成标记
|
|
/// </summary>
|
|
PROCESSFINISH,
|
|
|
|
/// <summary>
|
|
/// 中断信号
|
|
/// </summary>
|
|
INTERRUPT
|
|
}
|
|
|
|
public enum ProcessType
|
|
{
|
|
/// <summary>
|
|
/// 搪塑
|
|
/// </summary>
|
|
tangsu = 0,
|
|
/// <summary>
|
|
/// 骨架注塑
|
|
/// </summary>
|
|
gujiazhusu = 1,
|
|
/// <summary>
|
|
/// 气囊支架注塑
|
|
/// </summary>
|
|
qinangzhijiazhusu = 2,
|
|
/// <summary>
|
|
/// 风道注塑
|
|
/// </summary>
|
|
fengdaozhusu = 3,
|
|
/// <summary>
|
|
/// 中控之间注塑
|
|
/// </summary>
|
|
zhongkongzhijiazhusu = 4,
|
|
/// <summary>
|
|
/// HUD风道
|
|
/// </summary>
|
|
HUDfengdaozhusu = 5,
|
|
/// <summary>
|
|
/// 冷刀弱化
|
|
/// </summary>
|
|
lengdaoruohua = 6,
|
|
/// <summary>
|
|
/// 火焰加工
|
|
/// </summary>
|
|
huoyanjiagong = 7,
|
|
/// <summary>
|
|
/// 预热
|
|
/// </summary>
|
|
yure = 8,
|
|
/// <summary>
|
|
/// 浇注
|
|
/// </summary>
|
|
jiaozhu = 9,
|
|
/// <summary>
|
|
/// 红外扫描
|
|
/// </summary>
|
|
hongwaisaomiao = 10,
|
|
/// <summary>
|
|
/// 冲切
|
|
/// </summary>
|
|
chongqie = 11,
|
|
/// <summary>
|
|
/// 铣削
|
|
/// </summary>
|
|
xixiao = 12,
|
|
/// <summary>
|
|
/// 铆接
|
|
/// </summary>
|
|
maojie = 13,
|
|
/// <summary>
|
|
/// 超时波焊接
|
|
/// </summary>
|
|
chaoshengbohanjie = 14,
|
|
/// <summary>
|
|
/// 红外焊接
|
|
/// </summary>
|
|
hongwaihanjie = 15,
|
|
/// <summary>
|
|
/// 总成装配
|
|
/// </summary>
|
|
zongchengzhuangpei = 16,
|
|
|
|
}
|
|
}
|
|
}
|
|
|