terminal_message.proto 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. syntax = "proto2";
  2. package message;
  3. import "message_base.proto";
  4. message Store_command_request_msg
  5. {
  6. required Base_info base_info=1; //消息类型
  7. required Id_struct id_struct=2; //终端id
  8. required Locate_information locate_information=3; //终端测量数据,主要需要车高和车宽
  9. required Car_info car_info=4; //车辆标识(车牌号)
  10. }
  11. message Store_command_response_msg
  12. {
  13. required Base_info base_info=1; //消息类型
  14. required Id_struct id_struct=2; //终端id
  15. required Error_manager code=3; //请求结果码
  16. optional string license=4;
  17. }
  18. message Pickup_command_request_msg
  19. {
  20. required Base_info base_info=1; //消息类型
  21. required Id_struct id_struct=2; //终端id
  22. required Car_info car_info=4; //车辆信息
  23. }
  24. message Pickup_command_response_msg
  25. {
  26. required Base_info base_info=1; //消息类型
  27. required Id_struct id_struct=2; //终端id
  28. required Error_manager code=3; //请求结果码
  29. optional string license=4;
  30. }