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.
81 lines
1.9 KiB
81 lines
1.9 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace OpcProcessWinService
|
|
{
|
|
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
|
|
|
|
}
|
|
|
|
public enum MESSAGETYPE
|
|
{
|
|
/// <summary>
|
|
/// 加工参数
|
|
/// </summary>
|
|
PRODUCTCODE,
|
|
|
|
/// <summary>
|
|
/// 完成标记
|
|
/// </summary>
|
|
PROCESSFINISH,
|
|
|
|
/// <summary>
|
|
/// 中断信号
|
|
/// </summary>
|
|
INTERRUPT
|
|
}
|
|
}
|
|
}
|