#define BY
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeBoShi.SysCtrl
{
///
/// 裁边算法
///
public enum EdgeDefectType
{
[Description("AI寻边")]
AI = 0,
[Description("传统寻边")]
Def = 1,
}
///
/// 检测算法
///
public enum ImageDefectType
{
[Description("AI有监督")]
Yolo = 0,
[Description("AI无监督")]
Anomalib = 1,
[Description("传统算法")]
Def = 1,
}
public enum LightChannelEnum
{
[Description("通道1")]
CH1 = 1,
[Description("通道2")]
CH2 = 2,
[Description("通道3")]
CH3 = 3,
[Description("通道4")]
CH4 = 4,
[Description("通道5")]
CH5 = 5,
[Description("通道6")]
CH6 = 6,
}
public enum DOName
{
#if BY
三色灯红灯 = 8,
三色灯绿灯 = 10,
三色灯黄灯 = 9,
三色灯蜂鸣器 = 11,
#else
三色灯红灯 = 8,
三色灯绿灯 = 9,
三色灯黄灯 = 10,
三色灯蜂鸣器 = 11,
#endif
启动 = 0,
复位 = 9,
停止 = 1,
打标 = 2,
日光灯 = 15,
}
public enum DIName
{
启动按钮 = 14,
暂停按钮 = 1,
复位按钮 = 2,
门磁 = 11,
}
}