namespace iWare.Wms.Core
|
{
|
using iWare.Wms.Core;
|
using Microsoft.EntityFrameworkCore;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
[Table("DataCaptureConfig")]
|
[Comment("Êý¾ÝÊÕ¼¯¹¤ÐòÅäÖÃ")]
|
public class DataCaptureConfig : DEntityBase
|
{
|
/// <summary>
|
/// É豸±àºÅ
|
/// </summary>
|
[Comment("É豸±àºÅ")]
|
[Required, MaxLength(32)]
|
public string EquipmentID { get; set; }
|
|
/// <summary>
|
/// ¹¤ÐòºÅ
|
/// </summary>
|
[Comment("¹¤ÐòºÅ")]
|
[Required, MaxLength(32)]
|
public string WorkingProcedure { get; set; }
|
|
/// <summary>
|
/// Êý¾ÝÊÕ¼¯µã´úÂë
|
/// </summary>
|
[Comment("Êý¾ÝÊÕ¼¯µã´úÂë")]
|
[Required, MaxLength(32)]
|
public string DataCapturePointCode { get; set; }
|
|
/// <summary>
|
/// ÊÕ¼¯ÊÕ¼¯µãÃèÊö
|
/// </summary>
|
[Comment("ÊÕ¼¯ÊÕ¼¯µãÃèÊö")]
|
[MaxLength(32)]
|
public string DataCapturePointCname { get; set; }
|
|
/// <summary>
|
/// ÊÕ¼¯·½Ê½;PLC,NC
|
/// </summary>
|
[Comment("ÊÕ¼¯·½Ê½")]
|
public int DataCaptureType { get; set; }
|
|
/// <summary>
|
/// ÊÕ¼¯PLCÐͺÅ;±ÈÈçÎ÷ÃÅ×ÓS7£¬300ɶµÄ
|
/// </summary>
|
[Comment("ÊÕ¼¯PLCÐͺÅ")]
|
public int DataCapturePLCType { get; set; }
|
|
/// <summary>
|
/// PLCµÄIPµØÖ·
|
/// </summary>
|
[Comment("PLCµÄIPµØÖ·")]
|
[MaxLength(255)]
|
public string PLCIP { get; set; }
|
|
/// <summary>
|
/// PLC¶Ë¿Ú
|
/// </summary>
|
[Comment("PLC¶Ë¿Ú")]
|
public int PLCPort { get; set; }
|
|
/// <summary>
|
/// DB¿éµØÖ·
|
/// </summary>
|
[Comment("DB¿éµØÖ·")]
|
[MaxLength(32)]
|
public string DbNumber { get; set; }
|
|
/// <summary>
|
/// µØÖ·Æ«ÒÆÁ¿
|
/// </summary>
|
[Comment("µØÖ·Æ«ÒÆÁ¿")]
|
[MaxLength(32)]
|
public string Offset { get; set; }
|
|
/// <summary>
|
/// ÊÕ¼¯×Ö¶ÎÀàÐÍ
|
/// </summary>
|
[Comment("ÊÕ¼¯×Ö¶ÎÀàÐÍ")]
|
[MaxLength(32)]
|
public string DataCaptureColumnType { get; set; }
|
|
/// <summary>
|
/// ÊÕ¼¯×ֶ㤶È;¾Í×Ö·û´®ÐÍÓÃ
|
/// </summary>
|
[Comment("ÊÕ¼¯×ֶ㤶È;¾Í×Ö·û´®ÐÍÓÃ")]
|
public int DataCaptureColumnLength { get; set; }
|
|
/// <summary>
|
/// ÊÕ¼¯×ֶζÔÓ¦ÁÐÃû
|
/// </summary>
|
[Comment("ÊÕ¼¯×ֶζÔÓ¦ÁÐÃû")]
|
[MaxLength(255)]
|
public string DataCaptureColumnTabelName { get; set; }
|
|
/// <summary>
|
/// ÊÕ¼¯ÆµÂÊ(΢Ãë)
|
/// </summary>
|
[Comment("ÊÕ¼¯ÆµÂÊ(΢Ãë)")]
|
public int DataCaptureFrequency { get; set; }
|
/// <summary>
|
/// ÊÇ·ñ·´À¡PLC 1:·´À¡PLC 2£º¡£¡£¡£
|
/// </summary>
|
[Comment("ÊÇ·ñ·´À¡PLC")]
|
public int IsFeedback { get; set; }
|
|
}
|
}
|