/// <summary> /// Create a new socket outlet. /// </summary> /// <param name="Plug">The type of the charging plug.</param> /// <param name="Cable">The type of the charging cable.</param> /// <param name="CableLength">The length of the charging cable [mm].</param> public SocketOutlet(PlugTypes Plug, CableType Cable = CableType.unspecified, Double CableLength = 0) { this._Plug = Plug; this._Cable = Cable; this._CableLength = CableLength; }
/// <summary> /// Create a new socket outlet. /// </summary> /// <param name="Plug">The type of the charging plug.</param> /// <param name="Lockable">Whether the charging plug is lockable or not.</param> /// <param name="CableAttached">The type of the charging cable.</param> /// <param name="CableLength">The length of the charging cable [mm].</param> public SocketOutlet(PlugTypes Plug, Boolean Lockable = true, Boolean?CableAttached = null, Double CableLength = 0) { this.Plug = Plug; this.Lockable = Lockable; this.CableAttached = CableAttached; this.CableLength = CableLength; }