using System.ComponentModel.DataAnnotations;
using WCS.Entity;
namespace WCS.WorkEngineering.Protocol.BCR
{
///
/// 满轮主线读取
///
public interface IBCR83 : IProtocol
{
public short index { get; set; }
[StringLength(50)]
public string BcrCode { get; set; }
[StringLength(50)]
public string BcrCode1 { get; set; }
[StringLength(50)]
public string BcrCode2 { get; set; }
[StringLength(50)]
public string BcrCode3 { get; set; }
[StringLength(50)]
public string BcrCode4 { get; set; }
[StringLength(50)]
public string BcrCode5 { get; set; }
[StringLength(50)]
public string BcrCode6 { get; set; }
[StringLength(50)]
public string BcrCode7 { get; set; }
[StringLength(50)]
public string BcrCode8 { get; set; }
[StringLength(50)]
public string BcrCode9 { get; set; }
[StringLength(50)]
public string BcrCode10 { get; set; }
[StringLength(50)]
public string BcrCode11 { get; set; }
///
/// 获取历史扫码记录
///
///
public List GetBcrCodeList()
{
return new List() {
BcrCode1.Trim('\0'),
BcrCode2.Trim('\0'),
BcrCode3.Trim('\0'),
BcrCode4.Trim('\0'),
BcrCode5.Trim('\0'),
BcrCode6.Trim('\0'),
BcrCode7.Trim('\0'),
BcrCode8.Trim('\0'),
BcrCode9.Trim('\0'),
BcrCode10.Trim('\0'),
BcrCode11.Trim('\0') };
}
}
}