ProcessCallCmd.cs 482 B

12345678910111213141516171819
  1. using OCPPServer.Protocol;
  2. using SuperWebSocket.SubProtocol;
  3. using System.Threading.Tasks;
  4. namespace EVCB_OCPP.WSServer.SuperSocket.Command
  5. {
  6. public class ProcessCallCmd : SubCommandBase<ClientData>
  7. {
  8. public override void ExecuteCommand(ClientData session, SubRequestInfo requestInfo)
  9. {
  10. session.ReceiveData(session, requestInfo.Body);
  11. }
  12. public override string Name
  13. {
  14. get { return "2"; }
  15. }
  16. }
  17. }