IRequest.cs 441 B

1234567891011121314151617181920
  1. using EVCB_OCPP.Packet.Features;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace EVCB_OCPP.Packet.Messages
  8. {
  9. public interface IRequest:IValidatable
  10. {
  11. string Action { get; set; }
  12. /// <summary>
  13. /// 是否是交易相關的Request
  14. /// </summary>
  15. /// <returns></returns>
  16. bool TransactionRelated();
  17. }
  18. }