OTSSampleMeasureInfo.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. using OTSDataType;
  2. using OTSModelSharp.ResourceManage;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Drawing;
  6. using System.Runtime.InteropServices;
  7. //namespace OTSMeasureApp
  8. //{
  9. // //MeasureApp 给 SoluWindow 发送添加样品的样品信息
  10. // //public class CTreeSampleParam
  11. // //{
  12. // // public string sSampleTitleName; //样品树显示的样品标题名称
  13. // // public string sWorkSampleName; // 工作样品名称
  14. // // public bool bSwitch; //样品执行开关
  15. // // public bool bParamLock; //样品测量参数锁
  16. // //};
  17. // //MeasureApp 给SampleWindow窗口发送添加样品的样品孔名,测量区域信息
  18. // //public struct SampleMeasurePara
  19. // //{
  20. // // public string sSampleName;
  21. // // public string sampleHoleName;
  22. // // public ShapeType iShape; //测量区域形状
  23. // // public List<PointF> DrawPolygonPointList;//多边形点集合
  24. // // public RectangleF MeasureRect; //测量区域大小
  25. // //};
  26. // //样品属性数据
  27. // public class SamplePropertyData
  28. // {
  29. // public OTS_SAMPLE_PROP_GRID_ITEMS iSampleId; //样品属性ID
  30. // public String sSCaptionName; //样品标题名
  31. // public OTS_ITEM_TYPES iSampleValType; //样品标题名对应值的类型
  32. // public Object SampleVal; //样品标题名对应值,全部是string
  33. // public List<String> comboDownList=new List<string>();//如果iSampleValType是combobox则在此处存储下拉列表
  34. // //public int sampleValueIndex;//属性值对应的枚举列表中的索引值
  35. // public bool bReadOnly; //值的类型
  36. // public string sDescriptionInfo; //描述信息
  37. // }
  38. // //};
  39. // public class SamplePropertyDataGroup //样品信息
  40. // {
  41. // public OTS_SAMPLE_PROP_GRID_ITEM_GROUPS GroupId;
  42. // public String sTitle; //样品名称
  43. // public List<SamplePropertyData> SampleDataList=new List<SamplePropertyData> (); //样品属性数据
  44. // };
  45. // public class OTSSampleVisualPropertyInfo
  46. // {
  47. // const String General_Title = "通用参数组";
  48. // const String Image_Title = "图像扫描参数组";
  49. // const String Image_Process_Title = "图像处理参数组";
  50. // const String XRay_Title = "X-Ray参数组";
  51. // const String SemData_Title = "SEM数据参数组";
  52. // const String MeasureStatu_Title = "测量状态参数组";
  53. // const String MeasureRet_Title = "测量结果参数组";
  54. // public List<SamplePropertyDataGroup> SampleDataGrps;
  55. // //构造函数
  56. // public OTSSampleVisualPropertyInfo()
  57. // {
  58. // SMeasurePara = new SampleMeasurePara();
  59. // SampleDataList = new List<SamplePropertyData>();
  60. // TSampleParam = new CTreeSampleParam();
  61. // SampleDataGrps = new List<SamplePropertyDataGroup>();
  62. // }
  63. // //样品属性数据
  64. // public List<SamplePropertyData> SampleDataList;//保持一个所有条目列表,目的为了兼容以前的代码
  65. // public void AddASampleDataGrp(SamplePropertyDataGroup g)
  66. // {
  67. // SampleDataGrps.Add(g);
  68. // SampleDataList .AddRange(g.SampleDataList);//保持一个所有条目列表目的为了兼容以前的代码
  69. // }
  70. // public List<SamplePropertyDataGroup> GetSampleDataGroups()
  71. // {
  72. // return SampleDataGrps;
  73. // }
  74. // public void ClearGrp()
  75. // {
  76. // SampleDataGrps.Clear();
  77. // SampleDataList.Clear();
  78. // }
  79. // public String sSampleSoluName; //样品的标题名 (Treeview的根节点名)
  80. // public bool bSwitch; //样品参数锁,默认都是false, 当执行测量完成后,设置为true,则客户不允许修改GRID等数据。
  81. // //MeasureApp 给SampleWindow窗口发送添加样品的样品孔名,测量区域信息
  82. // public SampleMeasurePara SMeasurePara;
  83. // public CTreeSampleParam TSampleParam;
  84. // };
  85. //}