ParameterDefinition.cs 984 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* ==============================================================================
  2. * 功能描述:ParameterDefinition
  3. * 创 建 者:Garrett
  4. * 创建日期:2019/6/22 13:03:46
  5. * ==============================================================================*/
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Linq;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11. namespace JBIM.Component
  12. {
  13. /// <summary>
  14. /// ParameterDefinition
  15. /// </summary>
  16. public class ParameterDefinition
  17. {
  18. public string Id { get; set; }
  19. public string Name { get; set; }
  20. /// <summary>
  21. /// 参数类型:Test,Area,Number,etc
  22. /// </summary>
  23. public ParameterType ParameterType { get; set; }
  24. public bool Visible { get; set; }
  25. }
  26. public enum ParameterType
  27. {
  28. Invalid=-1,
  29. Text=0,
  30. Integer,
  31. Number,
  32. Length,
  33. Area,
  34. Volume,
  35. Angle
  36. }
  37. }