public PortID(PortSubTypes subType, object subTypeValue) { this.EmptyTLVDataInit(); base.Type = TLVTypes.PortID; this.SubType = subType; this.SubTypeValue = subTypeValue; }
public PortID(PortSubTypes subType, object subTypeValue) { this.EmptyTLVDataInit(); base.Type = TLVTypes.PortID; this.SubType = subType; this.SubTypeValue = subTypeValue; }
/// <summary> /// Creates a Port ID TLV and sets it value /// </summary> /// <param name="subType"> /// The Port ID SubType /// </param> /// <param name="subTypeValue"> /// The subtype's value /// </param> public PortID(PortSubTypes subType, object subTypeValue) { EmptyTLVDataInit(); Type = TLVTypes.PortID; SubType = subType; // method will resize the tlv SubTypeValue = subTypeValue; }
/// <summary> /// Creates a Port ID TLV and sets it value /// </summary> /// <param name="subType"> /// The Port ID SubType /// </param> /// <param name="subTypeValue"> /// The subtype's value /// </param> public PortID(PortSubTypes subType, Object subTypeValue) { log.Debug(""); this.EmptyTLVDataInit(); this.Type = TLVTypes.PortID; this.SubType = subType; // method will resize the tlv this.SubTypeValue = subTypeValue; }