public OidInfo() { NameOid = string.Empty; OIDValue = string.Empty; ExpectedValue = string.Empty; InvalidSetValue = string.Empty; Implementation = string.Empty; IsReadable = false; IsWriteable = false; SupportedIndexes = new List <string>(); NonSupportedIndexes = new List <string>(); ValidSetValues = new List <string>(); DataType = SNMP_DATATYPES.ANone; SnmpCallType = SNMP_CALL.Get; }
public OidInfo(OidInfo oi) { // TODO: Complete member initialization this.NameOid = oi.NameOid; this.OIDValue = oi.OIDValue; this.ExpectedValue = oi.ExpectedValue; this.InvalidSetValue = oi.InvalidSetValue; this.Implementation = oi.Implementation; this.SupportedIndexes = SetStringList(oi.SupportedIndexes); this.NonSupportedIndexes = SetStringList(oi.NonSupportedIndexes); this.ValidSetValues = SetStringList(oi.ValidSetValues); this.IsReadable = oi.IsReadable; this.IsWriteable = oi.IsWriteable; this.DataType = oi.DataType; this.SnmpCallType = oi.SnmpCallType; }