IStation23.cs 703 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Runtime.Serialization;
  6. using System.Text;
  7. namespace WCS.Protocol.SX.Station
  8. {
  9. [Description("扫码")]
  10. public interface IStation23:IProtocol
  11. {
  12. [Description("已读数量")]
  13. short ReadQty { get; set; }
  14. [Description("任务号")]
  15. [MaxLength(6)]
  16. int[] TaskArray { get; set; }
  17. }
  18. [DataContract]
  19. public class WCS_Station23 : IStation23
  20. {
  21. [DataMember(Order =0)]
  22. public short ReadQty { get; set; }
  23. [DataMember(Order = 1)]
  24. public int[] TaskArray { get; set; }
  25. }
  26. }