|
@@ -30,14 +30,14 @@ struct msgunit
|
|
|
|
|
|
uint8_t gShift_Status = 3;
|
|
|
|
|
|
-std::string gstrserverip = "139.9.235.66";
|
|
|
+std::string gstrserverip = "111.33.136.150";
|
|
|
std::string gstruploadPort = "10591";
|
|
|
std::string gstrpatrolPort = "10592";
|
|
|
std::string gstrcontrolPort = "20591";
|
|
|
std::string gstruploadInterval = "500";
|
|
|
-std::string gstrpatrolInterval = "500";
|
|
|
+std::string gstrpatrolInterval = "1000";
|
|
|
std::string gstrcontrolInterval = "100";
|
|
|
-std::string gstruploadMapInterval = "500";
|
|
|
+std::string gstruploadMapInterval = "1000";
|
|
|
std::string gstrid = "1234567890123456789H";
|
|
|
std::string gstrplateNumber = "津A123456";
|
|
|
|
|
@@ -206,17 +206,17 @@ int main(int argc, char *argv[])
|
|
|
vehicleuploaddata->start();
|
|
|
|
|
|
|
|
|
- VehicleChangeCtrlModeClient *vehiclechangectrlmode = new VehicleChangeCtrlModeClient(grpc::CreateChannel(control_str, grpc::InsecureChannelCredentials()));
|
|
|
- VehicleControlClient *vehiclecontrol = new VehicleControlClient(grpc::CreateChannel(control_str, grpc::InsecureChannelCredentials()));
|
|
|
- qRegisterMetaType<org::jeecg::defsControl::grpc::CtrlMode>("org::jeecg::defsControl::grpc::CtrlMode");
|
|
|
- QObject::connect(vehiclechangectrlmode,&VehicleChangeCtrlModeClient::ctrlMode_Changed,vehiclecontrol,&VehicleControlClient::ctrlMode_Changed_Slot);
|
|
|
- vehiclechangectrlmode->start();
|
|
|
- vehiclecontrol->start();
|
|
|
-
|
|
|
- VehicleUploadMapClient *vehicleuploadmap = new VehicleUploadMapClient(grpc::CreateChannel(control_str, grpc::InsecureChannelCredentials()));
|
|
|
- QObject::connect(vehicleuploadmap,&VehicleUploadMapClient::patrolPOI_Recieved,vehicleuploaddata,&DataExchangeClient::patrolPOI_Recieved_Slot);
|
|
|
- QObject::connect(vehicleuploaddata,&DataExchangeClient::uploadPath_Finished,vehicleuploadmap,&VehicleUploadMapClient::uploadPath_Finished_Slot);
|
|
|
- vehicleuploadmap->start();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|