using EVCB_OCPP.Packet20.DataTypes;
using EVCB_OCPP.Packet20.Utilites;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EVCB_OCPP.Packet20.Messages
{
public class NotifyEVChargingScheduleRequest
{
///
/// Periods contained in the charging profile are
/// relative to this point in time
///
[Required]
[JsonConverter(typeof(UTCDateTimeConverter))]
public DateTime TimeBase { set; get; }
//
/// Defines the EVSE and connector to which the
/// EV is connected.EvseId may not be 0.
///
[Required]
public int EvseId { set; get; }
//
///Planned energy consumption of the EV over
///time.Always relative to timeBase
///
[Required]
public ChargingScheduleType ChargingSchedule { set; get; }
}
}