IRequest.cs 412 B

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