AxisVelocityData.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using SQLite.CodeFirst;
  9. namespace OHV.Common.Model
  10. {
  11. public class AxisVelocityData
  12. {
  13. [Autoincrement]
  14. public int id { get; set; }
  15. [Index("AxisName")]
  16. [Required]
  17. public string AxisName { get; set; }
  18. public double AutoRunVelocity { get; set; }
  19. public double AutoRunAccelerate { get; set; }
  20. public double AutoRunDecelerate { get; set; }
  21. public double ManualRunVelocity { get; set; }
  22. public double JogSlow { get; set; }
  23. public double JogFast { get; set; }
  24. public double Tolerance { get; set; }
  25. public DateTime CreateTime { get; set; }
  26. public DateTime EditTime { get; set; }
  27. public AxisVelocityData()
  28. {
  29. this.CreateTime = DateTime.Now;
  30. this.EditTime = DateTime.Now;
  31. }
  32. }
  33. }