JGR.cs 778 B

12345678910111213141516171819202122232425262728
  1. using Newtonsoft.Json;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. namespace AmrControl.DB.Models
  5. {
  6. /// <summary>
  7. /// 小车的数据库模型
  8. /// </summary>
  9. [Table("jgrs")]
  10. public class JGR
  11. {
  12. [JsonIgnore]
  13. [Key]
  14. public long ID { get; set; }
  15. public string jgrSN { get; set; }
  16. public byte jgrType { get; set; }
  17. public byte jgrID { get; set; }
  18. public ushort rcAddr { get; set; }
  19. public byte rcFreqCode { get; set; }
  20. public bool enable { get; set; }
  21. public int positionX { get; set; }
  22. public int positionY { get; set; }
  23. public int displayX { get; set; }
  24. public int displayY { get; set; }
  25. }
  26. }