BarcodeReaderDeviceConfig.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using MECF.Framework.Common.CommonData;
  2. using MECF.Framework.Common.Device.ResistivityProbe;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Xml.Schema;
  9. using System.Xml.Serialization;
  10. namespace MECF.Framework.Common.Device.BarcodeReader
  11. {
  12. public class BarcodeReaderDeviceConfig : NotifiableItem
  13. {
  14. [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  15. public string Name { get; set; }
  16. [XmlAttribute(AttributeName = "BaudRate", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  17. public int BaudRate { get; set; }
  18. [XmlAttribute(AttributeName = "Parity", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  19. public string Parity { get; set; }
  20. [XmlAttribute(AttributeName = "Data", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  21. public int Data { get; set; }
  22. [XmlAttribute(AttributeName = "StopBit", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  23. public int StopBit { get; set; }
  24. [XmlAttribute(AttributeName = "Port", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  25. public string Port { get; set; }
  26. }
  27. }