-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OcpiLocation object - 2.1.1 properties (validation missing) (#11)
* Location object - add 2.1.1 property - LocationType * OCPI 2.1.1 properties on OcpiCOnnector object --------- Co-authored-by: Lior Ben Ari <[email protected]>
- Loading branch information
1 parent
4992c13
commit d6e3920
Showing
4 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace OCPI; | ||
|
||
public enum LocationType : byte | ||
{ | ||
/// <summary> | ||
/// Parking in public space. | ||
/// </summary> | ||
[EnumMember(Value = "UNKNOWN")] | ||
Unknown = 0, | ||
|
||
//====================================== | ||
|
||
/// <summary> | ||
/// Parking in public space. | ||
/// </summary> | ||
[EnumMember(Value = "ON_STREET")] | ||
OnStreet = 11, | ||
|
||
//====================================== | ||
|
||
/// <summary> | ||
/// Multistorey car park | ||
/// </summary> | ||
[EnumMember(Value = "PARKING_GARAGE")] | ||
ParkingGarage = 21, | ||
|
||
/// <summary> | ||
/// A cleared area that is intended for parking vehicles, | ||
/// i.e. at super markets, bars, etc. | ||
/// </summary> | ||
[EnumMember(Value = "PARKING_LOT")] | ||
ParkingLot = 22, | ||
|
||
/// <summary> | ||
/// Multistorey car park, mainly underground. | ||
/// </summary> | ||
[EnumMember(Value = "UNDERGROUND_GARAGE")] | ||
UndergroundGarage = 23, | ||
|
||
//====================================== | ||
|
||
/// <summary> | ||
/// Parking in public space. | ||
/// </summary> | ||
[EnumMember(Value = "OTHER")] | ||
Other = 255, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters