inital
This commit is contained in:
36
OCPP.Core.Server/Messages_OCPP20/HeartbeatResponse.cs
Normal file
36
OCPP.Core.Server/Messages_OCPP20/HeartbeatResponse.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* OCPP.Core - https://github.com/dallmann-consulting/OCPP.Core
|
||||
* Copyright (C) 2020-2021 dallmann consulting GmbH.
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace OCPP.Core.Server.Messages_OCPP20
|
||||
{
|
||||
#pragma warning disable // Disable all warnings
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.3.1.0 (Newtonsoft.Json v9.0.0.0)")]
|
||||
public partial class HeartbeatResponse
|
||||
{
|
||||
[Newtonsoft.Json.JsonProperty("customData", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
||||
public CustomDataType CustomData { get; set; }
|
||||
|
||||
/// <summary>Contains the current time of the CSMS.
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("currentTime", Required = Newtonsoft.Json.Required.Always)]
|
||||
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
|
||||
public System.DateTimeOffset CurrentTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user