|
@@ -264,11 +264,9 @@ void area_list::init_monkeycar_area(int id)
|
|
|
|
|
|
int over_time_person = 0;
|
|
int over_time_person = 0;
|
|
DBRes.GetField( "over_time_person",over_time_person, Error );
|
|
DBRes.GetField( "over_time_person",over_time_person, Error );
|
|
- over_time_person*=60;
|
|
|
|
|
|
|
|
int over_time_vehicle = 0;
|
|
int over_time_vehicle = 0;
|
|
DBRes.GetField( "over_time_vehicle",over_time_vehicle, Error );
|
|
DBRes.GetField( "over_time_vehicle",over_time_vehicle, Error );
|
|
- voer_time_vehicle*=60;
|
|
|
|
|
|
|
|
std::string path;
|
|
std::string path;
|
|
DBRes.GetField( "path",path, Error );
|
|
DBRes.GetField( "path",path, Error );
|
|
@@ -404,11 +402,9 @@ void area_list::init_from_db(int id/*=-1*/)
|
|
|
|
|
|
int over_time_person = 0;
|
|
int over_time_person = 0;
|
|
DBRes.GetField( "over_time_person",over_time_person, Error );
|
|
DBRes.GetField( "over_time_person",over_time_person, Error );
|
|
- over_time_person*=60;
|
|
|
|
|
|
|
|
int over_time_vehicle = 0;
|
|
int over_time_vehicle = 0;
|
|
DBRes.GetField( "over_time_vehicle",over_time_vehicle, Error );
|
|
DBRes.GetField( "over_time_vehicle",over_time_vehicle, Error );
|
|
- over_time_vehicle*=60;
|
|
|
|
|
|
|
|
std::string over_speed_vehicle;
|
|
std::string over_speed_vehicle;
|
|
DBRes.GetField( "over_speed_vehicle",over_speed_vehicle, Error );
|
|
DBRes.GetField( "over_speed_vehicle",over_speed_vehicle, Error );
|