Ver código fonte

update common_sf gps_type.h

zhangjia 4 anos atrás
pai
commit
ca8853d1b6
1 arquivos alterados com 24 adições e 0 exclusões
  1. 24 0
      src/decition/common/common_sf/gps_type.h

+ 24 - 0
src/decition/common/common_sf/gps_type.h

@@ -99,6 +99,30 @@ namespace iv {
         }
 
      };
+     class StationCmd
+     {
+     public:
+         bool received;
+         uint32_t carID,carMode,emergencyStop,stationStop;
+         bool has_carID,has_carMode,has_emergencyStop,has_stationStop,mode_manual_drive;
+         uint32_t stationID[20];
+         GPS_INS  stationGps[20];
+         uint32_t stationTotalNum;
+         StationCmd()
+         {
+             received=false;
+             has_carID=false;
+             has_carMode=false;
+             has_emergencyStop=false;
+             has_stationStop=false;
+             mode_manual_drive=false;
+             carID=0;
+             carMode=0;
+             emergencyStop=0;
+             stationStop=0;
+             stationTotalNum=0;
+         }
+     };