终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
818 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows.Shapes;
  7. namespace WPFDemo
  8. {
  9. public class Segment
  10. {
  11. public List<SimpleSilo> Silos { get; set; } = new List<SimpleSilo>();
  12. public List<SimpleLine> Lines { get; set; } = new List<SimpleLine>();
  13. public class SimpleSilo
  14. {
  15. public string Caption { get; set; }
  16. public string Index { get; set; }
  17. public double Top { get; set; }
  18. public double Left { get; set; }
  19. }
  20. public class SimpleLine {
  21. public double X1 { get; set; }
  22. public double X2 { get; set; }
  23. public double Y1 { get; set; }
  24. public double Y2 { get; set; }
  25. }
  26. }
  27. }