天津投入产出系统后端
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.
 
 
 
 
 
 

129 lines
2.9 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace OpcServerHost.Common
{
public class OpcEnumGeter
{
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,
/// <summary>
/// 临时完成值
/// </summary>
TEMPVALUE = 9,
/// <summary>
/// 临时完成标记
/// </summary>
TEMPCOMPLETE = 10,
/// <summary>
/// 模架号
/// </summary>
MOULDNUMBER = 11
}
public enum MESSAGETYPE
{
/// <summary>
/// 加工参数
/// </summary>
PRODUCTCODE,
/// <summary>
/// 完成标记
/// </summary>
PROCESSFINISH,
/// <summary>
/// 中断信号
/// </summary>
INTERRUPT,
/// <summary>
/// 中断信号
/// </summary>
MOULDNUMBER
}
public enum SENDORDERTYPE
{
/// <summary>
/// 操作指令
/// </summary>
OPERATEORDER,
/// <summary>
/// 配置指令
/// </summary>
CONFIGORDER,
/// <summary>
/// 清空指令
/// </summary>
RECOVERYORDER
}
public enum ORDERTYPE
{
//不可操作命令
NOK,
//可操作命令
OK,
//撤回
RECOVER
}
}
}