using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace MisDataName { public struct QualityDataQueryStruct { public QualityDataQueryStruct(string opName, Control ctrl) { OpName = opName; Ctrl = ctrl; tagType = 0; tagValue = ""; tagID = ""; tagTypeID = 0; tempForm = null; tagValue2 = null; } public QualityDataQueryStruct(string opName,int TagType) { OpName = opName; Ctrl = null; tagType = TagType; tagValue = ""; tagID = ""; tagTypeID = 0; tempForm = null; tagValue2 = null; } public QualityDataQueryStruct(string opName, int TagType, Control ctrl) { OpName = opName; Ctrl = ctrl; tagType = TagType; tagValue = ""; tagID = ""; tagTypeID = 0; tempForm = null; tagValue2 = null; } public QualityDataQueryStruct(string opName, int TagType,object TagValue) { OpName = opName; Ctrl = null; tagType = TagType; tagValue = TagValue; tagID = ""; tagTypeID = 0; tempForm = null; tagValue2 = null; } public QualityDataQueryStruct(string TagID,int TagTypeID , object TagValue, object TagValue2, Form TempForm) { OpName = "" ; Ctrl = null; tagType = 0; tagValue = TagValue; tagID = TagID; tagTypeID = TagTypeID; tempForm = TempForm; tagValue2 = TagValue2; } public string OpName; public Control Ctrl; public int tagType; public object tagValue; public object tagValue2; public string tagID; public int tagTypeID; public Form tempForm; } }