public ItemValueResult(string itemName, Opc.ResultID resultID, string diagnosticInfo) : base(itemName) { this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; this.ResultID = resultID; this.DiagnosticInfo = diagnosticInfo; }
public AttributeValueCollection() { this.m_attributeID = 0; this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; this.m_values = new ArrayList(); }
public ItemPropertyCollection() { this.m_itemName = null; this.m_itemPath = null; this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; }
public Result(IResult result) { this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; this.ResultID = result.ResultID; this.DiagnosticInfo = result.DiagnosticInfo; }
public Result(Opc.ResultID resultID) { this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; this.ResultID = resultID; this.DiagnosticInfo = null; }
public ItemValueResult(ItemIdentifier item, Opc.ResultID resultID, string diagnosticInfo) : base(item) { this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; this.ResultID = resultID; this.DiagnosticInfo = diagnosticInfo; }
public ItemAttributeCollection() { this.m_startTime = DateTime.MinValue; this.m_endTime = DateTime.MinValue; this.m_attributes = new ArrayList(); this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; }
// Token: 0x0600002A RID: 42 RVA: 0x00002D8B File Offset: 0x00001D8B public virtual string GetErrorText(string locale, ResultID resultID) { if (this.m_server == null) { throw new NotConnectedException(); } return(this.m_server.GetErrorText((locale == null) ? this.m_locale : locale, resultID)); }
public AnnotationValueCollection() { this.m_values = new ArrayList(); this.m_startTime = DateTime.MinValue; this.m_endTime = DateTime.MinValue; this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; }
public ItemValueCollection(ItemIdentifier item) : base(item) { this.m_startTime = DateTime.MinValue; this.m_endTime = DateTime.MinValue; this.m_values = new ArrayList(); this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; }
public EnabledStateResult() { this.m_qualifiedName = null; this.m_enabled = false; this.m_effectivelyEnabled = false; this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; }
// Token: 0x060000DB RID: 219 RVA: 0x0000497E File Offset: 0x0000397E public ResultID(ResultID resultID, long code) { this.m_name = resultID.Name; if (code > 2147483647L) { code = -(4294967296L - code); } this.m_code = (int)code; }
public ItemResult(ItemResult item) : base((Item)item) { this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; if (item != null) { this.ResultID = item.ResultID; this.DiagnosticInfo = item.DiagnosticInfo; } }
/// <summary> /// Initializes a result code with a general result code and a specific result code. /// </summary> public ResultID(ResultID resultID, long code) { m_name = resultID.Name; if (code > Int32.MaxValue) { code = -(((long)UInt32.MaxValue) + 1 - code); } m_code = (int)code; }
public ItemPropertyCollection(ItemIdentifier itemID) { this.m_itemName = null; this.m_itemPath = null; this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; if (itemID != null) { this.m_itemName = itemID.ItemName; this.m_itemPath = itemID.ItemPath; } }
public AttributeValueCollection(AttributeValueCollection collection) { this.m_attributeID = 0; this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; this.m_values = new ArrayList(); this.m_values = new ArrayList(collection.m_values.Count); foreach (AttributeValue value2 in collection.m_values) { this.m_values.Add(value2.Clone()); } }
public AnnotationValueCollection(AnnotationValueCollection item) : base((Item)item) { this.m_values = new ArrayList(); this.m_startTime = DateTime.MinValue; this.m_endTime = DateTime.MinValue; this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; this.m_values = new ArrayList(item.m_values.Count); foreach (ItemValue value2 in item.m_values) { this.m_values.Add(value2.Clone()); } }
public ItemAttributeCollection(ItemAttributeCollection item) : base(item) { this.m_startTime = DateTime.MinValue; this.m_endTime = DateTime.MinValue; this.m_attributes = new ArrayList(); this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; this.m_attributes = new ArrayList(item.m_attributes.Count); foreach (AttributeValueCollection values in item.m_attributes) { if (values != null) { this.m_attributes.Add(values.Clone()); } } }
// Token: 0x060000DC RID: 220 RVA: 0x000049AC File Offset: 0x000039AC public override bool Equals(object target) { if (target != null && target.GetType() == typeof(ResultID)) { ResultID resultID = (ResultID)target; if (resultID.Code != -1 && this.Code != -1) { return(resultID.Code == this.Code && resultID.Name == this.Name); } if (resultID.Name != null && this.Name != null) { return(resultID.Name == this.Name); } } return(false); }
/// <summary> /// Returns true if the target object is equal to the object. /// </summary> public override bool Equals(object target) { if (target != null && target.GetType() == typeof(ResultID)) { ResultID resultID = (ResultID)target; // compare by integer if both specify valid integers. if (resultID.Code != -1 && Code != -1) { return((resultID.Code == Code) && (resultID.Name == Name)); } // compare by name if both specify valid names. if (resultID.Name != null && Name != null) { return(resultID.Name == Name); } } return(false); }
// Token: 0x060000EC RID: 236 RVA: 0x00005339 File Offset: 0x00004339 public ResultIDException(ResultID result) : base(result.ToString()) { this.m_result = result; }
// Token: 0x06000493 RID: 1171 RVA: 0x0000DCF4 File Offset: 0x0000CCF4 public IdentifiedResult(ItemIdentifier item, ResultID resultID, string diagnosticInfo) : base(item) { this.ResultID = resultID; this.DiagnosticInfo = diagnosticInfo; }
// Token: 0x06000492 RID: 1170 RVA: 0x0000DCD9 File Offset: 0x0000CCD9 public IdentifiedResult(ItemIdentifier item, ResultID resultID) : base(item) { this.ResultID = resultID; }
// Token: 0x060000EE RID: 238 RVA: 0x00005392 File Offset: 0x00004392 public ResultIDException(ResultID result, string message, Exception e) : base(result.ToString() + "\r\n" + message, e) { this.m_result = result; }
public ItemResult(ItemIdentifier item) : base(item) { this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; }
public ItemResult() { this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; }
// Token: 0x06000490 RID: 1168 RVA: 0x0000DC9C File Offset: 0x0000CC9C public IdentifiedResult(string itemName, ResultID resultID) : base(itemName) { this.ResultID = resultID; }
// Token: 0x06000491 RID: 1169 RVA: 0x0000DCB7 File Offset: 0x0000CCB7 public IdentifiedResult(string itemName, ResultID resultID, string diagnosticInfo) : base(itemName) { this.ResultID = resultID; this.DiagnosticInfo = diagnosticInfo; }
public ItemResult(Item item, Opc.ResultID resultID) : base(item) { this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; this.ResultID = resultID; }
public ItemValueResult(ItemValue item) : base(item) { this.m_resultID = Opc.ResultID.S_OK; this.m_diagnosticInfo = null; }