using OTSDataType; using OTSModelSharp.ResourceManage; using System; using System.Collections.Generic; using System.Drawing; using System.Runtime.InteropServices; //namespace OTSMeasureApp //{ // //MeasureApp 给 SoluWindow 发送添加样品的样品信息 // //public class CTreeSampleParam // //{ // // public string sSampleTitleName; //样品树显示的样品标题名称 // // public string sWorkSampleName; // 工作样品名称 // // public bool bSwitch; //样品执行开关 // // public bool bParamLock; //样品测量参数锁 // //}; // //MeasureApp 给SampleWindow窗口发送添加样品的样品孔名,测量区域信息 // //public struct SampleMeasurePara // //{ // // public string sSampleName; // // public string sampleHoleName; // // public ShapeType iShape; //测量区域形状 // // public List DrawPolygonPointList;//多边形点集合 // // public RectangleF MeasureRect; //测量区域大小 // //}; // //样品属性数据 // public class SamplePropertyData // { // public OTS_SAMPLE_PROP_GRID_ITEMS iSampleId; //样品属性ID // public String sSCaptionName; //样品标题名 // public OTS_ITEM_TYPES iSampleValType; //样品标题名对应值的类型 // public Object SampleVal; //样品标题名对应值,全部是string // public List comboDownList=new List();//如果iSampleValType是combobox则在此处存储下拉列表 // //public int sampleValueIndex;//属性值对应的枚举列表中的索引值 // public bool bReadOnly; //值的类型 // public string sDescriptionInfo; //描述信息 // } // //}; // public class SamplePropertyDataGroup //样品信息 // { // public OTS_SAMPLE_PROP_GRID_ITEM_GROUPS GroupId; // public String sTitle; //样品名称 // public List SampleDataList=new List (); //样品属性数据 // }; // public class OTSSampleVisualPropertyInfo // { // const String General_Title = "通用参数组"; // const String Image_Title = "图像扫描参数组"; // const String Image_Process_Title = "图像处理参数组"; // const String XRay_Title = "X-Ray参数组"; // const String SemData_Title = "SEM数据参数组"; // const String MeasureStatu_Title = "测量状态参数组"; // const String MeasureRet_Title = "测量结果参数组"; // public List SampleDataGrps; // //构造函数 // public OTSSampleVisualPropertyInfo() // { // SMeasurePara = new SampleMeasurePara(); // SampleDataList = new List(); // TSampleParam = new CTreeSampleParam(); // SampleDataGrps = new List(); // } // //样品属性数据 // public List SampleDataList;//保持一个所有条目列表,目的为了兼容以前的代码 // public void AddASampleDataGrp(SamplePropertyDataGroup g) // { // SampleDataGrps.Add(g); // SampleDataList .AddRange(g.SampleDataList);//保持一个所有条目列表目的为了兼容以前的代码 // } // public List GetSampleDataGroups() // { // return SampleDataGrps; // } // public void ClearGrp() // { // SampleDataGrps.Clear(); // SampleDataList.Clear(); // } // public String sSampleSoluName; //样品的标题名 (Treeview的根节点名) // public bool bSwitch; //样品参数锁,默认都是false, 当执行测量完成后,设置为true,则客户不允许修改GRID等数据。 // //MeasureApp 给SampleWindow窗口发送添加样品的样品孔名,测量区域信息 // public SampleMeasurePara SMeasurePara; // public CTreeSampleParam TSampleParam; // }; //}