using SqlSugar;
using System;
using System.ComponentModel;
namespace WCS.Entity
{
/////
///// WCS_PLC
/////
//[SugarTable(nameof(WCS_PlcSet), "PLC信息")]
//public class WCS_PlcSet : OBJ
//{
// [SugarColumn(IsIgnore = true)]
// [Obsolete]
// public override int ID { get; set; }
// ///
// /// 编号
// ///
// [SugarColumn(IsPrimaryKey = true, ColumnDescription = "编号", Length = 20)]
// public string Code { get; set; }
// ///
// /// 名称
// ///
// [SugarColumn(ColumnDescription = "名称", Length = 20)]
// public string Name { get; set; }
// ///
// /// IP
// ///
// [SugarColumn(ColumnDescription = "IP", Length = 20)]
// public string IP { get; set; }
// ///
// /// 端口
// ///
// [SugarColumn(ColumnDescription = "端口")]
// public int Port { get; set; } = 102;
// ///
// /// 插槽号
// ///
// [SugarColumn(ColumnDescription = "插槽号")]
// public int Slot { get; set; }
// ///
// /// 机架号
// ///
// [SugarColumn(ColumnDescription = "机架号")]
// public int Rack { get; set; }
// ///
// /// 厂商
// ///
// [SugarColumn(ColumnDescription = "厂商")]
// public PLCType Type { get; set; }
// ///
// /// 型号
// ///
// [SugarColumn(ColumnDescription = "型号")]
// public PLCMODEL Model { get; set; }
//}
/////
///// 设备厂商
/////
//public enum PLCType
//{
// ///
// /// 西门子
// ///
// [Description("西门子")]
// Siemens = 1,
// ///
// /// 三菱
// ///
// [Description("三菱")]
// Mitsubishi = 2,
// ///
// /// AB
// ///
// [Description("AB")]
// AB = 3,
// ///
// /// 欧姆龙
// ///
// [Description("欧姆龙")]
// OMRON = 4,
// ///
// /// 汇川
// ///
// [Description("汇川")]
// INOVANCE = 5,
//}
/////
///// PLC型号
/////
//public enum PLCMODEL
//{
// #region 西门子
// ///
// /// 1200系列
// ///
// [Description("1200系列")]
// S1200 = 1,
// ///
// /// 300系列
// ///
// [Description("300系列")]
// S300 = 2,
// ///
// /// 400系列
// ///
// [Description("400系列")]
// S400 = 3,
// ///
// /// 1500系列PLC
// ///
// [Description("1500系列PLC")]
// S1500 = 4,
// ///
// /// 200的smart系列
// ///
// [Description("200的smart系列")]
// S200Smart = 5,
// ///
// /// 200系统,需要额外配置以太网模块
// ///
// [Description("200系统")]
// S200 = 6
// #endregion 西门子
//}
}