-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new OCPP v2.1 SEND message support. New TestChargingStation partl…
…y wired
- Loading branch information
Showing
22 changed files
with
9,494 additions
and
151 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/* | ||
* Copyright (c) 2014-2024 GraphDefined GmbH <[email protected]> | ||
* This file is part of WWCP OCPP <https://github.com/OpenChargingCloud/WWCP_OCPP> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
#region Usings | ||
|
||
using org.GraphDefined.Vanaheimr.Illias; | ||
|
||
using cloud.charging.open.protocols.OCPPv2_1.NetworkingNode; | ||
|
||
#endregion | ||
|
||
namespace cloud.charging.open.protocols.OCPPv2_1 | ||
{ | ||
|
||
/// <summary> | ||
/// The common interface of all "send" messages. | ||
/// </summary> | ||
public interface IMessage : ISignableMessage | ||
{ | ||
|
||
/// <summary> | ||
/// The networking node identification of the message sender or destination. | ||
/// </summary> | ||
[Mandatory] | ||
NetworkingNode_Id DestinationId { get; } | ||
|
||
/// <summary> | ||
/// The network path of the request. | ||
/// </summary> | ||
[Mandatory] | ||
NetworkPath NetworkPath { get; } | ||
|
||
/// <summary> | ||
/// The message identification. | ||
/// </summary> | ||
[Mandatory] | ||
Request_Id MessageId { get; } | ||
|
||
/// <summary> | ||
/// The timestamp of the message creation. | ||
/// </summary> | ||
[Mandatory] | ||
DateTime SentTimestamp { get; } | ||
|
||
/// <summary> | ||
/// The event tracking identification for correlating this message with other events. | ||
/// </summary> | ||
[Mandatory] | ||
EventTracking_Id EventTrackingId { get; } | ||
|
||
/// <summary> | ||
/// The OCPP HTTP Web Socket action. | ||
/// </summary> | ||
[Mandatory] | ||
String Action { get; } | ||
|
||
/// <summary> | ||
/// The custom data object to allow to store any kind of customer specific data. | ||
/// </summary> | ||
[Optional] | ||
CustomData? CustomData { get; } | ||
|
||
/// <summary> | ||
/// An optional token to cancel this message. | ||
/// </summary> | ||
CancellationToken CancellationToken { get; } | ||
|
||
} | ||
|
||
} |
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
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
Oops, something went wrong.