CREATE DATABASE  IF NOT EXISTS `zhnyva_peremogy` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `zhnyva_peremogy`;
-- MySQL dump 10.13  Distrib 8.0.36, for Win64 (x86_64)
--
-- Host: localhost    Database: zhnyva_peremogy
-- ------------------------------------------------------
-- Server version	5.7.44-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `agro_params`
--

DROP TABLE IF EXISTS `agro_params`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `agro_params` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Number` int(11) NOT NULL COMMENT 'Номер параметра',
  `Value` varchar(100) DEFAULT NULL COMMENT 'Значение',
  `Description` varchar(50) DEFAULT NULL COMMENT 'Описание',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Таблица параметров';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `agro_params`
--

LOCK TABLES `agro_params` WRITE;
/*!40000 ALTER TABLE `agro_params` DISABLE KEYS */;
/*!40000 ALTER TABLE `agro_params` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `commands`
--

DROP TABLE IF EXISTS `commands`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `commands` (
  `ID` int(11) DEFAULT '0',
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `commands`
--

LOCK TABLES `commands` WRITE;
/*!40000 ALTER TABLE `commands` DISABLE KEYS */;
INSERT INTO `commands` VALUES (10,'DRIVER_MESSAGE_SET_D',NULL),(11,'CONFIG_SMS_SET_D',NULL),(12,'CONFIG_TEL_SET_D',NULL),(13,'CONFIG_EVENT_SET_D',NULL),(14,'CONFIG_UNIQUE_SET_D',NULL),(15,'CONFIG_ZONE_SET_D',NULL),(17,'CONFIG_ID_SET_D',NULL),(18,'CONFIG_OTHER_SET_D',NULL),(20,'DRIVER_MESSAGE_SET_M',NULL),(21,'CONFIG_SMS_SET_M',NULL),(22,'CONFIG_TEL_SET_M',NULL),(23,'CONFIG_EVENT_SET_M',NULL),(24,'CONFIG_UNIQUE_SET_M',NULL),(25,'CONFIG_ZONE_SET_M',NULL),(27,'CONFIG_ID_SET_M',NULL),(28,'CONFIG_OTHER_SET_M',NULL),(31,'CONFIG_SMS_GET_D',NULL),(32,'CONFIG_TEL_GET_D',NULL),(33,'CONFIG_EVENT_GET_D',NULL),(34,'CONFIG_UNIQUE_GET_D',NULL),(35,'CONFIG_ZONE_GET_D',NULL),(36,'DATA_GPS_GET_D',NULL),(37,'CONFIG_ID_GET_D',NULL),(38,'CONFIG_OTHER_GET_D',NULL),(41,'CONFIG_SMS_GET_M',NULL),(42,'CONFIG_TEL_GET_M',NULL),(43,'CONFIG_EVENT_GET_M',NULL),(44,'CONFIG_UNIQUE_GET_M',NULL),(45,'CONFIG_ZONE_GET_M',NULL),(46,'DATA_GPS_GET_M',NULL),(47,'CONFIG_ID_GET_M',NULL),(48,'CONFIG_OTHER_GET_M',NULL),(49,'AUTO_SEND_GET_M',NULL),(99,'ERROR_COMMAND','Невозможно раскодировать входящее сообщение'),(102,'MOBITEL_SERVICE_SEND',NULL),(103,'INTERNAL_1',NULL),(104,'INTERNAL_2',NULL),(105,'INTERNAL_3',NULL),(50,'CONFIG_GPRS_MAIN_SET_D',NULL),(51,'CONFIG_GPRS_EMAIL_SET_D',NULL),(52,'CONFIG_GPRS_SOCKET_SET_D',NULL),(53,'CONFIG_GPRS_FTP_SET_D',NULL),(60,'CONFIG_GPRS_MAIN_SET_M',NULL),(61,'CONFIG_GPRS_EMAIL_SET_M',NULL),(62,'CONFIG_GPRS_SOCKET_SET_M',NULL),(63,'CONFIG_GPRS_FTP_SET_M',NULL),(70,'CONFIG_GPRS_MAIN_GET_D',NULL),(71,'CONFIG_GPRS_EMAIL_GET_D',NULL),(72,'CONFIG_GPRS_SOCKET_GET_D',NULL),(73,'CONFIG_GPRS_FTP_GET_D',NULL),(80,'CONFIG_GPRS_MAIN_GET_M',NULL),(81,'CONFIG_GPRS_EMAIL_GET_M',NULL),(82,'CONFIG_GPRS_SOCKET_GET_M',NULL),(83,'CONFIG_GPRS_FTP_GET_M',NULL),(54,'CONFIG_GPRS_INIT_SET_D',NULL),(64,'CONFIG_GPRS_INIT_SET_M',NULL),(74,'CONFIG_GPRS_INIT_GET_D',NULL),(84,'CONFIG_GPRS_INIT_GET_M',NULL);
/*!40000 ALTER TABLE `commands` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configdrivermessage`
--

DROP TABLE IF EXISTS `configdrivermessage`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configdrivermessage` (
  `ConfigDriverMessage_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `DriverMessage` char(200) DEFAULT NULL,
  PRIMARY KEY (`ConfigDriverMessage_ID`),
  KEY `Index_2` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configdrivermessage`
--

LOCK TABLES `configdrivermessage` WRITE;
/*!40000 ALTER TABLE `configdrivermessage` DISABLE KEYS */;
/*!40000 ALTER TABLE `configdrivermessage` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configevent`
--

DROP TABLE IF EXISTS `configevent`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configevent` (
  `ConfigEvent_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `tmr1Log` int(11) DEFAULT '0',
  `tmr2Send` int(11) DEFAULT '0',
  `tmr3Zone` int(11) DEFAULT '0',
  `dist1Log` int(11) DEFAULT '0',
  `dist2Send` int(11) DEFAULT '0',
  `dist3Zone` int(11) DEFAULT '0',
  `deltaTimeZone` int(11) DEFAULT '0',
  `gprsEmail` int(11) NOT NULL DEFAULT '0',
  `gprsFtp` int(11) NOT NULL DEFAULT '0',
  `gprsSocket` int(11) NOT NULL DEFAULT '0',
  `maskSensor` char(50) DEFAULT NULL,
  `maskEvent1` int(11) DEFAULT '0',
  `maskEvent2` int(11) DEFAULT '0',
  `maskEvent3` int(11) DEFAULT '0',
  `maskEvent4` int(11) DEFAULT '0',
  `maskEvent5` int(11) DEFAULT '0',
  `maskEvent6` int(11) DEFAULT '0',
  `maskEvent7` int(11) DEFAULT '0',
  `maskEvent8` int(11) DEFAULT '0',
  `maskEvent9` int(11) DEFAULT '0',
  `maskEvent10` int(11) DEFAULT '0',
  `maskEvent11` int(11) DEFAULT '0',
  `maskEvent12` int(11) DEFAULT '0',
  `maskEvent13` int(11) DEFAULT '0',
  `maskEvent14` int(11) DEFAULT '0',
  `maskEvent15` int(11) DEFAULT '0',
  `maskEvent16` int(11) DEFAULT '0',
  `maskEvent17` int(11) DEFAULT '0',
  `maskEvent18` int(11) DEFAULT '0',
  `maskEvent19` int(11) DEFAULT '0',
  `maskEvent20` int(11) DEFAULT '0',
  `maskEvent21` int(11) DEFAULT '0',
  `maskEvent22` int(11) DEFAULT '0',
  `maskEvent23` int(11) DEFAULT '0',
  `maskEvent24` int(11) DEFAULT '0',
  `maskEvent25` int(11) DEFAULT '0',
  `maskEvent26` int(11) DEFAULT '0',
  `maskEvent27` int(11) DEFAULT '0',
  `maskEvent28` int(11) DEFAULT '0',
  `maskEvent29` int(11) DEFAULT '0',
  `maskEvent30` int(11) DEFAULT '0',
  `maskEvent31` int(11) DEFAULT '0',
  PRIMARY KEY (`ConfigEvent_ID`),
  KEY `Index_2` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configevent`
--

LOCK TABLES `configevent` WRITE;
/*!40000 ALTER TABLE `configevent` DISABLE KEYS */;
INSERT INTO `configevent` VALUES (1,'','',1,0,0,0,0,0,0,0,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),(2,'','',2,0,0,0,0,0,0,0,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
/*!40000 ALTER TABLE `configevent` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configgprsemail`
--

DROP TABLE IF EXISTS `configgprsemail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configgprsemail` (
  `ConfigGprsEmail_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(50) DEFAULT NULL,
  `Descr` varchar(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Smtpserv` varchar(50) NOT NULL DEFAULT '',
  `Smtpun` varchar(50) NOT NULL DEFAULT '',
  `Smtppw` varchar(50) NOT NULL DEFAULT '',
  `Pop3serv` varchar(50) NOT NULL DEFAULT '',
  `Pop3un` varchar(50) NOT NULL DEFAULT '',
  `Pop3pw` varchar(50) NOT NULL DEFAULT '',
  PRIMARY KEY (`ConfigGprsEmail_ID`),
  KEY `Index_2` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configgprsemail`
--

LOCK TABLES `configgprsemail` WRITE;
/*!40000 ALTER TABLE `configgprsemail` DISABLE KEYS */;
INSERT INTO `configgprsemail` VALUES (1,'','',1,0,0,'','','','','',''),(2,'','',2,0,0,'','','','','','');
/*!40000 ALTER TABLE `configgprsemail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configgprsinit`
--

DROP TABLE IF EXISTS `configgprsinit`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configgprsinit` (
  `ConfigGprsInit_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(50) DEFAULT NULL,
  `Descr` varchar(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Domain` varchar(50) NOT NULL DEFAULT '0',
  `InitString` varchar(200) NOT NULL DEFAULT '',
  PRIMARY KEY (`ConfigGprsInit_ID`),
  KEY `Index_2` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configgprsinit`
--

LOCK TABLES `configgprsinit` WRITE;
/*!40000 ALTER TABLE `configgprsinit` DISABLE KEYS */;
/*!40000 ALTER TABLE `configgprsinit` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configgprsmain`
--

DROP TABLE IF EXISTS `configgprsmain`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configgprsmain` (
  `ConfigGprsMain_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(50) DEFAULT NULL,
  `Descr` varchar(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Mode` int(11) NOT NULL DEFAULT '0',
  `Apnserv` varchar(50) NOT NULL DEFAULT '',
  `Apnun` varchar(50) NOT NULL DEFAULT '',
  `Apnpw` varchar(50) NOT NULL DEFAULT '',
  `Dnsserv1` varchar(50) NOT NULL DEFAULT '',
  `Dialn1` varchar(50) NOT NULL DEFAULT '',
  `Ispun` varchar(50) NOT NULL DEFAULT '',
  `Isppw` varchar(50) NOT NULL DEFAULT '',
  PRIMARY KEY (`ConfigGprsMain_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configgprsmain`
--

LOCK TABLES `configgprsmain` WRITE;
/*!40000 ALTER TABLE `configgprsmain` DISABLE KEYS */;
INSERT INTO `configgprsmain` VALUES (1,'','',1,0,0,0,'','','','','','',''),(2,'','',2,0,0,0,'','','','','','','');
/*!40000 ALTER TABLE `configgprsmain` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configmain`
--

DROP TABLE IF EXISTS `configmain`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configmain` (
  `ConfigMain_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `ConfigOther_ID` int(11) DEFAULT '0',
  `ConfigDriverMessage_ID` int(11) DEFAULT '0',
  `ConfigEvent_ID` int(11) DEFAULT '0',
  `ConfigUnique_ID` int(11) DEFAULT '0',
  `ConfigZoneSet_ID` int(11) DEFAULT '0',
  `ConfigSensorSet_ID` int(11) DEFAULT '0',
  `ConfigTel_ID` int(11) DEFAULT '0',
  `ConfigSms_ID` int(11) DEFAULT '0',
  `Mobitel_ID` int(11) DEFAULT '0',
  `ConfigGprsMain_ID` int(11) NOT NULL DEFAULT '0',
  `ConfigGprsEmail_ID` int(11) NOT NULL DEFAULT '0',
  `ConfigGprsInit_ID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ConfigMain_ID`),
  KEY `Index_2` (`Mobitel_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configmain`
--

LOCK TABLES `configmain` WRITE;
/*!40000 ALTER TABLE `configmain` DISABLE KEYS */;
INSERT INTO `configmain` VALUES (1,'','',0,0,50,50,1,50,50,50,1,1,842020656,1,1,50),(2,'','',0,0,50,50,2,50,50,50,2,2,842281273,2,2,50);
/*!40000 ALTER TABLE `configmain` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configother`
--

DROP TABLE IF EXISTS `configother`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configother` (
  `ConfigOther_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Pin` int(11) DEFAULT '0',
  `Lang` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  PRIMARY KEY (`ConfigOther_ID`),
  KEY `Index_2` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configother`
--

LOCK TABLES `configother` WRITE;
/*!40000 ALTER TABLE `configother` DISABLE KEYS */;
/*!40000 ALTER TABLE `configother` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configsensorset`
--

DROP TABLE IF EXISTS `configsensorset`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configsensorset` (
  `ConfigSensorSet_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  PRIMARY KEY (`ConfigSensorSet_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configsensorset`
--

LOCK TABLES `configsensorset` WRITE;
/*!40000 ALTER TABLE `configsensorset` DISABLE KEYS */;
/*!40000 ALTER TABLE `configsensorset` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configsms`
--

DROP TABLE IF EXISTS `configsms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configsms` (
  `ConfigSms_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `smsCenter_ID` int(11) DEFAULT '0',
  `smsDspt_ID` int(11) DEFAULT '0',
  `smsEmailGate_ID` int(11) DEFAULT '0',
  `dsptEmail` char(14) DEFAULT NULL,
  `dsptGprsEmail` char(50) DEFAULT NULL,
  PRIMARY KEY (`ConfigSms_ID`),
  KEY `Index_2` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configsms`
--

LOCK TABLES `configsms` WRITE;
/*!40000 ALTER TABLE `configsms` DISABLE KEYS */;
INSERT INTO `configsms` VALUES (1,'','',1,0,0,0,0,0,NULL,NULL),(2,'','',2,0,0,0,0,0,NULL,NULL);
/*!40000 ALTER TABLE `configsms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configtel`
--

DROP TABLE IF EXISTS `configtel`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configtel` (
  `ConfigTel_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `telSOS` int(11) DEFAULT '0',
  `telDspt` int(11) DEFAULT '0',
  `telAccept1` int(11) DEFAULT '0',
  `telAccept2` int(11) DEFAULT '0',
  `telAccept3` int(11) DEFAULT '0',
  `telAnswer` int(11) DEFAULT '0',
  PRIMARY KEY (`ConfigTel_ID`),
  KEY `Index_2` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configtel`
--

LOCK TABLES `configtel` WRITE;
/*!40000 ALTER TABLE `configtel` DISABLE KEYS */;
INSERT INTO `configtel` VALUES (1,'','',1,0,0,0,0,0,0,0,0),(2,'','',2,0,0,0,0,0,0,0,0);
/*!40000 ALTER TABLE `configtel` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configunique`
--

DROP TABLE IF EXISTS `configunique`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configunique` (
  `ConfigUnique_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `pswd` char(8) DEFAULT NULL,
  `tmpPswd` char(8) DEFAULT NULL,
  `dsptId` char(4) DEFAULT NULL,
  PRIMARY KEY (`ConfigUnique_ID`),
  KEY `Index_2` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configunique`
--

LOCK TABLES `configunique` WRITE;
/*!40000 ALTER TABLE `configunique` DISABLE KEYS */;
/*!40000 ALTER TABLE `configunique` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `configzoneset`
--

DROP TABLE IF EXISTS `configzoneset`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `configzoneset` (
  `ConfigZoneSet_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  PRIMARY KEY (`ConfigZoneSet_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configzoneset`
--

LOCK TABLES `configzoneset` WRITE;
/*!40000 ALTER TABLE `configzoneset` DISABLE KEYS */;
/*!40000 ALTER TABLE `configzoneset` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `data_zones`
--

DROP TABLE IF EXISTS `data_zones`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `data_zones` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `DataGps_ID` int(11) DEFAULT NULL,
  `Zone_ID` int(11) DEFAULT NULL,
  `Zone_IO` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `data_zones`
--

LOCK TABLES `data_zones` WRITE;
/*!40000 ALTER TABLE `data_zones` DISABLE KEYS */;
/*!40000 ALTER TABLE `data_zones` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagps`
--

DROP TABLE IF EXISTS `datagps`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagps` (
  `DataGps_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Mobitel_ID` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Latitude` int(11) DEFAULT '0',
  `Longitude` int(11) DEFAULT '0',
  `Altitude` int(11) DEFAULT NULL,
  `UnixTime` int(11) DEFAULT '0',
  `Speed` smallint(6) DEFAULT '0',
  `Direction` int(11) NOT NULL DEFAULT '0',
  `Valid` tinyint(4) DEFAULT '1',
  `InMobitelID` int(11) DEFAULT NULL,
  `Events` int(10) unsigned DEFAULT '0',
  `Sensor1` tinyint(4) unsigned DEFAULT '0',
  `Sensor2` tinyint(4) unsigned DEFAULT '0',
  `Sensor3` tinyint(4) unsigned DEFAULT '0',
  `Sensor4` tinyint(4) unsigned DEFAULT '0',
  `Sensor5` tinyint(4) unsigned DEFAULT '0',
  `Sensor6` tinyint(4) unsigned DEFAULT '0',
  `Sensor7` tinyint(4) unsigned DEFAULT '0',
  `Sensor8` tinyint(4) unsigned DEFAULT '0',
  `LogID` int(11) DEFAULT '0',
  `isShow` tinyint(4) DEFAULT '0',
  `whatIs` smallint(6) unsigned DEFAULT '0',
  `Counter1` int(11) NOT NULL DEFAULT '-1',
  `Counter2` int(11) NOT NULL DEFAULT '-1',
  `Counter3` int(11) NOT NULL DEFAULT '-1',
  `Counter4` int(11) NOT NULL DEFAULT '-1',
  `SrvPacketID` bigint(20) NOT NULL DEFAULT '0' COMMENT 'ID серверного пакета в состав которого входит эта запись',
  PRIMARY KEY (`DataGps_ID`),
  UNIQUE KEY `BMC_MobitelID_LogID_UnixTime_UNIQUE` (`Mobitel_ID`,`LogID`,`UnixTime`),
  KEY `Index_3` (`Mobitel_ID`,`UnixTime`,`Valid`),
  KEY `IDX_MobitelIDSrvPacketID` (`Mobitel_ID`,`SrvPacketID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagps`
--

LOCK TABLES `datagps` WRITE;
/*!40000 ALTER TABLE `datagps` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagps` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagps64`
--

DROP TABLE IF EXISTS `datagps64`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagps64` (
  `DataGps_ID` bigint(20) NOT NULL AUTO_INCREMENT,
  `Mobitel_ID` int(11) NOT NULL DEFAULT '0' COMMENT 'РљРѕРґ РўРµР»РµС‚СЂРµРєР°',
  `Latitude` int(11) NOT NULL DEFAULT '0' COMMENT 'РЁРёСЂРѕС‚Р°',
  `Longitude` int(11) NOT NULL DEFAULT '0' COMMENT 'Р”РѕР»РіРѕС‚Р°',
  `Direction` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'РіСЂР°РґСѓСЃС‹/1.5',
  `Acceleration` int(11) NOT NULL DEFAULT '0' COMMENT 'РР·РјРµРЅРµРЅРёРµ СЃРєРѕСЂРѕСЃС‚Рё РїРѕ GPS Р·Р° РїРѕСЃР»РµРґРЅСЋСЋ СЃРµРєСѓРЅРґСѓ',
  `UnixTime` int(11) NOT NULL DEFAULT '0',
  `Speed` smallint(6) NOT NULL DEFAULT '0' COMMENT 'РЎРѕС‚РµРЅ РјРµС‚СЂРѕРІ РІ С‡Р°СЃ (0,1 РєРј/С‡)',
  `Valid` tinyint(1) NOT NULL DEFAULT '1',
  `Satellites` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'РљРѕР»РёС‡РµСЃС‚РІРѕ СЃРїСѓС‚РЅРёРєРѕРІ ',
  `RssiGsm` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'РЈСЂРѕРІРµРЅСЊ GSM СЃРёРіРЅР°Р»Р°',
  `Events` int(11) NOT NULL DEFAULT '0' COMMENT 'Р¤Р»Р°РіРё СЃРѕР±С‹С‚РёР№',
  `SensorsSet` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'РљРѕРґ РЅР°Р±РѕСЂР° РґР°С‚С‡РёРєРѕРІ',
  `Sensors` varbinary(50) NOT NULL DEFAULT '0' COMMENT 'Р—РЅР°С‡РµРЅРёСЏ РґР°С‚С‡РёРєРѕРІ',
  `Voltage` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT 'РќР°РїСЂСЏР¶РµРЅРёРµ РїРёС‚Р°РЅРёСЏ С‚РµРєСѓС‰РµРіРѕ РёСЃС‚РѕС‡РЅРёРєР°/1.5 РѕС‚ 0 РґРѕ 38,2',
  `DGPS` varchar(32) DEFAULT NULL,
  `LogID` int(11) NOT NULL DEFAULT '0' COMMENT 'РРґРµРЅС‚РёС„РёРєР°С‚РѕСЂ Р·Р°РїРёСЃРё РІ Р¶СѓСЂРЅР°Р»Рµ РўРµР»РµС‚СЂРµРєР°',
  `SrvPacketID` bigint(20) NOT NULL DEFAULT '0' COMMENT 'ID СЃРµСЂРІРµСЂРЅРѕРіРѕ РїР°РєРµС‚Р° РІ СЃРѕСЃС‚Р°РІ РєРѕС‚РѕСЂРѕРіРѕ РІС…РѕРґРёС‚ СЌС‚Р° Р·Р°РїРёСЃСЊ',
  PRIMARY KEY (`DataGps_ID`),
  UNIQUE KEY `BMC_MobitelID_LogID_UnixTime_UNIQUE` (`Mobitel_ID`,`LogID`,`UnixTime`),
  KEY `IDX_MobitelIDSrvPacketID64` (`Mobitel_ID`,`SrvPacketID`),
  KEY `Index_3_64` (`Mobitel_ID`,`UnixTime`,`Valid`),
  CONSTRAINT `FK_datagps64_mobitels_Mobitel_ID` FOREIGN KEY (`Mobitel_ID`) REFERENCES `mobitels` (`Mobitel_ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=989 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagps64`
--

LOCK TABLES `datagps64` WRITE;
/*!40000 ALTER TABLE `datagps64` DISABLE KEYS */;
INSERT INTO `datagps64` VALUES (1,842020656,506095633,263044667,207,0,1723031877,0,1,16,0,0,0,_binary 'EAAAAAAAAAAAABcAAAPWAAAAAAAAAAAAAA==',0,'',1,3616451180076466177),(2,842020656,506095633,263044667,207,0,1723031977,0,1,21,0,0,0,_binary 'EAAAAAAAAAAAABcAAAPWAAAAAAAAAAAAAA==',0,'',2,3616451180076466178),(3,842020656,506095633,263044667,207,0,1723032078,0,1,21,0,0,0,_binary 'EAAAAAAAAAAAABcAAAPWAAAAAAAAAAAAAA==',0,'',3,3616451180076466179),(4,842020656,506095633,263044667,207,0,1723032178,0,1,22,0,0,0,_binary 'EAAAAAAAAAAAABcAAAPWAAAAAAAAAAAAAA==',0,'',4,3616451180076466180),(5,842020656,506095633,263044667,207,0,1723032278,0,1,21,0,0,0,_binary 'EAAAAAAAAAAAABcAAAPWAAAAAAAAAAAAAA==',0,'',5,3616451180076466181),(6,842020656,506095633,263044667,207,0,1723032378,0,1,19,0,0,0,_binary 'EAAAAAAAAAAAABcAAAPWAAAAAAAAAAAAAA==',0,'',6,3616451180076466182),(7,842020656,506095633,263044667,207,0,1723032478,0,1,21,0,0,0,_binary 'EAAAAAAAAAAAABcAAAPWAAAAAAAAAAAAAA==',0,'',7,3616451180076466183),(8,842281273,506095933,263046383,112,0,1723032562,0,1,16,0,0,0,_binary 'EAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',1,3617570521568247809),(9,842020656,506095633,263044667,207,0,1723032578,0,1,20,0,0,0,_binary 'EAAAAAAAAAAAABcAAAPWAAAAAAAAAAAAAA==',0,'',8,3616451180076466184),(10,842020656,506095633,263044667,207,0,1723032678,0,1,19,0,0,0,_binary 'EAAAAAAAAAAAABcAAAPWAAAAAAAAAAAAAA==',0,'',9,3616451180076466185),(11,842281273,506095933,263046383,112,0,1723032663,0,1,18,0,0,0,_binary 'EAAAAAAAAAAAABgAABlGAAAAAAAAAAAAAA==',0,'',2,3617570521568247810),(12,842281273,506095933,263046383,112,0,1723032764,0,1,20,0,0,0,_binary 'AAAAAAAAAAAAABgAABlFAAAAAAAAAAAAAA==',0,'',3,3617570521568247811),(13,842020656,506095633,263044667,207,0,1723032778,0,1,21,0,0,0,_binary 'EAAAAAAAAAAAABsAAAPWAAAAAAAAAAAAAA==',0,'',10,3616451180076466186),(14,842281273,506095933,263046383,112,0,1723032864,0,1,19,0,0,0,_binary 'AAAAAAAAAAAAABgAABlGAAAAAAAAAAAAAA==',0,'',4,3617570521568247812),(15,842020656,506095633,263044667,207,0,1723032878,0,1,21,0,0,0,_binary 'EAAIZD1uAAD6ABwAAAPaAAAAAAAHKykSxA==',0,'',11,3616451180076466187),(16,842020656,506093750,263045683,71,0,1723032936,70,1,21,0,0,0,_binary 'EAAIZD1zAAD6ABwAAAPcAAAAAAAHKykXtA==',0,'',12,3616451180076466188),(17,842020656,506093733,263045967,60,0,1723032937,70,1,22,0,0,0,_binary 'EAAIZD1zAAD6ABwAAAPcAAAAAAAHKykQ1A==',0,'',13,3616451180076466189),(18,842020656,506093683,263046350,75,0,1723032940,60,1,22,0,0,0,_binary 'EAAIZD10AAD6ABwAAAPcAAAAAAAHKykSqA==',0,'',14,3616451180076466190),(19,842020656,506093683,263046333,195,0,1723032941,50,1,22,0,0,0,_binary 'EAAIZD10AAD6ABwAAAPcAAAAAAAHKykZkA==',0,'',15,3616451180076466191),(20,842020656,506093800,263046167,203,0,1723032945,0,1,22,0,0,0,_binary 'EAAIZD10AAD6ABwAAAPcAAAAAAAHKykSeA==',0,'',16,3616451180076466192),(21,842020656,506095983,263045683,13,0,1723032968,60,1,22,0,0,0,_binary 'EAAIZD17AAD6ABwAAAPcAAAAAAAHKykVFA==',0,'',17,3616451180076466193),(22,842020656,506096267,263045917,27,0,1723032970,60,1,22,0,0,0,_binary 'EAAIZD17AAD6ABwAAAPcAAAAAAAHKykUHA==',0,'',18,3616451180076466194),(23,842020656,506096767,263046533,17,0,1723032974,60,1,21,0,0,0,_binary 'EAAIZD19AAD6ABwAAAPcAAAAAAAHKykSbA==',0,'',19,3616451180076466195),(24,842020656,506096950,263046600,3,0,1723032975,60,1,21,0,0,0,_binary 'EAAIZD19AAD6ABwAAAPcAAAAAAAHKykSiA==',0,'',20,3616451180076466196),(25,842020656,506097267,263046567,233,0,1723032977,60,1,20,0,0,0,_binary 'EAAIZD1+AAD6ABwAAAPcAAAAAAAHKykSrA==',0,'',21,3616451180076466197),(26,842020656,506097517,263046450,221,0,1723032979,60,1,21,0,0,0,_binary 'EAAIZD1+AAD6ABwAAAPcAAAAAAAHKykSsA==',0,'',22,3616451180076466198),(27,842020656,506097600,263046417,143,0,1723032985,0,1,21,0,0,0,_binary 'EAAIZD1/AAD6ABwAAAPcAAAAAAAHKykTiA==',0,'',23,3616451180076466199),(28,842281273,506095933,263046383,112,0,1723032964,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlGAAAAAAAAAAAAAA==',0,'',5,3617570521568247813),(29,842020656,506097600,263046417,143,0,1723033045,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABkAAAPcAAAAAAAHKykAAA==',0,'',24,3616451180076466200),(30,842281273,506095933,263046383,112,0,1723033064,0,1,20,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',6,3617570521568247814),(31,842020656,506097600,263046417,143,0,1723033105,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP0AAAAAAAHKykAAA==',0,'',25,3616451180076466201),(32,842020656,506097600,263046417,143,0,1723033165,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP6AAAAAAAHKykAAA==',0,'',26,3616451180076466202),(33,842281273,506095933,263046383,112,0,1723033164,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',7,3617570521568247815),(34,842020656,506097600,263046417,143,0,1723033225,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',27,3616451180076466203),(35,842020656,506097600,263046417,143,0,1723033285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',28,3616451180076466204),(36,842281273,506095933,263046383,112,0,1723033264,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',8,3617570521568247816),(37,842020656,506097600,263046417,143,0,1723033345,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',29,3616451180076466205),(38,842281273,506095933,263046383,112,0,1723033364,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlGAAAAAAAAAAAAAA==',0,'',9,3617570521568247817),(39,842020656,506097600,263046417,143,0,1723033405,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',30,3616451180076466206),(40,842020656,506097600,263046417,143,0,1723033465,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',31,3616451180076466207),(41,842281273,506095933,263046383,112,0,1723033464,0,1,20,0,0,0,_binary 'AAAAAAAAAAAAABgAABlGAAAAAAAAAAAAAA==',0,'',10,3617570521568247818),(42,842020656,506097600,263046417,143,0,1723033525,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',32,3616451180076466208),(43,842020656,506097600,263046417,143,0,1723033585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',33,3616451180076466209),(44,842281273,506095933,263046383,112,0,1723033564,0,1,20,0,0,0,_binary 'AAAAAAAAAAAAABgAABlFAAAAAAAAAAAAAA==',0,'',11,3617570521568247819),(45,842281273,506095933,263046383,112,0,1723033664,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlFAAAAAAAAAAAAAA==',0,'',12,3617570521568247820),(46,842020656,506097600,263046417,143,0,1723033685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',34,3616451180076466210),(47,842281273,506095933,263046383,112,0,1723033764,0,1,20,0,0,0,_binary 'AAAAAAAAAAAAABgAABlFAAAAAAAAAAAAAA==',0,'',13,3617570521568247821),(48,842020656,506097600,263046417,143,0,1723033785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',35,3616451180076466211),(49,842281273,506095933,263046383,112,0,1723033864,0,1,20,0,0,0,_binary 'AAAAAAAAAAAAABgAABlFAAAAAAAAAAAAAA==',0,'',14,3617570521568247822),(50,842020656,506097600,263046417,143,0,1723033885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',36,3616451180076466212),(51,842281273,506095933,263046383,112,0,1723033964,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlGAAAAAAAAAAAAAA==',0,'',15,3617570521568247823),(52,842020656,506097600,263046417,143,0,1723033985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',37,3616451180076466213),(53,842281273,506095933,263046383,112,0,1723034064,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlGAAAAAAAAAAAAAA==',0,'',16,3617570521568247824),(54,842020656,506097600,263046417,143,0,1723034085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP9AAAAAAAHKykAAA==',0,'',38,3616451180076466214),(55,842281273,506095933,263046383,112,0,1723034164,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',17,3617570521568247825),(56,842020656,506097600,263046417,143,0,1723034185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',39,3616451180076466215),(57,842281273,506095933,263046383,112,0,1723034264,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',18,3617570521568247826),(58,842020656,506097600,263046417,143,0,1723034285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',40,3616451180076466216),(59,842281273,506095933,263046383,112,0,1723034364,0,1,22,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',19,3617570521568247827),(60,842020656,506097600,263046417,143,0,1723034385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP/AAAAAAAHKykAAA==',0,'',41,3616451180076466217),(61,842281273,506095933,263046383,112,0,1723034464,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',20,3617570521568247828),(62,842020656,506097600,263046417,143,0,1723034485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAQAAAAAAAAHKykAAA==',0,'',42,3616451180076466218),(63,842281273,506095933,263046383,112,0,1723034564,0,1,19,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',21,3617570521568247829),(64,842020656,506097600,263046417,143,0,1723034585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAQAAAAAAAAHKykAAA==',0,'',43,3616451180076466219),(65,842281273,506095933,263046383,112,0,1723034664,0,1,20,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',22,3617570521568247830),(66,842020656,506097600,263046417,143,0,1723034685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAQAAAAAAAAHKykAAA==',0,'',44,3616451180076466220),(67,842281273,506095933,263046383,112,0,1723034764,0,1,20,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',23,3617570521568247831),(68,842020656,506097600,263046417,143,0,1723034785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAQAAAAAAAAHKykAAA==',0,'',45,3616451180076466221),(69,842281273,506095933,263046383,112,0,1723034864,0,1,21,0,0,0,_binary 'AAAAAAAAAAAAABgAABlHAAAAAAAAAAAAAA==',0,'',24,3617570521568247832),(70,842020656,506097600,263046417,143,0,1723034885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP9AAAAAAAHKykAAA==',0,'',46,3616451180076466222),(71,842281273,506095933,263046383,112,0,1723034964,0,1,21,0,0,0,_binary 'EAAIIrTKAAAeABwAABlHAAAAAAAHFfUSqA==',0,'',25,3617570521568247833),(72,842281273,506097383,263047067,27,0,1723035000,50,1,20,0,0,0,_binary 'EAAIIrTOAAAXABwAABlIAAAAAAAHFfUSRA==',0,'',26,3617570521568247834),(73,842281273,506097767,263047233,3,0,1723035003,0,1,21,0,0,0,_binary 'EAAIIrTPAAAWABwAABlIAAAAAAAHFfUS+A==',0,'',27,3617570521568247835),(74,842020656,506097600,263046417,143,0,1723034985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',47,3616451180076466223),(75,842281273,506097767,263047233,3,0,1723035063,0,1,20,0,0,0,_binary 'AAAIIrTPAAAWABkAABlJAAAAAAAHFfUAAA==',0,'',28,3617570521568247836),(76,842020656,506097600,263046417,143,0,1723035085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',48,3616451180076466224),(77,842281273,506097767,263047233,3,0,1723035123,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAEAABlJAAAAAAAHFfUAAA==',0,'',29,3617570521568247837),(78,842281273,506097767,263047233,3,0,1723035183,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',30,3617570521568247838),(79,842020656,506097600,263046417,143,0,1723035185,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',49,3616451180076466225),(80,842281273,506097767,263047233,3,0,1723035243,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',31,3617570521568247839),(81,842281273,506097767,263047233,3,0,1723035303,0,1,20,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',32,3617570521568247840),(82,842020656,506097600,263046417,143,0,1723035285,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',50,3616451180076466226),(83,842281273,506097767,263047233,3,0,1723035363,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',33,3617570521568247841),(84,842020656,506097600,263046417,143,0,1723035385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',51,3616451180076466227),(85,842281273,506097767,263047233,3,0,1723035423,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',34,3617570521568247842),(86,842281273,506097767,263047233,3,0,1723035483,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',35,3617570521568247843),(87,842020656,506097600,263046417,143,0,1723035485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',52,3616451180076466228),(88,842281273,506097767,263047233,3,0,1723035543,0,1,19,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',36,3617570521568247844),(89,842281273,506097767,263047233,3,0,1723035603,0,1,20,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',37,3617570521568247845),(90,842020656,506097600,263046417,143,0,1723035585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',53,3616451180076466229),(91,842020656,506097600,263046417,143,0,1723035685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',54,3616451180076466230),(92,842281273,506097767,263047233,3,0,1723035703,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',38,3617570521568247846),(93,842020656,506097600,263046417,143,0,1723035785,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP8AAAAAAAHKykAAA==',0,'',55,3616451180076466231),(94,842281273,506097767,263047233,3,0,1723035803,0,1,20,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',39,3617570521568247847),(95,842281273,506097767,263047233,3,0,1723035903,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',40,3617570521568247848),(96,842020656,506097600,263046417,143,0,1723035885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP9AAAAAAAHKykAAA==',0,'',56,3616451180076466232),(97,842020656,506097600,263046417,143,0,1723035985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',57,3616451180076466233),(98,842281273,506097767,263047233,3,0,1723036003,0,1,20,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',41,3617570521568247849),(99,842020656,506097600,263046417,143,0,1723036085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',58,3616451180076466234),(100,842281273,506097767,263047233,3,0,1723036103,0,1,20,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',42,3617570521568247850),(101,842281273,506097767,263047233,3,0,1723036203,0,1,19,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',43,3617570521568247851),(102,842020656,506097600,263046417,143,0,1723036185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',59,3616451180076466235),(103,842020656,506097600,263046417,143,0,1723036285,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',60,3616451180076466236),(104,842281273,506097767,263047233,3,0,1723036303,0,1,19,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',44,3617570521568247852),(105,842020656,506097600,263046417,143,0,1723036385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',61,3616451180076466237),(106,842281273,506097767,263047233,3,0,1723036403,0,1,19,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',45,3617570521568247853),(107,842281273,506097767,263047233,3,0,1723036503,0,1,20,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',46,3617570521568247854),(108,842020656,506097600,263046417,143,0,1723036485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',62,3616451180076466238),(109,842020656,506097600,263046417,143,0,1723036585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',63,3616451180076466239),(110,842281273,506097767,263047233,3,0,1723036603,0,1,20,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',47,3617570521568247855),(111,842020656,506097600,263046417,143,0,1723036685,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',64,3616451180076466240),(112,842281273,506097767,263047233,3,0,1723036703,0,1,19,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',48,3617570521568247856),(113,842281273,506097767,263047233,3,0,1723036803,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',49,3617570521568247857),(114,842020656,506097600,263046417,143,0,1723036785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',65,3616451180076466241),(115,842020656,506097600,263046417,143,0,1723036885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',66,3616451180076466242),(116,842281273,506097767,263047233,3,0,1723036903,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',50,3617570521568247858),(117,842020656,506097600,263046417,143,0,1723036985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',67,3616451180076466243),(118,842281273,506097767,263047233,3,0,1723037003,0,1,20,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',51,3617570521568247859),(119,842281273,506097767,263047233,3,0,1723037103,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',52,3617570521568247860),(120,842020656,506097600,263046417,143,0,1723037085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',68,3616451180076466244),(121,842020656,506097600,263046417,143,0,1723037185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',69,3616451180076466245),(122,842281273,506097767,263047233,3,0,1723037203,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',53,3617570521568247861),(123,842020656,506097600,263046417,143,0,1723037285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',70,3616451180076466246),(124,842281273,506097767,263047233,3,0,1723037303,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',54,3617570521568247862),(125,842281273,506097767,263047233,3,0,1723037403,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',55,3617570521568247863),(126,842020656,506097600,263046417,143,0,1723037385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',71,3616451180076466247),(127,842020656,506097600,263046417,143,0,1723037485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',72,3616451180076466248),(128,842281273,506097767,263047233,3,0,1723037503,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',56,3617570521568247864),(129,842020656,506097600,263046417,143,0,1723037585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',73,3616451180076466249),(130,842281273,506097767,263047233,3,0,1723037603,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',57,3617570521568247865),(131,842281273,506097767,263047233,3,0,1723037703,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',58,3617570521568247866),(132,842020656,506097600,263046417,143,0,1723037685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',74,3616451180076466250),(133,842020656,506097600,263046417,143,0,1723037785,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',75,3616451180076466251),(134,842281273,506097767,263047233,3,0,1723037803,0,1,20,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',59,3617570521568247867),(135,842020656,506097600,263046417,143,0,1723037885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',76,3616451180076466252),(136,842281273,506097767,263047233,3,0,1723037903,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',60,3617570521568247868),(137,842281273,506097767,263047233,3,0,1723038003,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',61,3617570521568247869),(138,842020656,506097600,263046417,143,0,1723037985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',77,3616451180076466253),(139,842020656,506097600,263046417,143,0,1723038085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',78,3616451180076466254),(140,842281273,506097767,263047233,3,0,1723038103,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',62,3617570521568247870),(141,842020656,506097600,263046417,143,0,1723038185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',79,3616451180076466255),(142,842281273,506097767,263047233,3,0,1723038203,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',63,3617570521568247871),(143,842281273,506097767,263047233,3,0,1723038303,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',64,3617570521568247872),(144,842020656,506097600,263046417,143,0,1723038285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',80,3616451180076466256),(145,842020656,506097600,263046417,143,0,1723038385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',81,3616451180076466257),(146,842281273,506097767,263047233,3,0,1723038403,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',65,3617570521568247873),(147,842020656,506097600,263046417,143,0,1723038485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',82,3616451180076466258),(148,842281273,506097767,263047233,3,0,1723038503,0,1,21,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',66,3617570521568247874),(149,842281273,506097767,263047233,3,0,1723038603,0,1,22,0,0,0,_binary 'AAAIIrTPAAAWAAAAABlJAAAAAAAHFfUAAA==',0,'',67,3617570521568247875),(150,842020656,506097600,263046417,143,0,1723038585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',83,3616451180076466259),(151,842020656,506097600,263046417,143,0,1723038685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',84,3616451180076466260),(152,842020656,506097600,263046417,143,0,1723038785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABgAAAP+AAAAAAAHKykAAA==',0,'',85,3616451180076466261),(153,842020656,506097600,263046417,143,0,1723038885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',86,3616451180076466262),(154,842020656,506097600,263046417,143,0,1723038985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',87,3616451180076466263),(155,842020656,506097600,263046417,143,0,1723039085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',88,3616451180076466264),(156,842020656,506097600,263046417,143,0,1723039185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',89,3616451180076466265),(157,842020656,506097600,263046417,143,0,1723039285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',90,3616451180076466266),(158,842020656,506097600,263046417,143,0,1723039385,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',91,3616451180076466267),(159,842020656,506097600,263046417,143,0,1723039485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',92,3616451180076466268),(160,842020656,506097600,263046417,143,0,1723039585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',93,3616451180076466269),(161,842020656,506097600,263046417,143,0,1723039685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',94,3616451180076466270),(162,842020656,506097600,263046417,143,0,1723039785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',95,3616451180076466271),(163,842020656,506097600,263046417,143,0,1723039885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',96,3616451180076466272),(164,842020656,506097600,263046417,143,0,1723039985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',97,3616451180076466273),(165,842020656,506097600,263046417,143,0,1723040085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',98,3616451180076466274),(166,842020656,506097600,263046417,143,0,1723040185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',99,3616451180076466275),(167,842020656,506097600,263046417,143,0,1723040285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',100,3616451180076466276),(168,842020656,506097600,263046417,143,0,1723040385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',101,3616451180076466277),(169,842020656,506097600,263046417,143,0,1723040485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',102,3616451180076466278),(170,842020656,506097600,263046417,143,0,1723040585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',103,3616451180076466279),(171,842020656,506097600,263046417,143,0,1723040685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',104,3616451180076466280),(172,842020656,506097600,263046417,143,0,1723040785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',105,3616451180076466281),(173,842020656,506097600,263046417,143,0,1723040885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',106,3616451180076466282),(174,842020656,506097600,263046417,143,0,1723040985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',107,3616451180076466283),(175,842020656,506097600,263046417,143,0,1723041085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',108,3616451180076466284),(176,842020656,506097600,263046417,143,0,1723041185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',109,3616451180076466285),(177,842020656,506097600,263046417,143,0,1723041285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',110,3616451180076466286),(178,842020656,506097600,263046417,143,0,1723041385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',111,3616451180076466287),(179,842020656,506097600,263046417,143,0,1723041485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',112,3616451180076466288),(180,842020656,506097600,263046417,143,0,1723041585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',113,3616451180076466289),(181,842020656,506097600,263046417,143,0,1723041685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',114,3616451180076466290),(182,842020656,506097600,263046417,143,0,1723041785,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',115,3616451180076466291),(183,842020656,506097600,263046417,143,0,1723041885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',116,3616451180076466292),(184,842020656,506097600,263046417,143,0,1723041985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',117,3616451180076466293),(185,842020656,506097600,263046417,143,0,1723042085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP9AAAAAAAHKykAAA==',0,'',118,3616451180076466294),(186,842020656,506097600,263046417,143,0,1723042185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',119,3616451180076466295),(187,842020656,506097600,263046417,143,0,1723042285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',120,3616451180076466296),(188,842020656,506097600,263046417,143,0,1723042385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',121,3616451180076466297),(189,842020656,506097600,263046417,143,0,1723042485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',122,3616451180076466298),(190,842020656,506097600,263046417,143,0,1723042585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',123,3616451180076466299),(191,842020656,506097600,263046417,143,0,1723042685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',124,3616451180076466300),(192,842020656,506097600,263046417,143,0,1723042785,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',125,3616451180076466301),(193,842020656,506097600,263046417,143,0,1723042885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',126,3616451180076466302),(194,842020656,506097600,263046417,143,0,1723042985,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',127,3616451180076466303),(195,842020656,506097600,263046417,143,0,1723043085,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',128,3616451180076466304),(196,842020656,506097600,263046417,143,0,1723043185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',129,3616451180076466305),(197,842020656,506097600,263046417,143,0,1723043285,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',130,3616451180076466306),(198,842020656,506097600,263046417,143,0,1723043385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',131,3616451180076466307),(199,842020656,506097600,263046417,143,0,1723043485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP9AAAAAAAHKykAAA==',0,'',132,3616451180076466308),(200,842020656,506097600,263046417,143,0,1723043585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',133,3616451180076466309),(201,842020656,506097600,263046417,143,0,1723043685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP/AAAAAAAHKykAAA==',0,'',134,3616451180076466310),(202,842020656,506097600,263046417,143,0,1723043785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP/AAAAAAAHKykAAA==',0,'',135,3616451180076466311),(203,842020656,506097600,263046417,143,0,1723043885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP/AAAAAAAHKykAAA==',0,'',136,3616451180076466312),(204,842020656,506097600,263046417,143,0,1723043985,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP/AAAAAAAHKykAAA==',0,'',137,3616451180076466313),(205,842020656,506097600,263046417,143,0,1723044085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',138,3616451180076466314),(206,842020656,506097600,263046417,143,0,1723044185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',139,3616451180076466315),(207,842020656,506097600,263046417,143,0,1723044285,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',140,3616451180076466316),(208,842020656,506097600,263046417,143,0,1723044385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',141,3616451180076466317),(209,842020656,506097600,263046417,143,0,1723044485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',142,3616451180076466318),(210,842020656,506097600,263046417,143,0,1723044585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',143,3616451180076466319),(211,842020656,506097600,263046417,143,0,1723044685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',144,3616451180076466320),(212,842020656,506097600,263046417,143,0,1723044785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',145,3616451180076466321),(213,842020656,506097600,263046417,143,0,1723044885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',146,3616451180076466322),(214,842020656,506097600,263046417,143,0,1723044985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',147,3616451180076466323),(215,842020656,506097600,263046417,143,0,1723045085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',148,3616451180076466324),(216,842020656,506097600,263046417,143,0,1723045185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',149,3616451180076466325),(217,842020656,506097600,263046417,143,0,1723045285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP+AAAAAAAHKykAAA==',0,'',150,3616451180076466326),(218,842020656,506097600,263046417,143,0,1723045385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',151,3616451180076466327),(219,842020656,506097600,263046417,143,0,1723045485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',152,3616451180076466328),(220,842020656,506097600,263046417,143,0,1723045585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',153,3616451180076466329),(221,842020656,506097600,263046417,143,0,1723045685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',154,3616451180076466330),(222,842020656,506097600,263046417,143,0,1723045785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',155,3616451180076466331),(223,842020656,506097600,263046417,143,0,1723045885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',156,3616451180076466332),(224,842020656,506097600,263046417,143,0,1723045985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',157,3616451180076466333),(225,842020656,506097600,263046417,143,0,1723046085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',158,3616451180076466334),(226,842020656,506097600,263046417,143,0,1723046185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',159,3616451180076466335),(227,842020656,506097600,263046417,143,0,1723046285,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',160,3616451180076466336),(228,842020656,506097600,263046417,143,0,1723046385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',161,3616451180076466337),(229,842020656,506097600,263046417,143,0,1723046485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',162,3616451180076466338),(230,842020656,506097600,263046417,143,0,1723046585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',163,3616451180076466339),(231,842020656,506097600,263046417,143,0,1723046685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',164,3616451180076466340),(232,842020656,506097600,263046417,143,0,1723046785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',165,3616451180076466341),(233,842020656,506097600,263046417,143,0,1723046885,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',166,3616451180076466342),(234,842020656,506097600,263046417,143,0,1723046985,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',167,3616451180076466343),(235,842020656,506097600,263046417,143,0,1723047085,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',168,3616451180076466344),(236,842020656,506097600,263046417,143,0,1723047185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',169,3616451180076466345),(237,842020656,506097600,263046417,143,0,1723047285,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',170,3616451180076466346),(238,842020656,506097600,263046417,143,0,1723047385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',171,3616451180076466347),(239,842020656,506097600,263046417,143,0,1723047485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',172,3616451180076466348),(240,842020656,506097600,263046417,143,0,1723047585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',173,3616451180076466349),(241,842020656,506097600,263046417,143,0,1723047685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',174,3616451180076466350),(242,842020656,506097600,263046417,143,0,1723047785,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',175,3616451180076466351),(243,842020656,506097600,263046417,143,0,1723047885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',176,3616451180076466352),(244,842020656,506097600,263046417,143,0,1723047985,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',177,3616451180076466353),(245,842020656,506097600,263046417,143,0,1723048085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',178,3616451180076466354),(246,842020656,506097600,263046417,143,0,1723048185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',179,3616451180076466355),(247,842020656,506097600,263046417,143,0,1723048285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',180,3616451180076466356),(248,842020656,506097600,263046417,143,0,1723048385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',181,3616451180076466357),(249,842020656,506097600,263046417,143,0,1723048485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',182,3616451180076466358),(250,842020656,506097600,263046417,143,0,1723048585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',183,3616451180076466359),(251,842020656,506097600,263046417,143,0,1723048685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',184,3616451180076466360),(252,842020656,506097600,263046417,143,0,1723048785,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',185,3616451180076466361),(253,842020656,506097600,263046417,143,0,1723048885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',186,3616451180076466362),(254,842020656,506097600,263046417,143,0,1723048985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',187,3616451180076466363),(255,842020656,506097600,263046417,143,0,1723049085,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP6AAAAAAAHKykAAA==',0,'',188,3616451180076466364),(256,842020656,506097600,263046417,143,0,1723049185,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',189,3616451180076466365),(257,842020656,506097600,263046417,143,0,1723049285,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',190,3616451180076466366),(258,842020656,506097600,263046417,143,0,1723049385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',191,3616451180076466367),(259,842020656,506097600,263046417,143,0,1723049485,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',192,3616451180076466368),(260,842020656,506097600,263046417,143,0,1723049585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',193,3616451180076466369),(261,842020656,506097600,263046417,143,0,1723049685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',194,3616451180076466370),(262,842020656,506097600,263046417,143,0,1723049785,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',195,3616451180076466371),(263,842020656,506097600,263046417,143,0,1723049885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',196,3616451180076466372),(264,842020656,506097600,263046417,143,0,1723049985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',197,3616451180076466373),(265,842020656,506097600,263046417,143,0,1723050085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',198,3616451180076466374),(266,842020656,506097600,263046417,143,0,1723050185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',199,3616451180076466375),(267,842020656,506097600,263046417,143,0,1723050285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',200,3616451180076466376),(268,842020656,506097600,263046417,143,0,1723050385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',201,3616451180076466377),(269,842020656,506097600,263046417,143,0,1723050485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',202,3616451180076466378),(270,842020656,506097600,263046417,143,0,1723050585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',203,3616451180076466379),(271,842020656,506097600,263046417,143,0,1723050685,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',204,3616451180076466380),(272,842020656,506097600,263046417,143,0,1723050785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',205,3616451180076466381),(273,842020656,506097600,263046417,143,0,1723050885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',206,3616451180076466382),(274,842020656,506097600,263046417,143,0,1723050985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',207,3616451180076466383),(275,842020656,506097600,263046417,143,0,1723051085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',208,3616451180076466384),(276,842020656,506097600,263046417,143,0,1723051185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',209,3616451180076466385),(277,842020656,506097600,263046417,143,0,1723051285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',210,3616451180076466386),(278,842020656,506097600,263046417,143,0,1723051385,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',211,3616451180076466387),(279,842020656,506097600,263046417,143,0,1723051485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',212,3616451180076466388),(280,842020656,506097600,263046417,143,0,1723051585,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',213,3616451180076466389),(281,842020656,506097600,263046417,143,0,1723051685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',214,3616451180076466390),(282,842020656,506097600,263046417,143,0,1723051785,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',215,3616451180076466391),(283,842020656,506097600,263046417,143,0,1723051885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',216,3616451180076466392),(284,842020656,506097600,263046417,143,0,1723051985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',217,3616451180076466393),(285,842020656,506097600,263046417,143,0,1723052085,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',218,3616451180076466394),(286,842020656,506097600,263046417,143,0,1723052185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',219,3616451180076466395),(287,842020656,506097600,263046417,143,0,1723052285,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',220,3616451180076466396),(288,842020656,506097600,263046417,143,0,1723052385,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',221,3616451180076466397),(289,842020656,506097600,263046417,143,0,1723052485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',222,3616451180076466398),(290,842020656,506097600,263046417,143,0,1723052585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',223,3616451180076466399),(291,842020656,506097600,263046417,143,0,1723052685,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',224,3616451180076466400),(292,842020656,506097600,263046417,143,0,1723052785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',225,3616451180076466401),(293,842020656,506097600,263046417,143,0,1723052885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',226,3616451180076466402),(294,842020656,506097600,263046417,143,0,1723052985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',227,3616451180076466403),(295,842020656,506097600,263046417,143,0,1723053085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',228,3616451180076466404),(296,842020656,506097600,263046417,143,0,1723053185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',229,3616451180076466405),(297,842020656,506097600,263046417,143,0,1723053285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',230,3616451180076466406),(298,842020656,506097600,263046417,143,0,1723053385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',231,3616451180076466407),(299,842020656,506097600,263046417,143,0,1723053485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',232,3616451180076466408),(300,842020656,506097600,263046417,143,0,1723053585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',233,3616451180076466409),(301,842020656,506097600,263046417,143,0,1723053685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',234,3616451180076466410),(302,842020656,506097600,263046417,143,0,1723053785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',235,3616451180076466411),(303,842020656,506097600,263046417,143,0,1723053885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',236,3616451180076466412),(304,842020656,506097600,263046417,143,0,1723053985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',237,3616451180076466413),(305,842020656,506097600,263046417,143,0,1723054085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',238,3616451180076466414),(306,842020656,506097600,263046417,143,0,1723054185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',239,3616451180076466415),(307,842020656,506097600,263046417,143,0,1723054285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',240,3616451180076466416),(308,842020656,506097600,263046417,143,0,1723054385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',241,3616451180076466417),(309,842020656,506097600,263046417,143,0,1723054485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',242,3616451180076466418),(310,842020656,506097600,263046417,143,0,1723054585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',243,3616451180076466419),(311,842020656,506097600,263046417,143,0,1723054685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',244,3616451180076466420),(312,842020656,506097600,263046417,143,0,1723054785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',245,3616451180076466421),(313,842020656,506097600,263046417,143,0,1723054885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',246,3616451180076466422),(314,842020656,506097600,263046417,143,0,1723054985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',247,3616451180076466423),(315,842020656,506097600,263046417,143,0,1723055085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',248,3616451180076466424),(316,842020656,506097600,263046417,143,0,1723055185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',249,3616451180076466425),(317,842020656,506097600,263046417,143,0,1723055285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',250,3616451180076466426),(318,842020656,506097600,263046417,143,0,1723055385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',251,3616451180076466427),(319,842020656,506097600,263046417,143,0,1723055485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',252,3616451180076466428),(320,842020656,506097600,263046417,143,0,1723055585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',253,3616451180076466429),(321,842020656,506097600,263046417,143,0,1723055685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',254,3616451180076466430),(322,842020656,506097600,263046417,143,0,1723055785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',255,3616451180076466431),(323,842020656,506097600,263046417,143,0,1723055885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',256,3616451180076466432),(324,842020656,506097600,263046417,143,0,1723055985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',257,3616451180076466433),(325,842020656,506097600,263046417,143,0,1723056085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',258,3616451180076466434),(326,842020656,506097600,263046417,143,0,1723056185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',259,3616451180076466435),(327,842020656,506097600,263046417,143,0,1723056285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',260,3616451180076466436),(328,842020656,506097600,263046417,143,0,1723056385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',261,3616451180076466437),(329,842020656,506097600,263046417,143,0,1723056485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',262,3616451180076466438),(330,842020656,506097600,263046417,143,0,1723056585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',263,3616451180076466439),(331,842020656,506097600,263046417,143,0,1723056685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',264,3616451180076466440),(332,842020656,506097600,263046417,143,0,1723056785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',265,3616451180076466441),(333,842020656,506097600,263046417,143,0,1723056885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',266,3616451180076466442),(334,842020656,506097600,263046417,143,0,1723056985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',267,3616451180076466443),(335,842020656,506097600,263046417,143,0,1723057085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',268,3616451180076466444),(336,842020656,506097600,263046417,143,0,1723057185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',269,3616451180076466445),(337,842020656,506097600,263046417,143,0,1723057285,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',270,3616451180076466446),(338,842020656,506097600,263046417,143,0,1723057385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',271,3616451180076466447),(339,842020656,506097600,263046417,143,0,1723057485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',272,3616451180076466448),(340,842020656,506097600,263046417,143,0,1723057585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',273,3616451180076466449),(341,842020656,506097600,263046417,143,0,1723057685,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',274,3616451180076466450),(342,842020656,506097600,263046417,143,0,1723057785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',275,3616451180076466451),(343,842020656,506097600,263046417,143,0,1723057885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',276,3616451180076466452),(344,842020656,506097600,263046417,143,0,1723057985,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',277,3616451180076466453),(345,842020656,506097600,263046417,143,0,1723058085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',278,3616451180076466454),(346,842020656,506097600,263046417,143,0,1723058185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',279,3616451180076466455),(347,842020656,506097600,263046417,143,0,1723058285,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',280,3616451180076466456),(348,842020656,506097600,263046417,143,0,1723058385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',281,3616451180076466457),(349,842020656,506097600,263046417,143,0,1723058485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',282,3616451180076466458),(350,842020656,506097600,263046417,143,0,1723058585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',283,3616451180076466459),(351,842020656,506097600,263046417,143,0,1723058685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',284,3616451180076466460),(352,842020656,506097600,263046417,143,0,1723058785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',285,3616451180076466461),(353,842020656,506097600,263046417,143,0,1723058885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',286,3616451180076466462),(354,842020656,506097600,263046417,143,0,1723058985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',287,3616451180076466463),(355,842020656,506097600,263046417,143,0,1723059085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',288,3616451180076466464),(356,842020656,506097600,263046417,143,0,1723059185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',289,3616451180076466465),(357,842020656,506097600,263046417,143,0,1723059285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',290,3616451180076466466),(358,842020656,506097600,263046417,143,0,1723059385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',291,3616451180076466467),(359,842020656,506097600,263046417,143,0,1723059485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',292,3616451180076466468),(360,842020656,506097600,263046417,143,0,1723059585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',293,3616451180076466469),(361,842020656,506097600,263046417,143,0,1723059685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',294,3616451180076466470),(362,842020656,506097600,263046417,143,0,1723059785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',295,3616451180076466471),(363,842020656,506097600,263046417,143,0,1723059885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',296,3616451180076466472),(364,842020656,506097600,263046417,143,0,1723059985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',297,3616451180076466473),(365,842020656,506097600,263046417,143,0,1723060085,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',298,3616451180076466474),(366,842020656,506097600,263046417,143,0,1723060185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',299,3616451180076466475),(367,842020656,506097600,263046417,143,0,1723060285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',300,3616451180076466476),(368,842020656,506097600,263046417,143,0,1723060385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',301,3616451180076466477),(369,842020656,506097600,263046417,143,0,1723060485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',302,3616451180076466478),(370,842020656,506097600,263046417,143,0,1723060585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',303,3616451180076466479),(371,842020656,506097600,263046417,143,0,1723060685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',304,3616451180076466480),(372,842020656,506097600,263046417,143,0,1723060785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',305,3616451180076466481),(373,842020656,506097600,263046417,143,0,1723060885,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',306,3616451180076466482),(374,842020656,506097600,263046417,143,0,1723060985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',307,3616451180076466483),(375,842020656,506097600,263046417,143,0,1723061085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',308,3616451180076466484),(376,842020656,506097600,263046417,143,0,1723061185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',309,3616451180076466485),(377,842020656,506097600,263046417,143,0,1723061285,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',310,3616451180076466486),(378,842020656,506097600,263046417,143,0,1723061385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',311,3616451180076466487),(379,842020656,506097600,263046417,143,0,1723061485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',312,3616451180076466488),(380,842020656,506097600,263046417,143,0,1723061585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',313,3616451180076466489),(381,842020656,506097600,263046417,143,0,1723061685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',314,3616451180076466490),(382,842020656,506097600,263046417,143,0,1723061785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',315,3616451180076466491),(383,842020656,506097600,263046417,143,0,1723061885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',316,3616451180076466492),(384,842020656,506097600,263046417,143,0,1723061985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',317,3616451180076466493),(385,842020656,506097600,263046417,143,0,1723062085,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',318,3616451180076466494),(386,842020656,506097600,263046417,143,0,1723062185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP6AAAAAAAHKykAAA==',0,'',319,3616451180076466495),(387,842020656,506097600,263046417,143,0,1723062285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',320,3616451180076466496),(388,842020656,506097600,263046417,143,0,1723062385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',321,3616451180076466497),(389,842020656,506097600,263046417,143,0,1723062485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',322,3616451180076466498),(390,842020656,506097600,263046417,143,0,1723062585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',323,3616451180076466499),(391,842020656,506097600,263046417,143,0,1723062685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',324,3616451180076466500),(392,842020656,506097600,263046417,143,0,1723062785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',325,3616451180076466501),(393,842020656,506097600,263046417,143,0,1723062885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',326,3616451180076466502),(394,842020656,506097600,263046417,143,0,1723062985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',327,3616451180076466503),(395,842020656,506097600,263046417,143,0,1723063085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',328,3616451180076466504),(396,842020656,506097600,263046417,143,0,1723063185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',329,3616451180076466505),(397,842020656,506097600,263046417,143,0,1723063285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',330,3616451180076466506),(398,842020656,506097600,263046417,143,0,1723063385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',331,3616451180076466507),(399,842020656,506097600,263046417,143,0,1723063485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',332,3616451180076466508),(400,842020656,506097600,263046417,143,0,1723063585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',333,3616451180076466509),(401,842020656,506097600,263046417,143,0,1723063685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',334,3616451180076466510),(402,842020656,506097600,263046417,143,0,1723063785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP6AAAAAAAHKykAAA==',0,'',335,3616451180076466511),(403,842020656,506097600,263046417,143,0,1723063885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',336,3616451180076466512),(404,842020656,506097600,263046417,143,0,1723063985,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',337,3616451180076466513),(405,842020656,506097600,263046417,143,0,1723064085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',338,3616451180076466514),(406,842020656,506097600,263046417,143,0,1723064185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',339,3616451180076466515),(407,842020656,506097600,263046417,143,0,1723064285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',340,3616451180076466516),(408,842020656,506097600,263046417,143,0,1723064385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',341,3616451180076466517),(409,842020656,506097600,263046417,143,0,1723064485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',342,3616451180076466518),(410,842020656,506097600,263046417,143,0,1723064585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',343,3616451180076466519),(411,842020656,506097600,263046417,143,0,1723064685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',344,3616451180076466520),(412,842020656,506097600,263046417,143,0,1723064785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',345,3616451180076466521),(413,842020656,506097600,263046417,143,0,1723064885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',346,3616451180076466522),(414,842020656,506097600,263046417,143,0,1723064985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',347,3616451180076466523),(415,842020656,506097600,263046417,143,0,1723065085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',348,3616451180076466524),(416,842020656,506097600,263046417,143,0,1723065185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',349,3616451180076466525),(417,842020656,506097600,263046417,143,0,1723065285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',350,3616451180076466526),(418,842020656,506097600,263046417,143,0,1723065385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',351,3616451180076466527),(419,842020656,506097600,263046417,143,0,1723065485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',352,3616451180076466528),(420,842020656,506097600,263046417,143,0,1723065585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',353,3616451180076466529),(421,842020656,506097600,263046417,143,0,1723065685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',354,3616451180076466530),(422,842020656,506097600,263046417,143,0,1723065785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',355,3616451180076466531),(423,842020656,506097600,263046417,143,0,1723065885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',356,3616451180076466532),(424,842020656,506097600,263046417,143,0,1723065985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',357,3616451180076466533),(425,842020656,506097600,263046417,143,0,1723066085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',358,3616451180076466534),(426,842020656,506097600,263046417,143,0,1723066185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',359,3616451180076466535),(427,842020656,506097600,263046417,143,0,1723066285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',360,3616451180076466536),(428,842020656,506097600,263046417,143,0,1723066385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',361,3616451180076466537),(429,842020656,506097600,263046417,143,0,1723066485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',362,3616451180076466538),(430,842020656,506097600,263046417,143,0,1723066585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',363,3616451180076466539),(431,842020656,506097600,263046417,143,0,1723066685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',364,3616451180076466540),(432,842020656,506097600,263046417,143,0,1723066785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',365,3616451180076466541),(433,842020656,506097600,263046417,143,0,1723066885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',366,3616451180076466542),(434,842020656,506097600,263046417,143,0,1723066985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',367,3616451180076466543),(435,842020656,506097600,263046417,143,0,1723067085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',368,3616451180076466544),(436,842020656,506097600,263046417,143,0,1723067185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',369,3616451180076466545),(437,842020656,506097600,263046417,143,0,1723067285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',370,3616451180076466546),(438,842020656,506097600,263046417,143,0,1723067385,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',371,3616451180076466547),(439,842020656,506097600,263046417,143,0,1723067485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',372,3616451180076466548),(440,842020656,506097600,263046417,143,0,1723067585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',373,3616451180076466549),(441,842020656,506097600,263046417,143,0,1723067685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',374,3616451180076466550),(442,842020656,506097600,263046417,143,0,1723067785,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',375,3616451180076466551),(443,842020656,506097600,263046417,143,0,1723067885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',376,3616451180076466552),(444,842020656,506097600,263046417,143,0,1723067985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',377,3616451180076466553),(445,842020656,506097600,263046417,143,0,1723068085,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',378,3616451180076466554),(446,842020656,506097600,263046417,143,0,1723068185,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',379,3616451180076466555),(447,842020656,506097600,263046417,143,0,1723068285,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',380,3616451180076466556),(448,842020656,506097600,263046417,143,0,1723068385,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',381,3616451180076466557),(449,842020656,506097600,263046417,143,0,1723068485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',382,3616451180076466558),(450,842020656,506097600,263046417,143,0,1723068585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',383,3616451180076466559),(451,842020656,506097600,263046417,143,0,1723068685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',384,3616451180076466560),(452,842020656,506097600,263046417,143,0,1723068785,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',385,3616451180076466561),(453,842020656,506097600,263046417,143,0,1723068885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',386,3616451180076466562),(454,842020656,506097600,263046417,143,0,1723068985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',387,3616451180076466563),(455,842020656,506097600,263046417,143,0,1723069085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',388,3616451180076466564),(456,842020656,506097600,263046417,143,0,1723069185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',389,3616451180076466565),(457,842020656,506097600,263046417,143,0,1723069285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',390,3616451180076466566),(458,842020656,506097600,263046417,143,0,1723069385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',391,3616451180076466567),(459,842020656,506097600,263046417,143,0,1723069485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',392,3616451180076466568),(460,842020656,506097600,263046417,143,0,1723069585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',393,3616451180076466569),(461,842020656,506097600,263046417,143,0,1723069685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',394,3616451180076466570),(462,842020656,506097600,263046417,143,0,1723069785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',395,3616451180076466571),(463,842020656,506097600,263046417,143,0,1723069885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',396,3616451180076466572),(464,842020656,506097600,263046417,143,0,1723069985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',397,3616451180076466573),(465,842020656,506097600,263046417,143,0,1723070085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',398,3616451180076466574),(466,842020656,506097600,263046417,143,0,1723070185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',399,3616451180076466575),(467,842020656,506097600,263046417,143,0,1723070285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',400,3616451180076466576),(468,842020656,506097600,263046417,143,0,1723070385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',401,3616451180076466577),(469,842020656,506097600,263046417,143,0,1723070485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',402,3616451180076466578),(470,842020656,506097600,263046417,143,0,1723070585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',403,3616451180076466579),(471,842020656,506097600,263046417,143,0,1723070685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',404,3616451180076466580),(472,842020656,506097600,263046417,143,0,1723070785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',405,3616451180076466581),(473,842020656,506097600,263046417,143,0,1723070885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',406,3616451180076466582),(474,842020656,506097600,263046417,143,0,1723070985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',407,3616451180076466583),(475,842020656,506097600,263046417,143,0,1723071085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',408,3616451180076466584),(476,842020656,506097600,263046417,143,0,1723071185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',409,3616451180076466585),(477,842020656,506097600,263046417,143,0,1723071285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',410,3616451180076466586),(478,842020656,506097600,263046417,143,0,1723071385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',411,3616451180076466587),(479,842020656,506097600,263046417,143,0,1723071485,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',412,3616451180076466588),(480,842020656,506097600,263046417,143,0,1723071585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',413,3616451180076466589),(481,842020656,506097600,263046417,143,0,1723071685,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',414,3616451180076466590),(482,842020656,506097600,263046417,143,0,1723071785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',415,3616451180076466591),(483,842020656,506097600,263046417,143,0,1723071885,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',416,3616451180076466592),(484,842020656,506097600,263046417,143,0,1723071985,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',417,3616451180076466593),(485,842020656,506097600,263046417,143,0,1723072085,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',418,3616451180076466594),(486,842020656,506097600,263046417,143,0,1723072185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',419,3616451180076466595),(487,842020656,506097600,263046417,143,0,1723072285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',420,3616451180076466596),(488,842020656,506097600,263046417,143,0,1723072385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',421,3616451180076466597),(489,842020656,506097600,263046417,143,0,1723072485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',422,3616451180076466598),(490,842020656,506097600,263046417,143,0,1723072585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',423,3616451180076466599),(491,842020656,506097600,263046417,143,0,1723072685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',424,3616451180076466600),(492,842020656,506097600,263046417,143,0,1723072785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',425,3616451180076466601),(493,842020656,506097600,263046417,143,0,1723072885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',426,3616451180076466602),(494,842020656,506097600,263046417,143,0,1723072985,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',427,3616451180076466603),(495,842020656,506097600,263046417,143,0,1723073085,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',428,3616451180076466604),(496,842020656,506097600,263046417,143,0,1723073185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',429,3616451180076466605),(497,842020656,506097600,263046417,143,0,1723073285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',430,3616451180076466606),(498,842020656,506097600,263046417,143,0,1723073385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',431,3616451180076466607),(499,842020656,506097600,263046417,143,0,1723073485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',432,3616451180076466608),(500,842020656,506097600,263046417,143,0,1723073585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',433,3616451180076466609),(501,842020656,506097600,263046417,143,0,1723073685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',434,3616451180076466610),(502,842020656,506097600,263046417,143,0,1723073785,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',435,3616451180076466611),(503,842020656,506097600,263046417,143,0,1723073885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',436,3616451180076466612),(504,842020656,506097600,263046417,143,0,1723073985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',437,3616451180076466613),(505,842020656,506097600,263046417,143,0,1723074085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',438,3616451180076466614),(506,842020656,506097600,263046417,143,0,1723074185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',439,3616451180076466615),(507,842020656,506097600,263046417,143,0,1723074285,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',440,3616451180076466616),(508,842020656,506097600,263046417,143,0,1723074385,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',441,3616451180076466617),(509,842020656,506097600,263046417,143,0,1723074485,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',442,3616451180076466618),(510,842020656,506097600,263046417,143,0,1723074585,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',443,3616451180076466619),(511,842020656,506097600,263046417,143,0,1723074685,0,1,17,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',444,3616451180076466620),(512,842020656,506097600,263046417,143,0,1723074785,0,1,17,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',445,3616451180076466621),(513,842020656,506097600,263046417,143,0,1723074885,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',446,3616451180076466622),(514,842020656,506097600,263046417,143,0,1723074985,0,1,17,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',447,3616451180076466623),(515,842020656,506097600,263046417,143,0,1723075085,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',448,3616451180076466624),(516,842020656,506097600,263046417,143,0,1723075185,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',449,3616451180076466625),(517,842020656,506097600,263046417,143,0,1723075285,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',450,3616451180076466626),(518,842020656,506097600,263046417,143,0,1723075385,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',451,3616451180076466627),(519,842020656,506097600,263046417,143,0,1723075485,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',452,3616451180076466628),(520,842020656,506097600,263046417,143,0,1723075585,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',453,3616451180076466629),(521,842020656,506097600,263046417,143,0,1723075685,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',454,3616451180076466630),(522,842020656,506097600,263046417,143,0,1723075785,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',455,3616451180076466631),(523,842020656,506097600,263046417,143,0,1723075885,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',456,3616451180076466632),(524,842020656,506097600,263046417,143,0,1723075985,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',457,3616451180076466633),(525,842020656,506097600,263046417,143,0,1723076085,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',458,3616451180076466634),(526,842020656,506097600,263046417,143,0,1723076185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',459,3616451180076466635),(527,842020656,506097600,263046417,143,0,1723076285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',460,3616451180076466636),(528,842020656,506097600,263046417,143,0,1723076385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',461,3616451180076466637),(529,842020656,506097600,263046417,143,0,1723076485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',462,3616451180076466638),(530,842020656,506097600,263046417,143,0,1723076585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',463,3616451180076466639),(531,842020656,506097600,263046417,143,0,1723076685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',464,3616451180076466640),(532,842020656,506097600,263046417,143,0,1723076785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',465,3616451180076466641),(533,842020656,506097600,263046417,143,0,1723076885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',466,3616451180076466642),(534,842020656,506097600,263046417,143,0,1723076985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',467,3616451180076466643),(535,842020656,506097600,263046417,143,0,1723077085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',468,3616451180076466644),(536,842020656,506097600,263046417,143,0,1723077185,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',469,3616451180076466645),(537,842020656,506097600,263046417,143,0,1723077285,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',470,3616451180076466646),(538,842020656,506097600,263046417,143,0,1723077385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',471,3616451180076466647),(539,842020656,506097600,263046417,143,0,1723077485,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',472,3616451180076466648),(540,842020656,506097600,263046417,143,0,1723077585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',473,3616451180076466649),(541,842020656,506097600,263046417,143,0,1723077685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',474,3616451180076466650),(542,842020656,506097600,263046417,143,0,1723077785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',475,3616451180076466651),(543,842020656,506097600,263046417,143,0,1723077885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',476,3616451180076466652),(544,842020656,506097600,263046417,143,0,1723077985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',477,3616451180076466653),(545,842020656,506097600,263046417,143,0,1723078085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',478,3616451180076466654),(546,842020656,506097600,263046417,143,0,1723078185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',479,3616451180076466655),(547,842020656,506097600,263046417,143,0,1723078285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',480,3616451180076466656),(548,842020656,506097600,263046417,143,0,1723078385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',481,3616451180076466657),(549,842020656,506097600,263046417,143,0,1723078485,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',482,3616451180076466658),(550,842020656,506097600,263046417,143,0,1723078585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',483,3616451180076466659),(551,842020656,506097600,263046417,143,0,1723078685,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',484,3616451180076466660),(552,842020656,506097600,263046417,143,0,1723078785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',485,3616451180076466661),(553,842020656,506097600,263046417,143,0,1723078885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',486,3616451180076466662),(554,842020656,506097600,263046417,143,0,1723078985,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',487,3616451180076466663),(555,842020656,506097600,263046417,143,0,1723079085,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',488,3616451180076466664),(556,842020656,506097600,263046417,143,0,1723079185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',489,3616451180076466665),(557,842020656,506097600,263046417,143,0,1723079285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',490,3616451180076466666),(558,842020656,506097600,263046417,143,0,1723079385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',491,3616451180076466667),(559,842020656,506097600,263046417,143,0,1723079485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',492,3616451180076466668),(560,842020656,506097600,263046417,143,0,1723079585,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',493,3616451180076466669),(561,842020656,506097600,263046417,143,0,1723079685,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',494,3616451180076466670),(562,842020656,506097600,263046417,143,0,1723079785,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',495,3616451180076466671),(563,842020656,506097600,263046417,143,0,1723079885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',496,3616451180076466672),(564,842020656,506097600,263046417,143,0,1723079985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',497,3616451180076466673),(565,842020656,506097600,263046417,143,0,1723080085,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',498,3616451180076466674),(566,842020656,506097600,263046417,143,0,1723080185,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',499,3616451180076466675),(567,842020656,506097600,263046417,143,0,1723080285,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',500,3616451180076466676),(568,842020656,506097600,263046417,143,0,1723080385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',501,3616451180076466677),(569,842020656,506097600,263046417,143,0,1723080485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',502,3616451180076466678),(570,842020656,506097600,263046417,143,0,1723080585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',503,3616451180076466679),(571,842020656,506097600,263046417,143,0,1723080685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',504,3616451180076466680),(572,842020656,506097600,263046417,143,0,1723080785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',505,3616451180076466681),(573,842020656,506097600,263046417,143,0,1723080885,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',506,3616451180076466682),(574,842020656,506097600,263046417,143,0,1723080985,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',507,3616451180076466683),(575,842020656,506097600,263046417,143,0,1723081085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',508,3616451180076466684),(576,842020656,506097600,263046417,143,0,1723081185,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',509,3616451180076466685),(577,842020656,506097600,263046417,143,0,1723081285,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',510,3616451180076466686),(578,842020656,506097600,263046417,143,0,1723081385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',511,3616451180076466687),(579,842020656,506097600,263046417,143,0,1723081485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',512,3616451180076466688),(580,842020656,506097600,263046417,143,0,1723081585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',513,3616451180076466689),(581,842020656,506097600,263046417,143,0,1723081685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',514,3616451180076466690),(582,842020656,506097600,263046417,143,0,1723081785,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',515,3616451180076466691),(583,842020656,506097600,263046417,143,0,1723081885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',516,3616451180076466692),(584,842020656,506097600,263046417,143,0,1723081985,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',517,3616451180076466693),(585,842020656,506097600,263046417,143,0,1723082085,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',518,3616451180076466694),(586,842020656,506097600,263046417,143,0,1723082185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',519,3616451180076466695),(587,842020656,506097600,263046417,143,0,1723082285,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',520,3616451180076466696),(588,842020656,506097600,263046417,143,0,1723082385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',521,3616451180076466697),(589,842020656,506097600,263046417,143,0,1723082485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',522,3616451180076466698),(590,842020656,506097600,263046417,143,0,1723082585,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',523,3616451180076466699),(591,842020656,506097600,263046417,143,0,1723082685,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',524,3616451180076466700),(592,842020656,506097600,263046417,143,0,1723082785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',525,3616451180076466701),(593,842020656,506097600,263046417,143,0,1723082885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',526,3616451180076466702),(594,842020656,506097600,263046417,143,0,1723082985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',527,3616451180076466703),(595,842020656,506097600,263046417,143,0,1723083085,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',528,3616451180076466704),(596,842020656,506097600,263046417,143,0,1723083185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',529,3616451180076466705),(597,842020656,506097600,263046417,143,0,1723083285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',530,3616451180076466706),(598,842020656,506097600,263046417,143,0,1723083385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',531,3616451180076466707),(599,842020656,506097600,263046417,143,0,1723083485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',532,3616451180076466708),(600,842020656,506097600,263046417,143,0,1723083585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',533,3616451180076466709),(601,842020656,506097600,263046417,143,0,1723083685,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',534,3616451180076466710),(602,842020656,506097600,263046417,143,0,1723083785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',535,3616451180076466711),(603,842020656,506097600,263046417,143,0,1723083885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',536,3616451180076466712),(604,842020656,506097600,263046417,143,0,1723083985,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',537,3616451180076466713),(605,842020656,506097600,263046417,143,0,1723084085,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',538,3616451180076466714),(606,842020656,506097600,263046417,143,0,1723084185,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',539,3616451180076466715),(607,842020656,506097600,263046417,143,0,1723084285,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',540,3616451180076466716),(608,842020656,506097600,263046417,143,0,1723084385,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',541,3616451180076466717),(609,842020656,506097600,263046417,143,0,1723084485,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',542,3616451180076466718),(610,842020656,506097600,263046417,143,0,1723084585,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',543,3616451180076466719),(611,842020656,506097600,263046417,143,0,1723084685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',544,3616451180076466720),(612,842020656,506097600,263046417,143,0,1723084785,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',545,3616451180076466721),(613,842020656,506097600,263046417,143,0,1723084885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',546,3616451180076466722),(614,842020656,506097600,263046417,143,0,1723084985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',547,3616451180076466723),(615,842020656,506097600,263046417,143,0,1723085085,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',548,3616451180076466724),(616,842020656,506097600,263046417,143,0,1723085185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',549,3616451180076466725),(617,842020656,506097600,263046417,143,0,1723085285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',550,3616451180076466726),(618,842020656,506097600,263046417,143,0,1723085385,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',551,3616451180076466727),(619,842020656,506097600,263046417,143,0,1723085485,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',552,3616451180076466728),(620,842020656,506097600,263046417,143,0,1723085585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',553,3616451180076466729),(621,842020656,506097600,263046417,143,0,1723085685,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',554,3616451180076466730),(622,842020656,506097600,263046417,143,0,1723085785,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',555,3616451180076466731),(623,842020656,506097600,263046417,143,0,1723085885,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',556,3616451180076466732),(624,842020656,506097600,263046417,143,0,1723085985,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',557,3616451180076466733),(625,842020656,506097600,263046417,143,0,1723086085,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',558,3616451180076466734),(626,842020656,506097600,263046417,143,0,1723086185,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',559,3616451180076466735),(627,842020656,506097600,263046417,143,0,1723086285,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',560,3616451180076466736),(628,842020656,506097600,263046417,143,0,1723086385,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',561,3616451180076466737),(629,842020656,506097600,263046417,143,0,1723086485,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',562,3616451180076466738),(630,842020656,506097600,263046417,143,0,1723086585,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',563,3616451180076466739),(631,842020656,506097600,263046417,143,0,1723086685,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',564,3616451180076466740),(632,842020656,506097600,263046417,143,0,1723086785,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',565,3616451180076466741),(633,842020656,506097600,263046417,143,0,1723086885,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',566,3616451180076466742),(634,842020656,506097600,263046417,143,0,1723086985,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',567,3616451180076466743),(635,842020656,506097600,263046417,143,0,1723087085,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',568,3616451180076466744),(636,842020656,506097600,263046417,143,0,1723087185,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',569,3616451180076466745),(637,842020656,506097600,263046417,143,0,1723087285,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',570,3616451180076466746),(638,842020656,506097600,263046417,143,0,1723087385,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',571,3616451180076466747),(639,842020656,506097600,263046417,143,0,1723087485,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',572,3616451180076466748),(640,842020656,506097600,263046417,143,0,1723087585,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',573,3616451180076466749),(641,842020656,506097600,263046417,143,0,1723087685,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',574,3616451180076466750),(642,842020656,506097600,263046417,143,0,1723087785,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',575,3616451180076466751),(643,842020656,506097600,263046417,143,0,1723087885,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',576,3616451180076466752),(644,842020656,506097600,263046417,143,0,1723087985,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',577,3616451180076466753),(645,842020656,506097600,263046417,143,0,1723088085,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',578,3616451180076466754),(646,842020656,506097600,263046417,143,0,1723088185,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',579,3616451180076466755),(647,842020656,506097600,263046417,143,0,1723088285,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',580,3616451180076466756),(648,842020656,506097600,263046417,143,0,1723088385,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',581,3616451180076466757),(649,842020656,506097600,263046417,143,0,1723088485,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',582,3616451180076466758),(650,842020656,506097600,263046417,143,0,1723088585,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',583,3616451180076466759),(651,842020656,506097600,263046417,143,0,1723088685,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',584,3616451180076466760),(652,842020656,506097600,263046417,143,0,1723088785,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',585,3616451180076466761),(653,842020656,506097600,263046417,143,0,1723088885,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',586,3616451180076466762),(654,842020656,506097600,263046417,143,0,1723088985,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',587,3616451180076466763),(655,842020656,506097600,263046417,143,0,1723089085,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',588,3616451180076466764),(656,842020656,506097600,263046417,143,0,1723089195,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',589,3616451180076466765),(657,842020656,506097600,263046417,143,0,1723089295,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',590,3616451180076466766),(658,842020656,506097600,263046417,143,0,1723089395,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',591,3616451180076466767),(659,842020656,506097600,263046417,143,0,1723089495,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',592,3616451180076466768),(660,842020656,506097600,263046417,143,0,1723089595,0,0,0,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',593,3616451180076466769),(661,842020656,506097600,263046417,143,0,1723089695,0,1,17,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',594,3616451180076466770),(662,842020656,506097600,263046417,143,0,1723089795,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',595,3616451180076466771),(663,842020656,506097600,263046417,143,0,1723089895,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',596,3616451180076466772),(664,842020656,506097600,263046417,143,0,1723089995,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',597,3616451180076466773),(665,842020656,506097600,263046417,143,0,1723090095,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',598,3616451180076466774),(666,842020656,506097600,263046417,143,0,1723090195,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',599,3616451180076466775),(667,842020656,506097600,263046417,143,0,1723090295,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',600,3616451180076466776),(668,842020656,506097600,263046417,143,0,1723090395,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',601,3616451180076466777),(669,842020656,506097600,263046417,143,0,1723090495,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',602,3616451180076466778),(670,842020656,506097600,263046417,143,0,1723090595,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',603,3616451180076466779),(671,842020656,506097600,263046417,143,0,1723090695,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',604,3616451180076466780),(672,842020656,506097600,263046417,143,0,1723090795,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',605,3616451180076466781),(673,842020656,506097600,263046417,143,0,1723090895,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',606,3616451180076466782),(674,842020656,506097600,263046417,143,0,1723090995,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',607,3616451180076466783),(675,842020656,506097600,263046417,143,0,1723091095,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',608,3616451180076466784),(676,842020656,506097600,263046417,143,0,1723091195,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',609,3616451180076466785),(677,842020656,506097600,263046417,143,0,1723091295,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',610,3616451180076466786),(678,842020656,506097600,263046417,143,0,1723091395,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',611,3616451180076466787),(679,842020656,506097600,263046417,143,0,1723091495,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',612,3616451180076466788),(680,842020656,506097600,263046417,143,0,1723091595,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',613,3616451180076466789),(681,842020656,506097600,263046417,143,0,1723091695,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',614,3616451180076466790),(682,842020656,506097600,263046417,143,0,1723091795,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',615,3616451180076466791),(683,842020656,506097600,263046417,143,0,1723091895,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',616,3616451180076466792),(684,842020656,506097600,263046417,143,0,1723091995,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',617,3616451180076466793),(685,842020656,506097600,263046417,143,0,1723092095,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',618,3616451180076466794),(686,842020656,506097600,263046417,143,0,1723092195,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',619,3616451180076466795),(687,842020656,506097600,263046417,143,0,1723092295,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',620,3616451180076466796),(688,842020656,506097600,263046417,143,0,1723092395,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',621,3616451180076466797),(689,842020656,506097600,263046417,143,0,1723092495,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',622,3616451180076466798),(690,842020656,506097600,263046417,143,0,1723092595,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',623,3616451180076466799),(691,842020656,506097600,263046417,143,0,1723092695,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',624,3616451180076466800),(692,842020656,506097600,263046417,143,0,1723092795,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',625,3616451180076466801),(693,842020656,506097600,263046417,143,0,1723092895,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',626,3616451180076466802),(694,842020656,506097600,263046417,143,0,1723092995,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',627,3616451180076466803),(695,842020656,506097600,263046417,143,0,1723093095,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',628,3616451180076466804),(696,842020656,506097600,263046417,143,0,1723093195,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',629,3616451180076466805),(697,842020656,506097600,263046417,143,0,1723093295,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',630,3616451180076466806),(698,842020656,506097600,263046417,143,0,1723093395,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',631,3616451180076466807),(699,842020656,506097600,263046417,143,0,1723093495,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',632,3616451180076466808),(700,842020656,506097600,263046417,143,0,1723093595,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',633,3616451180076466809),(701,842020656,506097600,263046417,143,0,1723093695,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',634,3616451180076466810),(702,842020656,506097600,263046417,143,0,1723093795,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',635,3616451180076466811),(703,842020656,506097600,263046417,143,0,1723093895,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',636,3616451180076466812),(704,842020656,506097600,263046417,143,0,1723093995,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',637,3616451180076466813),(705,842020656,506097600,263046417,143,0,1723094095,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',638,3616451180076466814),(706,842020656,506097600,263046417,143,0,1723094195,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',639,3616451180076466815),(707,842020656,506097600,263046417,143,0,1723094295,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',640,3616451180076466816),(708,842020656,506097600,263046417,143,0,1723094395,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',641,3616451180076466817),(709,842020656,506097600,263046417,143,0,1723094495,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',642,3616451180076466818),(710,842020656,506097600,263046417,143,0,1723094595,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',643,3616451180076466819),(711,842020656,506097600,263046417,143,0,1723094695,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',644,3616451180076466820),(712,842020656,506097600,263046417,143,0,1723094795,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',645,3616451180076466821),(713,842020656,506097600,263046417,143,0,1723094895,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',646,3616451180076466822),(714,842020656,506097600,263046417,143,0,1723094995,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',647,3616451180076466823),(715,842020656,506097600,263046417,143,0,1723095095,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',648,3616451180076466824),(716,842020656,506097600,263046417,143,0,1723095195,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',649,3616451180076466825),(717,842020656,506097600,263046417,143,0,1723095295,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',650,3616451180076466826),(718,842020656,506097600,263046417,143,0,1723095395,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',651,3616451180076466827),(719,842020656,506097600,263046417,143,0,1723095495,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',652,3616451180076466828),(720,842020656,506097600,263046417,143,0,1723095595,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',653,3616451180076466829),(721,842020656,506097600,263046417,143,0,1723095695,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',654,3616451180076466830),(722,842020656,506097600,263046417,143,0,1723095795,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',655,3616451180076466831),(723,842020656,506097600,263046417,143,0,1723095895,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',656,3616451180076466832),(724,842020656,506097600,263046417,143,0,1723095995,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',657,3616451180076466833),(725,842020656,506097600,263046417,143,0,1723096095,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',658,3616451180076466834),(726,842020656,506097600,263046417,143,0,1723096195,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',659,3616451180076466835),(727,842020656,506097600,263046417,143,0,1723096295,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',660,3616451180076466836),(728,842020656,506097600,263046417,143,0,1723096395,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',661,3616451180076466837),(729,842020656,506097600,263046417,143,0,1723096495,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',662,3616451180076466838),(730,842020656,506097600,263046417,143,0,1723096595,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',663,3616451180076466839),(731,842020656,506097600,263046417,143,0,1723096695,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',664,3616451180076466840),(732,842020656,506097600,263046417,143,0,1723096795,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',665,3616451180076466841),(733,842020656,506097600,263046417,143,0,1723096895,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',666,3616451180076466842),(734,842020656,506097600,263046417,143,0,1723096995,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',667,3616451180076466843),(735,842020656,506097600,263046417,143,0,1723097095,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',668,3616451180076466844),(736,842020656,506097600,263046417,143,0,1723097195,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',669,3616451180076466845),(737,842020656,506097600,263046417,143,0,1723097295,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP1AAAAAAAHKykAAA==',0,'',670,3616451180076466846),(738,842020656,506097600,263046417,143,0,1723097395,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',671,3616451180076466847),(739,842020656,506097600,263046417,143,0,1723097495,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',672,3616451180076466848),(740,842020656,506097600,263046417,143,0,1723097595,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',673,3616451180076466849),(741,842020656,506097600,263046417,143,0,1723097695,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',674,3616451180076466850),(742,842020656,506097600,263046417,143,0,1723097795,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',675,3616451180076466851),(743,842020656,506097600,263046417,143,0,1723097895,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',676,3616451180076466852),(744,842020656,506097600,263046417,143,0,1723097995,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',677,3616451180076466853),(745,842020656,506097600,263046417,143,0,1723098095,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',678,3616451180076466854),(746,842020656,506097600,263046417,143,0,1723098195,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',679,3616451180076466855),(747,842020656,506097600,263046417,143,0,1723098295,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',680,3616451180076466856),(748,842020656,506097600,263046417,143,0,1723098395,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',681,3616451180076466857),(749,842020656,506097600,263046417,143,0,1723098495,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',682,3616451180076466858),(750,842020656,506097600,263046417,143,0,1723098595,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',683,3616451180076466859),(751,842020656,506097600,263046417,143,0,1723098695,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',684,3616451180076466860),(752,842020656,506097600,263046417,143,0,1723098795,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP3AAAAAAAHKykAAA==',0,'',685,3616451180076466861),(753,842020656,506097600,263046417,143,0,1723098895,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',686,3616451180076466862),(754,842020656,506097600,263046417,143,0,1723098995,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',687,3616451180076466863),(755,842020656,506097600,263046417,143,0,1723099095,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',688,3616451180076466864),(756,842020656,506097600,263046417,143,0,1723099195,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',689,3616451180076466865),(757,842020656,506097600,263046417,143,0,1723099295,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',690,3616451180076466866),(758,842020656,506097600,263046417,143,0,1723099395,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',691,3616451180076466867),(759,842020656,506097600,263046417,143,0,1723099495,0,1,17,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',692,3616451180076466868),(760,842020656,506097600,263046417,143,0,1723099595,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',693,3616451180076466869),(761,842020656,506097600,263046417,143,0,1723099695,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',694,3616451180076466870),(762,842020656,506097600,263046417,143,0,1723099795,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',695,3616451180076466871),(763,842020656,506097600,263046417,143,0,1723099895,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',696,3616451180076466872),(764,842020656,506097600,263046417,143,0,1723099995,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',697,3616451180076466873),(765,842020656,506097600,263046417,143,0,1723100095,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',698,3616451180076466874),(766,842020656,506097600,263046417,143,0,1723100195,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',699,3616451180076466875),(767,842020656,506097600,263046417,143,0,1723100295,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP4AAAAAAAHKykAAA==',0,'',700,3616451180076466876),(768,842020656,506097600,263046417,143,0,1723100395,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',701,3616451180076466877),(769,842020656,506097600,263046417,143,0,1723100495,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',702,3616451180076466878),(770,842020656,506097600,263046417,143,0,1723100595,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',703,3616451180076466879),(771,842020656,506097600,263046417,143,0,1723100695,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',704,3616451180076466880),(772,842020656,506097600,263046417,143,0,1723100795,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',705,3616451180076466881),(773,842020656,506097600,263046417,143,0,1723100895,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',706,3616451180076466882),(774,842020656,506097600,263046417,143,0,1723100995,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',707,3616451180076466883),(775,842020656,506097600,263046417,143,0,1723101095,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',708,3616451180076466884),(776,842020656,506097600,263046417,143,0,1723101195,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',709,3616451180076466885),(777,842020656,506097600,263046417,143,0,1723101295,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',710,3616451180076466886),(778,842020656,506097600,263046417,143,0,1723101395,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',711,3616451180076466887),(779,842020656,506097600,263046417,143,0,1723101495,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP5AAAAAAAHKykAAA==',0,'',712,3616451180076466888),(780,842020656,506097600,263046417,143,0,1723101595,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP6AAAAAAAHKykAAA==',0,'',713,3616451180076466889),(781,842020656,506097600,263046417,143,0,1723101695,0,1,19,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',714,3616451180076466890),(782,842020656,506097600,263046417,143,0,1723101795,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',715,3616451180076466891),(783,842020656,506097600,263046417,143,0,1723101895,0,1,18,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',716,3616451180076466892),(784,842020656,506097600,263046417,143,0,1723101995,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',717,3616451180076466893),(785,842020656,506097600,263046417,143,0,1723102095,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',718,3616451180076466894),(786,842020656,506097600,263046417,143,0,1723102195,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',719,3616451180076466895),(787,842020656,506097600,263046417,143,0,1723102295,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',720,3616451180076466896),(788,842020656,506097600,263046417,143,0,1723102395,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',721,3616451180076466897),(789,842020656,506097600,263046417,143,0,1723102495,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',722,3616451180076466898),(790,842020656,506097600,263046417,143,0,1723102595,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',723,3616451180076466899),(791,842020656,506097600,263046417,143,0,1723102695,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',724,3616451180076466900),(792,842020656,506097600,263046417,143,0,1723102795,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',725,3616451180076466901),(793,842020656,506097600,263046417,143,0,1723102895,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',726,3616451180076466902),(794,842020656,506097600,263046417,143,0,1723102995,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',727,3616451180076466903),(795,842020656,506097600,263046417,143,0,1723103095,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP7AAAAAAAHKykAAA==',0,'',728,3616451180076466904),(796,842020656,506097600,263046417,143,0,1723103195,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',729,3616451180076466905),(797,842020656,506097600,263046417,143,0,1723103295,0,1,20,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',730,3616451180076466906),(798,842020656,506097600,263046417,143,0,1723103395,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',731,3616451180076466907),(799,842020656,506097600,263046417,143,0,1723103495,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',732,3616451180076466908),(800,842020656,506097600,263046417,143,0,1723103595,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',733,3616451180076466909),(801,842020656,506097600,263046417,143,0,1723103695,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',734,3616451180076466910),(802,842020656,506097600,263046417,143,0,1723103795,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',735,3616451180076466911),(803,842020656,506097600,263046417,143,0,1723103895,0,1,21,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',736,3616451180076466912),(804,842020656,506097600,263046417,143,0,1723103995,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',737,3616451180076466913),(805,842020656,506097600,263046417,143,0,1723104095,0,1,22,0,0,0,_binary 'AAAIZD1/AAD6ABcAAAP8AAAAAAAHKykAAA==',0,'',738,3616451180076466914),(806,842020656,506097600,263046417,143,0,1723104195,0,1,22,0,0,0,_binary 'EAAIZD2BAAD6ABwAAAP8AAAAAAAHKyoS0A==',0,'',739,3616451180076466915),(807,842020656,506097600,263046417,143,0,1723104295,0,1,22,0,0,0,_binary 'EAAIZD2BAAD6ABwAAAP9AAAAAAAHKyoSzA==',0,'',740,3616451180076466916),(808,842020656,506099050,263046917,29,0,1723104350,70,1,22,0,0,0,_binary 'EAAIZD2GAAD6ABwAAAP9AAAAAAAHKyogXA==',0,'',741,3616451180076466917),(809,842020656,506099850,263048150,15,0,1723104355,90,1,22,0,0,0,_binary 'EAAIZD2JAAD6ABwAAAP9AAAAAAAHKyofIA==',0,'',742,3616451180076466918),(810,842020656,506100367,263048400,4,0,1723104357,90,1,22,0,0,0,_binary 'EAAIZD2KAAD6ABwAAAP9AAAAAAAHKyodyA==',0,'',743,3616451180076466919),(811,842020656,506102217,263048467,233,0,1723104363,110,1,22,0,0,0,_binary 'EAAIZD2PAAD6ABwAAAP9AAAAAAAHKyoXXA==',0,'',744,3616451180076466920),(812,842020656,506103150,263048033,221,0,1723104366,120,1,22,0,0,0,_binary 'EAAIZD2QAAD6ABwAAAP9AAAAAAAHKyobiA==',0,'',745,3616451180076466921),(813,842020656,506103283,263047733,205,0,1723104367,120,1,22,0,0,0,_binary 'EAAIZD2RAAD6ABwAAAP9AAAAAAAHKyoYDA==',0,'',746,3616451180076466922),(814,842020656,506103417,263047150,189,0,1723104369,110,1,22,0,0,0,_binary 'EAAIZD2SAAD6ABwAAAP+AAAAAAAHKyodMA==',0,'',747,3616451180076466923),(815,842020656,506103450,263046400,177,0,1723104371,110,1,22,0,0,0,_binary 'EAAIZD2TAAD6ABwAAAP+AAAAAAAHKyokaA==',0,'',748,3616451180076466924),(816,842020656,506103383,263042733,197,0,1723104379,120,1,19,0,0,0,_binary 'EAAIZD2YAAD6ABwAAAP+AAAAAAAHKyonOA==',0,'',749,3616451180076466925),(817,842020656,506103617,263042350,211,0,1723104380,120,1,18,0,0,0,_binary 'EAAIZD2ZAAD6ABwAAAP+AAAAAAAHKyooiA==',0,'',750,3616451180076466926),(818,842020656,506104167,263041983,233,0,1723104382,120,1,20,0,0,0,_binary 'EAAIZD2aAAD6ABwAAAP+AAAAAAAHKyooWA==',0,'',751,3616451180076466927),(819,842020656,506124217,263043033,4,0,1723104417,400,1,17,0,0,0,_binary 'EAAIZD3IAAD6ABwAAAP+AAAAAAAHKyoiNA==',0,'',752,3616451180076466928),(820,842020656,506135283,263044633,7,-1,1723104437,0,1,20,0,0,0,_binary 'EAAIZD3gAAD6ABwAAAP+AAAAAAAHKyoSyA==',0,'',753,3616451180076466929),(821,842020656,506135283,263044633,7,0,1723104497,0,1,20,0,0,0,_binary 'EAAIZD3gAAD6ABwAAAP9AAAAAAAHKyoSxA==',0,'',754,3616451180076466930),(822,842020656,506136350,263044417,12,0,1723104509,100,1,20,0,0,0,_binary 'EAAIZD3jAAD6ABwAAAP9AAAAAAAHKyob4A==',0,'',755,3616451180076466931),(823,842020656,506136567,263044633,29,0,1723104510,110,1,20,0,0,0,_binary 'EAAIZD3jAAD6ABwAAAP9AAAAAAAHKyocuA==',0,'',756,3616451180076466932),(824,842020656,506136700,263044983,45,0,1723104511,110,1,20,0,0,0,_binary 'EAAIZD3kAAD6ABwAAAP9AAAAAAAHKyojUA==',0,'',757,3616451180076466933),(825,842020656,506136783,263045483,55,1,1723104512,130,1,19,0,0,0,_binary 'EAAIZD3lAAD6ABwAAAP9AAAAAAAHKyopYA==',0,'',758,3616451180076466934),(826,842020656,506136767,263046733,66,1,1723104514,170,1,20,0,0,0,_binary 'EAAIZD3nAAD6ABwAAAP9AAAAAAAHKyog3A==',0,'',759,3616451180076466935),(827,842020656,506125850,263164217,69,0,1723104574,490,1,19,0,0,0,_binary 'EAAIZD6TAAD6ABwAAAP8AAAAAAAHKysboA==',0,'',760,3616451180076466936),(828,842020656,506124517,263169183,79,0,1723104577,470,1,21,0,0,0,_binary 'EAAIZD6bAAD6ABwAAAP8AAAAAAAHKysfvA==',0,'',761,3616451180076466937),(829,842020656,506123367,263173750,62,-1,1723104580,400,1,22,0,0,0,_binary 'EAAIZD6iAAD6ABwAAAP8AAAAAAAHKysbQA==',0,'',762,3616451180076466938),(830,842020656,506124000,263177250,49,0,1723104582,390,1,22,0,0,0,_binary 'EAAIZD6nAAD6ABwAAAP8AAAAAAAHKyscCA==',0,'',763,3616451180076466939),(831,842020656,506124583,263183817,61,1,1723104586,470,1,21,0,0,0,_binary 'EAAIZD6xAAD6ABwAAAP8AAAAAAAHKysbNA==',0,'',764,3616451180076466940),(832,842020656,506112433,263312083,65,0,1723104646,530,1,20,0,0,0,_binary 'EAAIZD9sAAD6ABwAAAP8AAAAAAAHKywdFA==',0,'',765,3616451180076466941),(833,842020656,506106583,263368750,75,0,1723104672,590,1,21,0,0,0,_binary 'EAAIZD+/AAD6ABwAAAP8AAAAAAAHKywZ8A==',0,'',766,3616451180076466942),(834,842020656,506104067,263375333,87,1,1723104675,650,1,20,0,0,0,_binary 'EAAIZD/JAAD6ABwAAAP8AAAAAAAHKywbSA==',0,'',767,3616451180076466943),(835,842020656,506081517,263402967,99,0,1723104701,550,1,22,0,0,0,_binary 'EAAIZEAJAAD6ABwAAAP8AAAAAAAHKywmdA==',0,'',768,3616451180076466944),(836,842020656,506076600,263405917,111,0,1723104705,530,1,22,0,0,0,_binary 'EAAIZEAWAAD6ABwAAAP8AAAAAAAHKywl/A==',0,'',769,3616451180076466945),(837,842020656,506060600,263405700,121,0,1723104717,520,1,21,0,0,0,_binary 'EAAIZEA6AAD6ABwAAAP8AAAAAAAHKywc5A==',0,'',770,3616451180076466946),(838,842020656,506010833,263395333,131,0,1723104750,700,1,21,0,0,0,_binary 'EAAIZECtAAD6ABwAAAP8AAAAAAAHKy0fAA==',0,'',771,3616451180076466947),(839,842020656,505979400,263372783,142,0,1723104767,870,1,22,0,0,0,_binary 'EAAIZED8AAD6ABwAAAP8AAAAAAAHKy0klA==',0,'',772,3616451180076466948),(840,842020656,505907967,263286400,145,0,1723104811,830,1,22,0,0,0,_binary 'EAAIZEHHAAD6ABwAAAP8AAAAAAAHKy0i0A==',0,'',773,3616451180076466949),(841,842020656,505884317,263262400,135,0,1723104825,780,1,21,0,0,0,_binary 'EAAIZEIGAAD6ABwAAAP8AAAAAAAHKy0gvA==',0,'',774,3616451180076466950),(842,842020656,505850800,263240017,145,0,1723104846,390,1,20,0,0,0,_binary 'EAAIZEJXAAD6ABwAAAP8AAAAAAAHKy0SxA==',0,'',775,3616451180076466951),(843,842020656,505845300,263232817,147,0,1723104866,0,1,22,0,0,0,_binary 'EAAIZEJnAAD6ABsAAAP8AAAAAAAHKy0S0A==',0,'',776,3616451180076466952),(844,842020656,505845017,263232433,146,0,1723104869,50,1,22,0,0,0,_binary 'EAAIZEJoAAD6ABwAAAP8AAAAAAAHKy0SvA==',0,'',777,3616451180076466953),(845,842020656,505836950,263217533,156,0,1723104892,330,1,22,0,0,0,_binary 'EAAIZEKFAAD6ABwAAAP8AAAAAAAHKy4efA==',0,'',778,3616451180076466954),(846,842020656,505803300,263129933,166,0,1723104937,660,1,21,0,0,0,_binary 'EAAIZEMYAAD6ABwAAAP8AAAAAAAHKy4c/A==',0,'',779,3616451180076466955),(847,842020656,505771783,262997933,166,0,1723104984,840,1,20,0,0,0,_binary 'EAAIZEPjAAD6ABwAAAP8AAAAAAAHKy4jDA==',0,'',780,3616451180076466956),(848,842020656,505740083,262864367,166,0,1723105029,750,1,22,0,0,0,_binary 'EAAIZESwAAD6ABwAAAP8AAAAAAAHKy8fQA==',0,'',781,3616451180076466957),(849,842020656,505728283,262812017,181,-1,1723105052,230,1,22,0,0,0,_binary 'EAAIZET/AAD6ABwAAAP8AAAAAAAHKy8SxA==',0,'',782,3616451180076466958),(850,842020656,505728500,262810550,197,-1,1723105054,180,1,21,0,0,0,_binary 'EAAIZEUBAAD6ABsAAAP8AAAAAAAHKy8SxA==',0,'',783,3616451180076466959),(851,842020656,505729167,262809600,210,0,1723105056,180,1,21,0,0,0,_binary 'EAAIZEUDAAD6ABwAAAP8AAAAAAAHKy8SxA==',0,'',784,3616451180076466960),(852,842020656,505730300,262807767,191,0,1723105060,140,1,21,0,0,0,_binary 'EAAIZEUGAAD6ABwAAAP8AAAAAAAHKy8ZfA==',0,'',785,3616451180076466961),(853,842020656,505730333,262807217,181,0,1723105061,130,1,21,0,0,0,_binary 'EAAIZEUHAAD6ABwAAAP8AAAAAAAHKy8YWA==',0,'',786,3616451180076466962),(854,842020656,505730000,262803850,161,0,1723105068,120,1,21,0,0,0,_binary 'EAAIZEUMAAD6ABwAAAP8AAAAAAAHKy8X+A==',0,'',787,3616451180076466963),(855,842020656,505729200,262802400,146,0,1723105072,110,1,21,0,0,0,_binary 'EAAIZEUPAAD6ABwAAAP8AAAAAAAHKy8WyA==',0,'',788,3616451180076466964),(856,842020656,505728767,262801883,147,0,1723105078,0,1,21,0,0,0,_binary 'EAAIZEUQAAD6ABwAAAP8AAAAAAAHKy8SjA==',0,'',789,3616451180076466965),(857,842020656,505729367,262801967,3,0,1723105089,50,1,22,0,0,0,_binary 'EAAIZEUQAAD6ABwAAAP8AAAAAAAHKy8SuA==',0,'',790,3616451180076466966),(858,842020656,505729317,262801967,5,-1,1723105090,0,1,22,0,0,0,_binary 'EAAIZEUQAAD6ABwAAAP8AAAAAAAHKy8SwA==',0,'',791,3616451180076466967),(859,842020656,505729317,262801967,5,0,1723105150,0,1,21,0,0,0,_binary 'EAAIZEUQAAD6ABwAAAQDAAAAAAAHKy8SaA==',0,'',792,3616451180076466968),(860,842020656,505729317,262801967,5,0,1723105210,0,1,20,0,0,0,_binary 'EAAIZEUQAAD6ABwAAAQIAAAAAAAHKy8SxA==',0,'',793,3616451180076466969),(861,842020656,505729317,262801967,5,0,1723105270,0,1,21,0,0,0,_binary 'EAAIZEUQAAD6ABwAAAQIAAAAAAAHKy8SwA==',0,'',794,3616451180076466970),(862,842020656,505728233,262800483,137,0,1723105296,120,1,22,0,0,0,_binary 'EAAIZEUTAAD6ABwAAAQJAAAAAAAHKy8dQA==',0,'',795,3616451180076466971),(863,842020656,505727667,262800233,127,0,1723105298,90,1,22,0,0,0,_binary 'EAAIZEUUAAD6ABwAAAQJAAAAAAAHKy8UyA==',0,'',796,3616451180076466972),(864,842020656,505726850,262800183,123,0,1723105304,0,1,21,0,0,0,_binary 'EAAIZEUVAAD6ABwAAAQJAAAAAAAHKy8mDA==',0,'',797,3616451180076466973),(865,842020656,505726217,262799900,146,1,1723105307,100,1,22,0,0,0,_binary 'EAAIZEUXAAD6ABwAAAQJAAAAAAAHKy8vvA==',0,'',798,3616451180076466974),(866,842020656,505725950,262799417,159,1,1723105308,150,1,22,0,0,0,_binary 'EAAIZEUYAAD6ABwAAAQJAAAAAAAHKy88mA==',0,'',799,3616451180076466975),(867,842020656,505725433,262797650,169,2,1723105310,270,1,22,0,0,0,_binary 'EAAIZEUbAAD6ABwAAAQJAAAAAAAHKy8g7A==',0,'',800,3616451180076466976),(868,842020656,505712200,262657450,171,0,1723105362,750,1,22,0,0,0,_binary 'EAAIZEXoAAD6ABwAAAQJAAAAAAAHKzAf+A==',0,'',801,3616451180076466977),(869,842020656,505695817,262554550,153,0,1723105416,190,1,22,0,0,0,_binary 'EAAIZEZ/AAD6ABwAAAQLAAAAAAAHKzAfkA==',0,'',802,3616451180076466978),(870,842020656,505695417,262554100,141,-1,1723105417,170,1,22,0,0,0,_binary 'EAAIZEaAAAD6ABwAAAQLAAAAAAAHKzAejA==',0,'',803,3616451180076466979),(871,842020656,505694900,262553967,125,0,1723105418,170,1,22,0,0,0,_binary 'EAAIZEaBAAD6ABwAAAQLAAAAAAAHKzAftA==',0,'',804,3616451180076466980),(872,842020656,505694433,262554117,111,0,1723105419,170,1,22,0,0,0,_binary 'EAAIZEaCAAD6ABwAAAQNAAAAAAAHKzAk0A==',0,'',805,3616451180076466981),(873,842020656,505693967,262554700,95,1,1723105420,190,1,22,0,0,0,_binary 'EAAIZEaDAAD6ABwAAAQNAAAAAAAHKzAqeA==',0,'',806,3616451180076466982),(874,842020656,505693700,262555533,78,0,1723105421,190,1,22,0,0,0,_binary 'EAAIZEaEAAD6ABwAAAQNAAAAAAAHKzAuzA==',0,'',807,3616451180076466983),(875,842020656,505693717,262556533,63,0,1723105422,200,1,22,0,0,0,_binary 'EAAIZEaGAAD6ABwAAAQNAAAAAAAHKzAeNA==',0,'',808,3616451180076466984),(876,842020656,505694017,262557600,46,1,1723105423,230,1,22,0,0,0,_binary 'EAAIZEaHAAD6ABwAAAQNAAAAAAAHKzAkqA==',0,'',809,3616451180076466985),(877,842020656,505698183,262577833,57,0,1723105436,270,1,21,0,0,0,_binary 'EAAIZEalAAD6ABwAAAQOAAAAAAAHKzAQnA==',0,'',810,3616451180076466986),(878,842020656,505697883,262579883,75,0,1723105438,270,1,21,0,0,0,_binary 'EAAIZEaoAAD6ABwAAAQOAAAAAAAHKzAaaA==',0,'',811,3616451180076466987),(879,842020656,505696917,262581583,92,0,1723105440,280,1,20,0,0,0,_binary 'EAAIZEarAAD6ABwAAAQPAAAAAAAHKzAcgA==',0,'',812,3616451180076466988),(880,842020656,505695483,262582500,110,1,1723105442,320,1,20,0,0,0,_binary 'EAAIZEavAAD6ABwAAAQPAAAAAAAHKzAhwA==',0,'',813,3616451180076466989),(881,842020656,505691533,262582400,121,0,1723105446,390,1,21,0,0,0,_binary 'EAAIZEa4AAD6ABwAAAQPAAAAAAAHKzAtpA==',0,'',814,3616451180076466990),(882,842020656,505665933,262584983,109,0,1723105465,510,1,20,0,0,0,_binary 'EAAIZEbyAAD6ABwAAAQQAAAAAAAHKzEdCA==',0,'',815,3616451180076466991),(883,842020656,505595800,262617133,109,0,1723105525,550,1,20,0,0,0,_binary 'EAAIZEeXAAD6ABwAAAQRAAAAAAAHKzEeVA==',0,'',816,3616451180076466992),(884,842020656,505583067,262622650,121,-1,1723105536,300,1,16,0,0,0,_binary 'EAAIZEe0AAD6ABwAAAQRAAAAAAAHKzESqA==',0,'',817,3616451180076466993),(885,842020656,505581867,262621900,136,-1,1723105538,260,1,17,0,0,0,_binary 'EAAIZEe3AAD6ABwAAAQRAAAAAAAHKzEenA==',0,'',818,3616451180076466994),(886,842020656,505580900,262620500,149,0,1723105540,270,1,20,0,0,0,_binary 'EAAIZEe6AAD6ABwAAAQRAAAAAAAHKzElPA==',0,'',819,3616451180076466995),(887,842020656,505577200,262611600,159,0,1723105548,380,1,20,0,0,0,_binary 'EAAIZEfJAAD6ABwAAAQRAAAAAAAHKzEaIA==',0,'',820,3616451180076466996),(888,842020656,505573550,262601700,147,0,1723105561,150,1,22,0,0,0,_binary 'EAAIZEfZAAD6ABwAAAQRAAAAAAAHKzEgvA==',0,'',821,3616451180076466997),(889,842020656,505572817,262601117,131,0,1723105563,150,1,22,0,0,0,_binary 'EAAIZEfbAAD6ABwAAAQRAAAAAAAHKzEiTA==',0,'',822,3616451180076466998),(890,842020656,505572367,262601083,121,0,1723105564,160,1,22,0,0,0,_binary 'EAAIZEfcAAD6ABwAAAQRAAAAAAAHKzEhXA==',0,'',823,3616451180076466999),(891,842020656,505571883,262601233,111,0,1723105565,170,1,22,0,0,0,_binary 'EAAIZEfdAAD6ABwAAAQRAAAAAAAHKzEhNA==',0,'',824,3616451180076467000),(892,842020656,505570667,262602250,98,0,1723105568,160,1,22,0,0,0,_binary 'EAAIZEfgAAD6ABwAAAQRAAAAAAAHKzEfwA==',0,'',825,3616451180076467001),(893,842020656,505565633,262606600,108,0,1723105578,280,1,21,0,0,0,_binary 'EAAIZEftAAD6ABwAAAQRAAAAAAAHKzEaPA==',0,'',826,3616451180076467002),(894,842020656,505563433,262607117,119,0,1723105581,270,1,22,0,0,0,_binary 'EAAIZEfyAAD6ABwAAAQRAAAAAAAHKzEbVA==',0,'',827,3616451180076467003),(895,842020656,505559683,262606233,129,0,1723105586,340,1,22,0,0,0,_binary 'EAAIZEf7AAD6ABwAAAQRAAAAAAAHKzEg/A==',0,'',828,3616451180076467004),(896,842020656,505504700,262580933,130,0,1723105646,400,1,19,0,0,0,_binary 'EAAIZEh9AAD6ABwAAAQRAAAAAAAHKzIcJA==',0,'',829,3616451180076467005),(897,842020656,505494283,262576133,145,0,1723105659,210,1,19,0,0,0,_binary 'EAAIZEiVAAD6ABwAAAQRAAAAAAAHKzIXeA==',0,'',830,3616451180076467006),(898,842020656,505493667,262574900,163,0,1723105661,190,1,19,0,0,0,_binary 'EAAIZEiXAAD6ABwAAAQRAAAAAAAHKzIZWA==',0,'',831,3616451180076467007),(899,842020656,505493583,262574200,173,-1,1723105662,170,1,19,0,0,0,_binary 'EAAIZEiYAAD6ABsAAAQRAAAAAAAHKzIXIA==',0,'',832,3616451180076467008),(900,842020656,505493683,262573550,186,0,1723105663,160,1,19,0,0,0,_binary 'EAAIZEiYAAD6ABsAAAQRAAAAAAAHKzIUjA==',0,'',833,3616451180076467009),(901,842020656,505493933,262573100,197,-1,1723105664,130,1,19,0,0,0,_binary 'EAAIZEiZAAD6ABwAAAQRAAAAAAAHKzIR7A==',0,'',834,3616451180076467010),(902,842020656,505494867,262571500,202,0,1723105673,0,1,21,0,0,0,_binary 'EAAIZEicAAD6ABwAAAQRAAAAAAAHKzISwA==',0,'',835,3616451180076467011),(903,842020656,505495600,262571850,11,0,1723105688,70,1,17,0,0,0,_binary 'EAAIZEicAAD6ABwAAAQRAAAAAAAHKzISxA==',0,'',836,3616451180076467012),(904,842020656,505495700,262571883,3,-1,1723105691,0,1,17,0,0,0,_binary 'EAAIZEicAAD6ABwAAAQRAAAAAAAHKzISuA==',0,'',837,3616451180076467013),(905,842020656,505495567,262569533,193,0,1723105719,60,1,20,0,0,0,_binary 'EAAIZEifAAD6ABwAAAQSAAAAAAAHKzIVFA==',0,'',838,3616451180076467014),(906,842020656,505495783,262568333,173,0,1723105724,70,1,21,0,0,0,_binary 'EAAIZEihAAD6ABwAAAQSAAAAAAAHKzIWDA==',0,'',839,3616451180076467015),(907,842020656,505495683,262568033,157,0,1723105725,70,1,21,0,0,0,_binary 'EAAIZEiiAAD6ABwAAAQUAAAAAAAHKzIWuA==',0,'',840,3616451180076467016),(908,842020656,505495533,262567783,145,0,1723105726,80,1,21,0,0,0,_binary 'EAAIZEiiAAD6ABwAAAQUAAAAAAAHKzIWyA==',0,'',841,3616451180076467017),(909,842020656,505495300,262567633,129,0,1723105727,80,1,21,0,0,0,_binary 'EAAIZEiiAAD6ABwAAAQUAAAAAAAHKzIXyA==',0,'',842,3616451180076467018),(910,842020656,505495067,262567600,117,0,1723105728,90,1,21,0,0,0,_binary 'EAAIZEijAAD6ABwAAAQUAAAAAAAHKzIbtA==',0,'',843,3616451180076467019),(911,842020656,505492217,262567083,129,0,1723105738,130,1,21,0,0,0,_binary 'EAAIZEiqAAD6ABwAAAQWAAAAAAAHKzIbPA==',0,'',844,3616451180076467020),(912,842020656,505490883,262566150,139,0,1723105742,140,1,20,0,0,0,_binary 'EAAIZEitAAD6ABwAAAQWAAAAAAAHKzId0A==',0,'',845,3616451180076467021),(913,842020656,505488967,262564133,149,0,1723105749,110,1,21,0,0,0,_binary 'EAAIZEiyAAD6ABwAAAQYAAAAAAAHKzIWaA==',0,'',846,3616451180076467022),(914,842020656,505488417,262563167,161,0,1723105752,130,1,21,0,0,0,_binary 'EAAIZEi0AAD6ABwAAAQYAAAAAAAHKzIUvA==',0,'',847,3616451180076467023),(915,842020656,505488017,262561700,171,0,1723105756,90,1,21,0,0,0,_binary 'EAAIZEi2AAD6ABwAAAQaAAAAAAAHKzIR/A==',0,'',848,3616451180076467024),(916,842020656,505488033,262560567,182,0,1723105759,100,1,21,0,0,0,_binary 'EAAIZEi4AAD6ABwAAAQaAAAAAAAHKzITUA==',0,'',849,3616451180076467025),(917,842020656,505488317,262558967,194,0,1723105763,110,1,20,0,0,0,_binary 'EAAIZEi7AAD6ABwAAAQaAAAAAAAHKzIWvA==',0,'',850,3616451180076467026),(918,842020656,505488950,262555950,183,0,1723105771,70,1,20,0,0,0,_binary 'EAAIZEi/AAD6ABwAAAQbAAAAAAAHKzITBA==',0,'',851,3616451180076467027),(919,842020656,505488933,262555667,173,0,1723105772,60,1,20,0,0,0,_binary 'EAAIZEi/AAD6ABwAAAQbAAAAAAAHKzISwA==',0,'',852,3616451180076467028),(920,842020656,505488900,262555283,173,0,1723105776,0,1,20,0,0,0,_binary 'EAAIZEjAAAD6ABwAAAQcAAAAAAAHKzISuA==',0,'',853,3616451180076467029),(921,842020656,505488900,262555283,173,0,1723105836,0,1,21,0,0,0,_binary 'EAAIZEjAAAD6ABwAAAQiAAAAAAAHKzISxA==',0,'',854,3616451180076467030),(922,842020656,505488917,262553017,187,0,1723105857,110,1,21,0,0,0,_binary 'EAAIZEjEAAD6ABwAAAQoAAAAAAAHKzIYrA==',0,'',855,3616451180076467031),(923,842020656,505489133,262550767,197,0,1723105863,100,1,21,0,0,0,_binary 'EAAIZEjHAAD6ABwAAAQoAAAAAAAHKzIZHA==',0,'',856,3616451180076467032),(924,842020656,505489617,262549700,208,0,1723105866,100,1,21,0,0,0,_binary 'EAAIZEjJAAD6ABwAAAQoAAAAAAAHKzIVXA==',0,'',857,3616451180076467033),(925,842020656,505489883,262548983,195,0,1723105868,80,1,21,0,0,0,_binary 'EAAIZEjKAAD6ABwAAAQpAAAAAAAHKzIaWA==',0,'',858,3616451180076467034),(926,842020656,505489917,262548650,179,0,1723105869,80,1,21,0,0,0,_binary 'EAAIZEjKAAD6ABwAAAQpAAAAAAAHKzIZAA==',0,'',859,3616451180076467035),(927,842020656,505489850,262548033,167,0,1723105871,80,1,21,0,0,0,_binary 'EAAIZEjLAAD6ABwAAAQpAAAAAAAHKzIXhA==',0,'',860,3616451180076467036),(928,842020656,505489733,262547700,157,0,1723105872,80,1,21,0,0,0,_binary 'EAAIZEjLAAD6ABwAAAQpAAAAAAAHKzIZRA==',0,'',861,3616451180076467037),(929,842020656,505489500,262547233,143,0,1723105874,80,1,21,0,0,0,_binary 'EAAIZEjMAAD6ABwAAAQpAAAAAAAHKzIX9A==',0,'',862,3616451180076467038),(930,842020656,505489000,262546800,131,0,1723105877,70,1,21,0,0,0,_binary 'EAAIZEjNAAD6ABwAAAQpAAAAAAAHKzIShA==',0,'',863,3616451180076467039),(931,842020656,505488267,262546367,147,0,1723105882,50,1,21,0,0,0,_binary 'EAAIZEjPAAD6ABwAAAQqAAAAAAAHKzITaA==',0,'',864,3616451180076467040),(932,842020656,505488050,262546217,127,0,1723105884,60,1,20,0,0,0,_binary 'EAAIZEjPAAD6ABwAAAQqAAAAAAAHKzISuA==',0,'',865,3616451180076467041),(933,842020656,505487650,262546250,123,0,1723105889,0,1,15,0,0,0,_binary 'EAAIZEjQAAD6ABwAAAQqAAAAAAAHKzISyA==',0,'',866,3616451180076467042),(934,842020656,505487650,262546250,123,0,1723105949,0,1,15,0,0,0,_binary 'EAAIZEjWAAD6ABwAAAQrAAAAAAAHKzIS4A==',0,'',867,3616451180076467043),(935,842020656,505487650,262546250,123,0,1723106009,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQrAAAAAAAHKzIAAA==',0,'',868,3616451180076467044),(936,842020656,505487650,262546250,123,0,1723106069,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',869,3616451180076467045),(937,842020656,505487650,262546250,123,0,1723106129,0,1,18,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',870,3616451180076467046),(938,842020656,505487650,262546250,123,0,1723106189,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',871,3616451180076467047),(939,842020656,505487650,262546250,123,0,1723106249,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',872,3616451180076467048),(940,842020656,505487650,262546250,123,0,1723106309,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',873,3616451180076467049),(941,842020656,505487650,262546250,123,0,1723106369,0,1,18,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',874,3616451180076467050),(942,842020656,505487650,262546250,123,0,1723106429,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',875,3616451180076467051),(943,842020656,505487650,262546250,123,0,1723106489,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',876,3616451180076467052),(944,842020656,505487650,262546250,123,0,1723106589,0,1,19,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',877,3616451180076467053),(945,842020656,505487650,262546250,123,0,1723106689,0,1,18,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',878,3616451180076467054),(946,842020656,505487650,262546250,123,0,1723106789,0,1,18,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',879,3616451180076467055),(947,842020656,505487650,262546250,123,0,1723106889,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',880,3616451180076467056),(948,842020656,505487650,262546250,123,0,1723106989,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',881,3616451180076467057),(949,842020656,505487650,262546250,123,0,1723107089,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',882,3616451180076467058),(950,842020656,505487650,262546250,123,0,1723107189,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',883,3616451180076467059),(951,842020656,505487650,262546250,123,0,1723107289,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',884,3616451180076467060),(952,842020656,505487650,262546250,123,0,1723107389,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',885,3616451180076467061),(953,842020656,505487650,262546250,123,0,1723107489,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',886,3616451180076467062),(954,842020656,505487650,262546250,123,0,1723107589,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',887,3616451180076467063),(955,842020656,505487650,262546250,123,0,1723107689,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',888,3616451180076467064),(956,842020656,505487650,262546250,123,0,1723107789,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',889,3616451180076467065),(957,842020656,505487650,262546250,123,0,1723107889,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',890,3616451180076467066),(958,842020656,505487650,262546250,123,0,1723107989,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',891,3616451180076467067),(959,842020656,505487650,262546250,123,0,1723108089,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',892,3616451180076467068),(960,842020656,505487650,262546250,123,0,1723108189,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',893,3616451180076467069),(961,842020656,505487650,262546250,123,0,1723108289,0,1,12,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',894,3616451180076467070),(962,842020656,505487650,262546250,123,0,1723108389,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',895,3616451180076467071),(963,842020656,505487650,262546250,123,0,1723108489,0,1,15,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',896,3616451180076467072),(964,842020656,505487650,262546250,123,0,1723108589,0,1,15,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',897,3616451180076467073),(965,842020656,505487650,262546250,123,0,1723108689,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',898,3616451180076467074),(966,842020656,505487650,262546250,123,0,1723108789,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',899,3616451180076467075),(967,842020656,505487650,262546250,123,0,1723108889,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',900,3616451180076467076),(968,842020656,505487650,262546250,123,0,1723108989,0,1,15,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',901,3616451180076467077),(969,842020656,505487650,262546250,123,0,1723109089,0,1,15,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',902,3616451180076467078),(970,842020656,505487650,262546250,123,0,1723109189,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',903,3616451180076467079),(971,842020656,505487650,262546250,123,0,1723109289,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',904,3616451180076467080),(972,842020656,505487650,262546250,123,0,1723109389,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',905,3616451180076467081),(973,842020656,505487650,262546250,123,0,1723109489,0,1,11,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',906,3616451180076467082),(974,842020656,505487650,262546250,123,0,1723109589,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',907,3616451180076467083),(975,842020656,505487650,262546250,123,0,1723109689,0,1,12,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',908,3616451180076467084),(976,842020656,505487650,262546250,123,0,1723109789,0,1,11,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',909,3616451180076467085),(977,842020656,505487650,262546250,123,0,1723109889,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',910,3616451180076467086),(978,842020656,505487650,262546250,123,0,1723109989,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',911,3616451180076467087),(979,842020656,505487650,262546250,123,0,1723110089,0,1,11,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',912,3616451180076467088),(980,842020656,505487650,262546250,123,0,1723110189,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',913,3616451180076467089),(981,842020656,505487650,262546250,123,0,1723110289,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',914,3616451180076467090),(982,842020656,505487650,262546250,123,0,1723110389,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',915,3616451180076467091),(983,842020656,505487650,262546250,123,0,1723110489,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',916,3616451180076467092),(984,842020656,505487650,262546250,123,0,1723110589,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',917,3616451180076467093),(985,842020656,505487650,262546250,123,0,1723110689,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',918,3616451180076467094),(986,842020656,505487650,262546250,123,0,1723110789,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',919,3616451180076467095),(987,842020656,505487650,262546250,123,0,1723110889,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',920,3616451180076467096),(988,842020656,505487650,262546250,123,0,1723110989,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',921,3616451180076467097);
/*!40000 ALTER TABLE `datagps64` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpsbuffer`
--

DROP TABLE IF EXISTS `datagpsbuffer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpsbuffer` (
  `DataGps_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Mobitel_ID` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Latitude` int(11) DEFAULT '0',
  `Longitude` int(11) DEFAULT '0',
  `Altitude` int(11) DEFAULT NULL,
  `UnixTime` int(11) DEFAULT '0',
  `Speed` smallint(6) DEFAULT '0',
  `Direction` int(11) NOT NULL DEFAULT '0',
  `Valid` tinyint(4) DEFAULT '1',
  `InMobitelID` int(11) DEFAULT NULL,
  `Events` int(10) unsigned DEFAULT '0',
  `Sensor1` tinyint(4) unsigned DEFAULT '0',
  `Sensor2` tinyint(4) unsigned DEFAULT '0',
  `Sensor3` tinyint(4) unsigned DEFAULT '0',
  `Sensor4` tinyint(4) unsigned DEFAULT '0',
  `Sensor5` tinyint(4) unsigned DEFAULT '0',
  `Sensor6` tinyint(4) unsigned DEFAULT '0',
  `Sensor7` tinyint(4) unsigned DEFAULT '0',
  `Sensor8` tinyint(4) unsigned DEFAULT '0',
  `LogID` int(11) DEFAULT '0',
  `isShow` tinyint(4) DEFAULT '0',
  `whatIs` smallint(6) DEFAULT '0',
  `Counter1` int(11) NOT NULL DEFAULT '-1',
  `Counter2` int(11) NOT NULL DEFAULT '-1',
  `Counter3` int(11) NOT NULL DEFAULT '-1',
  `Counter4` int(11) NOT NULL DEFAULT '-1',
  PRIMARY KEY (`DataGps_ID`),
  KEY `IDX_MobitelIDLogID` (`Mobitel_ID`,`LogID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpsbuffer`
--

LOCK TABLES `datagpsbuffer` WRITE;
/*!40000 ALTER TABLE `datagpsbuffer` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpsbuffer` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpsbuffer_dr`
--

DROP TABLE IF EXISTS `datagpsbuffer_dr`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpsbuffer_dr` (
  `Mobitel_ID` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Latitude` int(11) NOT NULL DEFAULT '0',
  `Longitude` int(11) NOT NULL DEFAULT '0',
  `Altitude` int(11) DEFAULT '0',
  `UnixTime` int(11) NOT NULL DEFAULT '0',
  `Speed` smallint(6) NOT NULL DEFAULT '0',
  `Direction` int(11) NOT NULL DEFAULT '0',
  `Valid` tinyint(4) NOT NULL DEFAULT '1',
  `InMobitelID` int(11) DEFAULT '0',
  `Events` int(10) unsigned DEFAULT '0',
  `Sensor1` tinyint(4) unsigned DEFAULT '0',
  `Sensor2` tinyint(4) unsigned DEFAULT '0',
  `Sensor3` tinyint(4) unsigned DEFAULT '0',
  `Sensor4` tinyint(4) unsigned DEFAULT '0',
  `Sensor5` tinyint(4) unsigned DEFAULT '0',
  `Sensor6` tinyint(4) unsigned DEFAULT '0',
  `Sensor7` tinyint(4) unsigned DEFAULT '0',
  `Sensor8` tinyint(4) unsigned DEFAULT '0',
  `LogID` int(11) DEFAULT '0',
  `isShow` tinyint(4) DEFAULT '0',
  `whatIs` smallint(6) unsigned NOT NULL DEFAULT '0',
  `Counter1` int(11) NOT NULL DEFAULT '-1',
  `Counter2` int(11) NOT NULL DEFAULT '-1',
  `Counter3` int(11) NOT NULL DEFAULT '-1',
  `Counter4` int(11) NOT NULL DEFAULT '-1',
  KEY `IDX_MobitelIDLogID` (`Mobitel_ID`,`LogID`) USING BTREE,
  KEY `IDX_MobitelidUnixtime` (`Mobitel_ID`,`UnixTime`) USING BTREE,
  KEY `IDX_MobitelidUnixtimeValid` (`Mobitel_ID`,`UnixTime`,`Valid`) USING BTREE
) ENGINE=MEMORY DEFAULT CHARSET=cp1251 COMMENT='Буфер приема данных поступающих по socket-ам от телетреков';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpsbuffer_dr`
--

LOCK TABLES `datagpsbuffer_dr` WRITE;
/*!40000 ALTER TABLE `datagpsbuffer_dr` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpsbuffer_dr` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpsbuffer_on`
--

DROP TABLE IF EXISTS `datagpsbuffer_on`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpsbuffer_on` (
  `Mobitel_ID` int(11) NOT NULL DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Latitude` int(11) NOT NULL DEFAULT '0',
  `Longitude` int(11) NOT NULL DEFAULT '0',
  `Altitude` int(11) DEFAULT NULL,
  `UnixTime` int(11) NOT NULL DEFAULT '0',
  `Speed` smallint(6) NOT NULL DEFAULT '0',
  `Direction` int(11) NOT NULL DEFAULT '0',
  `Valid` tinyint(4) NOT NULL DEFAULT '1',
  `InMobitelID` int(11) DEFAULT NULL,
  `Events` int(10) unsigned DEFAULT '0',
  `Sensor1` tinyint(4) unsigned DEFAULT '0',
  `Sensor2` tinyint(4) unsigned DEFAULT '0',
  `Sensor3` tinyint(4) unsigned DEFAULT '0',
  `Sensor4` tinyint(4) unsigned DEFAULT '0',
  `Sensor5` tinyint(4) unsigned DEFAULT '0',
  `Sensor6` tinyint(4) unsigned DEFAULT '0',
  `Sensor7` tinyint(4) unsigned DEFAULT '0',
  `Sensor8` tinyint(4) unsigned DEFAULT '0',
  `LogID` int(11) NOT NULL DEFAULT '0',
  `isShow` tinyint(4) DEFAULT '0',
  `whatIs` smallint(6) NOT NULL DEFAULT '0',
  `Counter1` int(11) NOT NULL DEFAULT '-1',
  `Counter2` int(11) NOT NULL DEFAULT '-1',
  `Counter3` int(11) NOT NULL DEFAULT '-1',
  `Counter4` int(11) NOT NULL DEFAULT '-1',
  `SrvPacketID` bigint(20) NOT NULL DEFAULT '0',
  KEY `IDX_MobitelidLogid` (`Mobitel_ID`,`LogID`) USING BTREE,
  KEY `IDX_MobitelidUnixtime` (`Mobitel_ID`,`UnixTime`) USING BTREE,
  KEY `IDX_MobitelidUnixtimeValid` (`Mobitel_ID`,`UnixTime`,`Valid`) USING BTREE,
  KEY `IDX_SrvPacketID` (`SrvPacketID`) USING BTREE
) ENGINE=MEMORY DEFAULT CHARSET=cp1251 COMMENT='Буфер онлайн данных';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpsbuffer_on`
--

LOCK TABLES `datagpsbuffer_on` WRITE;
/*!40000 ALTER TABLE `datagpsbuffer_on` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpsbuffer_on` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpsbuffer_on64`
--

DROP TABLE IF EXISTS `datagpsbuffer_on64`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpsbuffer_on64` (
  `Mobitel_ID` int(11) NOT NULL DEFAULT '0' COMMENT 'РљРѕРґ РўРµР»РµС‚СЂРµРєР°',
  `Latitude` int(11) NOT NULL DEFAULT '0' COMMENT 'РЁРёСЂРѕС‚Р°',
  `Longitude` int(11) NOT NULL DEFAULT '0' COMMENT 'Р”РѕР»РіРѕС‚Р°',
  `Direction` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'РіСЂР°РґСѓСЃС‹/1.5',
  `Acceleration` int(11) NOT NULL DEFAULT '0' COMMENT 'РР·РјРµРЅРµРЅРёРµ СЃРєРѕСЂРѕСЃС‚Рё РїРѕ GPS Р·Р° РїРѕСЃР»РµРґРЅСЋСЋ СЃРµРєСѓРЅРґСѓ',
  `UnixTime` int(11) NOT NULL DEFAULT '0',
  `Speed` smallint(6) NOT NULL DEFAULT '0' COMMENT 'РЎРѕС‚РµРЅ РјРµС‚СЂРѕРІ РІ С‡Р°СЃ (0,1 РєРј/С‡)',
  `Valid` tinyint(1) NOT NULL DEFAULT '1',
  `Satellites` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'РљРѕР»РёС‡РµСЃС‚РІРѕ СЃРїСѓС‚РЅРёРєРѕРІ ',
  `RssiGsm` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'РЈСЂРѕРІРµРЅСЊ GSM СЃРёРіРЅР°Р»Р°',
  `Events` int(11) NOT NULL DEFAULT '0' COMMENT 'Р¤Р»Р°РіРё СЃРѕР±С‹С‚РёР№',
  `SensorsSet` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'РљРѕРґ РЅР°Р±РѕСЂР° РґР°С‚С‡РёРєРѕРІ',
  `Sensors` varbinary(50) NOT NULL DEFAULT '0' COMMENT 'Р—РЅР°С‡РµРЅРёСЏ РґР°С‚С‡РёРєРѕРІ',
  `Voltage` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT 'РќР°РїСЂСЏР¶РµРЅРёРµ РїРёС‚Р°РЅРёСЏ С‚РµРєСѓС‰РµРіРѕ РёСЃС‚РѕС‡РЅРёРєР°/1.5 РѕС‚ 0 РґРѕ 38,2',
  `DGPS` varchar(32) NOT NULL DEFAULT '0' COMMENT 'Р”Р°РЅРЅС‹Рµ РґРёС„С„РµСЂРµРЅС†РёР°Р»СЊРЅРѕР№ СЃРёСЃС‚РµРјС‹ GPS - РІС‹СЃРѕС‚Р°,С€РёСЂРѕС‚Р°,РґРѕР»РіРѕС‚Р°',
  `LogID` int(11) NOT NULL DEFAULT '0' COMMENT 'РРґРµРЅС‚РёС„РёРєР°С‚РѕСЂ Р·Р°РїРёСЃРё РІ Р¶СѓСЂРЅР°Р»Рµ РўРµР»РµС‚СЂРµРєР°',
  `SrvPacketID` bigint(20) NOT NULL DEFAULT '0' COMMENT 'ID СЃРµСЂРІРµСЂРЅРѕРіРѕ РїР°РєРµС‚Р° РІ СЃРѕСЃС‚Р°РІ РєРѕС‚РѕСЂРѕРіРѕ РІС…РѕРґРёС‚ СЌС‚Р° Р·Р°РїРёСЃСЊ',
  KEY `IDX_MobitelidLogid_64` (`Mobitel_ID`,`LogID`) USING BTREE,
  KEY `IDX_MobitelidUnixtime_64` (`Mobitel_ID`,`UnixTime`) USING BTREE,
  KEY `IDX_MobitelidUnixtimeValid_64` (`Mobitel_ID`,`UnixTime`,`Valid`) USING BTREE,
  KEY `IDX_SrvPacketID_64` (`SrvPacketID`) USING BTREE,
  CONSTRAINT `FK_datagps64_mobitels_Mobitel_ID_1` FOREIGN KEY (`Mobitel_ID`) REFERENCES `mobitels` (`Mobitel_ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpsbuffer_on64`
--

LOCK TABLES `datagpsbuffer_on64` WRITE;
/*!40000 ALTER TABLE `datagpsbuffer_on64` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpsbuffer_on64` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpsbuffer_ontmp`
--

DROP TABLE IF EXISTS `datagpsbuffer_ontmp`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpsbuffer_ontmp` (
  `Mobitel_ID` int(11) NOT NULL DEFAULT '0',
  `LogID` int(11) NOT NULL DEFAULT '0',
  `SrvPacketID` bigint(20) NOT NULL DEFAULT '0',
  KEY `IDX_MobitelidSrvpacketid` (`Mobitel_ID`,`SrvPacketID`) USING BTREE,
  KEY `IDX_Mobitelid` (`Mobitel_ID`) USING BTREE
) ENGINE=MEMORY DEFAULT CHARSET=cp1251 COMMENT='Временный вспомогательный буфер онлайн данных';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpsbuffer_ontmp`
--

LOCK TABLES `datagpsbuffer_ontmp` WRITE;
/*!40000 ALTER TABLE `datagpsbuffer_ontmp` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpsbuffer_ontmp` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpsbuffer_ontmp64`
--

DROP TABLE IF EXISTS `datagpsbuffer_ontmp64`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpsbuffer_ontmp64` (
  `Mobitel_ID` int(11) NOT NULL DEFAULT '0' COMMENT 'РљРѕРґ РўРµР»РµС‚СЂРµРєР°',
  `LogID` int(11) unsigned DEFAULT '0' COMMENT 'РРґРµРЅС‚РёС„РёРєР°С‚РѕСЂ Р·Р°РїРёСЃРё РІ Р¶СѓСЂРЅР°Р»Рµ РўРµР»РµС‚СЂРµРєР°',
  `SrvPacketID` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'ID СЃРµСЂРІРµСЂРЅРѕРіРѕ РїР°РєРµС‚Р° РІ СЃРѕСЃС‚Р°РІ РєРѕС‚РѕСЂРѕРіРѕ РІС…РѕРґРёС‚ СЌС‚Р° Р·Р°РїРёСЃСЊ',
  KEY `IDX_Mobitelid64` (`Mobitel_ID`),
  KEY `IDX_MobitelidSrvpacketid64` (`Mobitel_ID`,`SrvPacketID`),
  CONSTRAINT `FK_datagps64_mobitels_Mobitel_ID_2` FOREIGN KEY (`Mobitel_ID`) REFERENCES `mobitels` (`Mobitel_ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpsbuffer_ontmp64`
--

LOCK TABLES `datagpsbuffer_ontmp64` WRITE;
/*!40000 ALTER TABLE `datagpsbuffer_ontmp64` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpsbuffer_ontmp64` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpsbuffer_pop`
--

DROP TABLE IF EXISTS `datagpsbuffer_pop`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpsbuffer_pop` (
  `Mobitel_ID` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Latitude` int(11) NOT NULL DEFAULT '0',
  `Longitude` int(11) NOT NULL DEFAULT '0',
  `Altitude` int(11) DEFAULT '0',
  `UnixTime` int(11) NOT NULL DEFAULT '0',
  `Speed` smallint(6) NOT NULL DEFAULT '0',
  `Direction` int(11) NOT NULL DEFAULT '0',
  `Valid` tinyint(4) NOT NULL DEFAULT '1',
  `InMobitelID` int(11) DEFAULT '0',
  `Events` int(10) unsigned DEFAULT '0',
  `Sensor1` tinyint(4) unsigned DEFAULT '0',
  `Sensor2` tinyint(4) unsigned DEFAULT '0',
  `Sensor3` tinyint(4) unsigned DEFAULT '0',
  `Sensor4` tinyint(4) unsigned DEFAULT '0',
  `Sensor5` tinyint(4) unsigned DEFAULT '0',
  `Sensor6` tinyint(4) unsigned DEFAULT '0',
  `Sensor7` tinyint(4) unsigned DEFAULT '0',
  `Sensor8` tinyint(4) unsigned DEFAULT '0',
  `LogID` int(11) DEFAULT '0',
  `isShow` tinyint(4) DEFAULT '0',
  `whatIs` smallint(6) unsigned NOT NULL DEFAULT '0',
  `Counter1` int(11) NOT NULL DEFAULT '-1',
  `Counter2` int(11) NOT NULL DEFAULT '-1',
  `Counter3` int(11) NOT NULL DEFAULT '-1',
  `Counter4` int(11) NOT NULL DEFAULT '-1',
  KEY `IDX_MobitelIDLogID` (`Mobitel_ID`,`LogID`) USING BTREE,
  KEY `IDX_MobitelidUnixtime` (`Mobitel_ID`,`UnixTime`) USING BTREE,
  KEY `IDX_MobitelidUnixtimeValid` (`Mobitel_ID`,`UnixTime`,`Valid`) USING BTREE
) ENGINE=MEMORY DEFAULT CHARSET=cp1251 COMMENT='Буфер приема данных поступающих по POP3 протоколу';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpsbuffer_pop`
--

LOCK TABLES `datagpsbuffer_pop` WRITE;
/*!40000 ALTER TABLE `datagpsbuffer_pop` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpsbuffer_pop` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpsbufferlite`
--

DROP TABLE IF EXISTS `datagpsbufferlite`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpsbufferlite` (
  `DataGps_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Mobitel_ID` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Latitude` int(11) DEFAULT '0',
  `Longitude` int(11) DEFAULT '0',
  `Altitude` int(11) DEFAULT NULL,
  `UnixTime` int(11) DEFAULT '0',
  `Speed` smallint(6) DEFAULT '0',
  `Direction` int(11) NOT NULL DEFAULT '0',
  `Valid` tinyint(4) DEFAULT '1',
  `InMobitelID` int(11) DEFAULT NULL,
  `Events` int(10) unsigned DEFAULT '0',
  `Sensor1` tinyint(4) unsigned DEFAULT '0',
  `Sensor2` tinyint(4) unsigned DEFAULT '0',
  `Sensor3` tinyint(4) unsigned DEFAULT '0',
  `Sensor4` tinyint(4) unsigned DEFAULT '0',
  `Sensor5` tinyint(4) unsigned DEFAULT '0',
  `Sensor6` tinyint(4) unsigned DEFAULT '0',
  `Sensor7` tinyint(4) unsigned DEFAULT '0',
  `Sensor8` tinyint(4) unsigned DEFAULT '0',
  `LogID` int(11) DEFAULT '0',
  `isShow` tinyint(4) DEFAULT '0',
  `whatIs` smallint(6) DEFAULT '0',
  `Counter1` int(11) NOT NULL DEFAULT '-1',
  `Counter2` int(11) NOT NULL DEFAULT '-1',
  `Counter3` int(11) NOT NULL DEFAULT '-1',
  `Counter4` int(11) NOT NULL DEFAULT '-1',
  PRIMARY KEY (`DataGps_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpsbufferlite`
--

LOCK TABLES `datagpsbufferlite` WRITE;
/*!40000 ALTER TABLE `datagpsbufferlite` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpsbufferlite` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpslost`
--

DROP TABLE IF EXISTS `datagpslost`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpslost` (
  `Mobitel_ID` int(11) NOT NULL DEFAULT '0',
  `Begin_LogID` int(11) NOT NULL DEFAULT '0' COMMENT 'Значение LogID после которого начинается разрыв',
  `End_LogID` int(11) NOT NULL DEFAULT '0' COMMENT 'Значение LogID перед которым завершается разрыв',
  PRIMARY KEY (`Mobitel_ID`,`Begin_LogID`),
  KEY `IDX_MobitelID` (`Mobitel_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Список пропусков в данных DataGPS пришодящих от RF-модемов';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpslost`
--

LOCK TABLES `datagpslost` WRITE;
/*!40000 ALTER TABLE `datagpslost` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpslost` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpslost_on`
--

DROP TABLE IF EXISTS `datagpslost_on`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpslost_on` (
  `Mobitel_ID` int(11) NOT NULL DEFAULT '0',
  `Begin_LogID` int(11) NOT NULL DEFAULT '0' COMMENT 'Значение LogID после которого начинается разрыв',
  `End_LogID` int(11) NOT NULL DEFAULT '0' COMMENT 'Значение LogID перед которым завершается разрыв',
  `Begin_SrvPacketID` bigint(20) NOT NULL DEFAULT '0',
  `End_SrvPacketID` bigint(20) NOT NULL DEFAULT '0',
  `Id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Mobitel_ID`,`Begin_LogID`),
  UNIQUE KEY `IDX_MobitelID_BeginSrvPacketID` (`Mobitel_ID`,`Begin_SrvPacketID`),
  UNIQUE KEY `Id` (`Id`),
  KEY `IDX_MobitelID` (`Mobitel_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Пропуски в данных DataGPS, приходящих от Online сервера';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpslost_on`
--

LOCK TABLES `datagpslost_on` WRITE;
/*!40000 ALTER TABLE `datagpslost_on` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpslost_on` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpslost_ontmp`
--

DROP TABLE IF EXISTS `datagpslost_ontmp`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpslost_ontmp` (
  `LogID` int(11) NOT NULL DEFAULT '0',
  `SrvPacketID` bigint(20) NOT NULL
) ENGINE=MEMORY DEFAULT CHARSET=cp1251 COMMENT='Используется исключительно процедурой OnLostDataGPS';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpslost_ontmp`
--

LOCK TABLES `datagpslost_ontmp` WRITE;
/*!40000 ALTER TABLE `datagpslost_ontmp` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpslost_ontmp` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpslost_rftmp`
--

DROP TABLE IF EXISTS `datagpslost_rftmp`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpslost_rftmp` (
  `LogID` int(11) DEFAULT '0'
) ENGINE=MEMORY DEFAULT CHARSET=cp1251 COMMENT='Используется исключительно процедурой LostDataGPS';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpslost_rftmp`
--

LOCK TABLES `datagpslost_rftmp` WRITE;
/*!40000 ALTER TABLE `datagpslost_rftmp` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpslost_rftmp` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `datagpslosted`
--

DROP TABLE IF EXISTS `datagpslosted`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `datagpslosted` (
  `Mobitel_ID` int(11) NOT NULL DEFAULT '0',
  `Begin_LogID` int(11) NOT NULL DEFAULT '0',
  `End_LogID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`Mobitel_ID`,`Begin_LogID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `datagpslosted`
--

LOCK TABLES `datagpslosted` WRITE;
/*!40000 ALTER TABLE `datagpslosted` DISABLE KEYS */;
/*!40000 ALTER TABLE `datagpslosted` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `driver`
--

DROP TABLE IF EXISTS `driver`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `driver` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `Family` char(40) DEFAULT NULL COMMENT 'Фамилия',
  `Name` char(40) DEFAULT NULL COMMENT 'Имя',
  `ByrdDay` date DEFAULT NULL COMMENT 'Дата рождения',
  `Category` char(5) DEFAULT NULL COMMENT 'Категория',
  `Permis` char(20) DEFAULT NULL COMMENT 'Права',
  `foto` blob COMMENT 'фото',
  `Identifier` smallint(5) unsigned DEFAULT NULL COMMENT '10 битный идентификатор водителя',
  `OutLinkId` varchar(20) DEFAULT NULL COMMENT 'Код внешней базы',
  `idType` int(11) DEFAULT '0' COMMENT 'Код специализации водителя',
  `numTelephone` varchar(32) DEFAULT '' COMMENT 'Телефон водителя для связи',
  `Department` varchar(40) DEFAULT NULL COMMENT 'Организация водителя',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`) USING BTREE,
  UNIQUE KEY `UQ_Identifier` (`Identifier`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `driver`
--

LOCK TABLES `driver` WRITE;
/*!40000 ALTER TABLE `driver` DISABLE KEYS */;
INSERT INTO `driver` VALUES (1,'','','2009-01-01','с','1111',NULL,NULL,NULL,0,'',NULL),(2,'Водитель','','2009-01-22','с','1111',NULL,NULL,NULL,0,'',NULL);
/*!40000 ALTER TABLE `driver` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `driver_types`
--

DROP TABLE IF EXISTS `driver_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `driver_types` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `TypeName` varchar(50) DEFAULT NULL COMMENT 'Специализация водителя',
  PRIMARY KEY (`Id`),
  UNIQUE KEY `id` (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `driver_types`
--

LOCK TABLES `driver_types` WRITE;
/*!40000 ALTER TABLE `driver_types` DISABLE KEYS */;
/*!40000 ALTER TABLE `driver_types` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `gpsmasks`
--

DROP TABLE IF EXISTS `gpsmasks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `gpsmasks` (
  `GpsMask_ID` int(11) NOT NULL AUTO_INCREMENT,
  `ID` int(11) DEFAULT '0',
  `Name` char(200) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `Mobitel_ID` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `LastRecords` int(11) DEFAULT '0',
  `LastTimes` int(11) DEFAULT '0',
  `LastTimesIndex` int(11) DEFAULT '0',
  `LastMeters` int(11) DEFAULT '0',
  `LastMetersIndex` int(11) DEFAULT '0',
  `MaxSmsNum` int(11) DEFAULT '0',
  `MaxSmsNumIndex` int(11) DEFAULT '0',
  `LatitudeStart` int(11) DEFAULT '0',
  `LatitudeEnd` int(11) DEFAULT '0',
  `LongitudeStart` int(11) DEFAULT '0',
  `LongitudeEnd` int(11) DEFAULT '0',
  `AltitudeStart` int(11) DEFAULT '0',
  `AltitudeEnd` int(11) DEFAULT '0',
  `UnixTimeStart` int(11) DEFAULT '0',
  `UnixTimeEnd` int(11) DEFAULT '0',
  `SpeedStart` int(11) DEFAULT '0',
  `SpeedEnd` int(11) DEFAULT '0',
  `DirectionStart` int(11) DEFAULT '0',
  `DirectionEnd` int(11) DEFAULT '0',
  `NumbersStart` int(11) DEFAULT '0',
  `NumbersEnd` int(11) DEFAULT '0',
  `WhatSend` int(1) DEFAULT '0',
  `CheckMask` int(11) DEFAULT '0',
  `InMobitelID` int(11) DEFAULT '0',
  `Events` int(11) DEFAULT '0',
  `Number1` int(11) DEFAULT '0',
  `Number2` int(11) DEFAULT '0',
  `Number3` int(11) DEFAULT '0',
  `Number4` int(11) DEFAULT '0',
  `Number5` int(11) DEFAULT '0',
  PRIMARY KEY (`GpsMask_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `gpsmasks`
--

LOCK TABLES `gpsmasks` WRITE;
/*!40000 ALTER TABLE `gpsmasks` DISABLE KEYS */;
/*!40000 ALTER TABLE `gpsmasks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `internalmobitelconfig`
--

DROP TABLE IF EXISTS `internalmobitelconfig`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `internalmobitelconfig` (
  `InternalMobitelConfig_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `devIdLong` char(16) DEFAULT NULL,
  `devIdShort` char(4) DEFAULT NULL,
  `verProtocolLong` char(16) DEFAULT NULL,
  `verProtocolShort` char(2) DEFAULT NULL,
  `moduleIdGps` char(50) DEFAULT NULL,
  `moduleIdGsm` char(50) DEFAULT NULL,
  `moduleIdRf` char(50) DEFAULT NULL,
  `RfType` smallint(6) NOT NULL DEFAULT '0',
  `ActiveRf` tinyint(1) NOT NULL DEFAULT '0',
  `moduleIdSs` char(50) DEFAULT NULL,
  `moduleIdMm` char(50) NOT NULL DEFAULT 'moduleIdMm',
  PRIMARY KEY (`InternalMobitelConfig_ID`),
  KEY `Index_3` (`Message_ID`),
  KEY `Index_4` (`devIdShort`),
  KEY `IDX_InternalmobitelconfigID` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `internalmobitelconfig`
--

LOCK TABLES `internalmobitelconfig` WRITE;
/*!40000 ALTER TABLE `internalmobitelconfig` DISABLE KEYS */;
INSERT INTO `internalmobitelconfig` VALUES (1,'','',1,0,'0','2070','0','0','0','0','0',0,0,'0','0'),(2,'','',2,0,'0','2419','0','0','0','0','0',0,0,'0','0');
/*!40000 ALTER TABLE `internalmobitelconfig` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lastmeters`
--

DROP TABLE IF EXISTS `lastmeters`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `lastmeters` (
  `LastMeter_ID` int(11) DEFAULT '0',
  `ID` int(11) DEFAULT '0',
  `Name` char(200) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lastmeters`
--

LOCK TABLES `lastmeters` WRITE;
/*!40000 ALTER TABLE `lastmeters` DISABLE KEYS */;
INSERT INTO `lastmeters` VALUES (200,2,'200 метров',NULL),(1000,3,'1 километр',NULL),(5000,4,'5 километров',NULL),(25000,5,'25 километров',NULL),(100000,6,'100 километров',NULL);
/*!40000 ALTER TABLE `lastmeters` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lastrecords`
--

DROP TABLE IF EXISTS `lastrecords`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `lastrecords` (
  `LastRecord_ID` int(11) DEFAULT '0',
  `ID` int(11) DEFAULT '0',
  `Name` char(200) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lastrecords`
--

LOCK TABLES `lastrecords` WRITE;
/*!40000 ALTER TABLE `lastrecords` DISABLE KEYS */;
INSERT INTO `lastrecords` VALUES (5,1,'5 записей',NULL),(20,2,'20 записей',NULL),(50,3,'50 записей',NULL),(200,4,'200 записей',NULL),(1000,6,'1000 записей',NULL),(500,5,'500 записей',NULL),(3000,7,'3000 записей','3000 записей');
/*!40000 ALTER TABLE `lastrecords` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lasttimes`
--

DROP TABLE IF EXISTS `lasttimes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `lasttimes` (
  `LastTime_ID` int(11) DEFAULT '0',
  `ID` int(11) DEFAULT '0',
  `Name` char(200) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lasttimes`
--

LOCK TABLES `lasttimes` WRITE;
/*!40000 ALTER TABLE `lasttimes` DISABLE KEYS */;
INSERT INTO `lasttimes` VALUES (5,1,'5 минут',NULL),(20,2,'20 минут',NULL),(120,3,'2 часа',NULL),(360,4,'6 часов',NULL),(1440,5,'сутки',NULL);
/*!40000 ALTER TABLE `lasttimes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lines`
--

DROP TABLE IF EXISTS `lines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `lines` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `Color` int(11) DEFAULT '0' COMMENT 'Цвет',
  `Width` int(11) DEFAULT '3' COMMENT 'Толщина линии',
  `Mobitel_ID` int(11) DEFAULT NULL,
  `Icon` blob,
  PRIMARY KEY (`id`),
  KEY `lines_FK1` (`Mobitel_ID`) USING BTREE,
  CONSTRAINT `lines_FK1` FOREIGN KEY (`Mobitel_ID`) REFERENCES `mobitels` (`Mobitel_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251 COMMENT='Описание линии';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lines`
--

LOCK TABLES `lines` WRITE;
/*!40000 ALTER TABLE `lines` DISABLE KEYS */;
INSERT INTO `lines` VALUES (1,-16777077,3,842020656,NULL),(2,-8388480,3,842281273,NULL);
/*!40000 ALTER TABLE `lines` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `mapstyleglobal`
--

DROP TABLE IF EXISTS `mapstyleglobal`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mapstyleglobal` (
  `MapStyleGlobal_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `DefaultLineStyle_ID` int(11) DEFAULT '0',
  `DefaulPointStyle_ID` int(11) DEFAULT '0',
  `EventPointStyle1_ID` int(11) DEFAULT '0',
  `EventPointStyle2_ID` int(11) DEFAULT '0',
  `EventPointStyle3_ID` int(11) DEFAULT '0',
  `EventPointStyle4_ID` int(11) DEFAULT '0',
  `EventPointStyle5_ID` int(11) DEFAULT '0',
  `EventPointStyle6_ID` int(11) DEFAULT '0',
  `EventPointStyle7_ID` int(11) DEFAULT '0',
  `EventPointStyle8_ID` int(11) DEFAULT '0',
  `EventPointStyle9_ID` int(11) DEFAULT '0',
  `EventPointStyle10_ID` int(11) DEFAULT '0',
  `EventPointStyle11_ID` int(11) DEFAULT '0',
  `EventPointStyle12_ID` int(11) DEFAULT '0',
  `EventPointStyle13_ID` int(11) DEFAULT '0',
  `EventPointStyle14_ID` int(11) DEFAULT '0',
  `EventPointStyle15_ID` int(11) DEFAULT '0',
  `EventPointStyle16_ID` int(11) DEFAULT '0',
  `EventPointStyle17_ID` int(11) DEFAULT '0',
  `EventPointStyle18_ID` int(11) DEFAULT '0',
  `EventPointStyle19_ID` int(11) DEFAULT '0',
  `EventPointStyle20_ID` int(11) DEFAULT '0',
  `EventPointStyle21_ID` int(11) DEFAULT '0',
  `EventPointStyle22_ID` int(11) DEFAULT '0',
  `EventPointStyle23_ID` int(11) DEFAULT '0',
  `EventPointStyle24_ID` int(11) DEFAULT '0',
  `EventPointStyle25_ID` int(11) DEFAULT '0',
  `EventPointStyle26_ID` int(11) DEFAULT '0',
  `EventPointStyle27_ID` int(11) DEFAULT '0',
  `EventPointStyle28_ID` int(11) DEFAULT '0',
  `EventPointStyle29_ID` int(11) DEFAULT '0',
  `EventPointStyle30_ID` int(11) DEFAULT '0',
  `EventPointStyle31_ID` int(11) DEFAULT '0',
  `EventPointStyle32_ID` int(11) DEFAULT '0',
  `SensorPointStyle1_ID` int(11) DEFAULT '0',
  `SensorPointStyle2_ID` int(11) DEFAULT '0',
  `SensorPointStyle3_ID` int(11) DEFAULT '0',
  `SensorPointStyle4_ID` int(11) DEFAULT '0',
  `SensorPointStyle5_ID` int(11) DEFAULT '0',
  `SensorPointStyle6_ID` int(11) DEFAULT '0',
  `SensorPointStyle7_ID` int(11) DEFAULT '0',
  `SensorPointStyle8_ID` int(11) DEFAULT '0',
  PRIMARY KEY (`MapStyleGlobal_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `mapstyleglobal`
--

LOCK TABLES `mapstyleglobal` WRITE;
/*!40000 ALTER TABLE `mapstyleglobal` DISABLE KEYS */;
INSERT INTO `mapstyleglobal` VALUES (1,'Настройка 1','Настнойки для Мобител',0,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),(2,'Настнойки 4','Настнойки mob 4',0,2,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),(3,'Настнойки 3','Настнойки для Мобител 3',0,3,3,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),(4,'Tune 2','Настнойки для Мобител 2',0,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
/*!40000 ALTER TABLE `mapstyleglobal` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `mapstylelines`
--

DROP TABLE IF EXISTS `mapstylelines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mapstylelines` (
  `MapStyleLine_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Color` int(11) DEFAULT '0',
  `Width` tinyint(4) DEFAULT '0',
  `Style` tinyint(4) DEFAULT '0',
  PRIMARY KEY (`MapStyleLine_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `mapstylelines`
--

LOCK TABLES `mapstylelines` WRITE;
/*!40000 ALTER TABLE `mapstylelines` DISABLE KEYS */;
INSERT INTO `mapstylelines` VALUES (1,'Стиль линий Black','Описание',1,0,1,0),(2,'Стиль линий Blue','Стиль линий 2',2,16711680,4,0),(3,'Стиль линий Green','Стиль линий 3',3,32768,5,0),(4,'Стиль линий Red','Стиль линий 4',4,255,1,0),(6,'DEFAULT','Стиль по умолчанию',0,8388736,2,0),(8,'Style Fuchsia','Description for linestyle created at 13.08.2004 10:39:31',0,16711935,1,0);
/*!40000 ALTER TABLE `mapstylelines` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `mapstylepoints`
--

DROP TABLE IF EXISTS `mapstylepoints`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mapstylepoints` (
  `MapStylePoint_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `isBitmap` tinyint(1) DEFAULT NULL,
  `SymbolCode` tinyint(4) DEFAULT '0',
  `Color` int(11) DEFAULT '0',
  `Font` char(200) DEFAULT NULL,
  `Size` int(11) DEFAULT '0',
  `Rotation` int(11) DEFAULT '0',
  `BitmapName` char(200) DEFAULT NULL,
  `BitmapStyle` tinyint(4) DEFAULT '0',
  `Style` tinyint(4) DEFAULT '0',
  PRIMARY KEY (`MapStylePoint_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `mapstylepoints`
--

LOCK TABLES `mapstylepoints` WRITE;
/*!40000 ALTER TABLE `mapstylepoints` DISABLE KEYS */;
INSERT INTO `mapstylepoints` VALUES (2,'Blue Style','Стиль точек 1',2,0,0,16711680,NULL,3,0,NULL,0,0),(3,'Red Style','Стиль точек 2',3,0,0,255,NULL,4,0,NULL,0,0),(5,'DEFAULT','Стиль по умолчанию',0,0,0,128,NULL,5,0,NULL,0,0),(6,'Yellow Style','Стиль точек 3',4,0,0,65535,NULL,4,0,NULL,0,0),(8,'Fuchisia Style','Description for pointstyle created at 13.08.2004 10:39:45',0,0,0,16711935,NULL,3,0,NULL,0,0),(9,'Lime Style','Description for pointstyle created at 13.08.2004 10:41:19',0,0,0,65280,NULL,2,0,NULL,0,0),(10,'test','Description for pointstyle created at 06.12.2004 17:36:40',0,NULL,0,8421376,NULL,3,0,NULL,0,0);
/*!40000 ALTER TABLE `mapstylepoints` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messages`
--

DROP TABLE IF EXISTS `messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messages` (
  `Message_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Time1` int(11) DEFAULT '0',
  `Time2` int(11) DEFAULT '0',
  `Time3` int(11) DEFAULT '0',
  `Time4` int(11) DEFAULT '0',
  `isSend` tinyint(1) DEFAULT NULL,
  `isDelivered` tinyint(1) DEFAULT NULL,
  `isNew` tinyint(1) DEFAULT NULL,
  `Direction` tinyint(1) DEFAULT NULL,
  `Mobitel_ID` int(11) DEFAULT '0',
  `ServiceInit_ID` int(11) DEFAULT '0',
  `Command_ID` tinyint(4) DEFAULT '0',
  `CommandMask_ID` int(11) DEFAULT '0',
  `MessageCounter` int(11) DEFAULT '0',
  `DataFromService` char(32) DEFAULT NULL,
  `Address` char(20) DEFAULT NULL,
  `Source_ID` int(11) DEFAULT '0',
  `Crc` tinyint(4) DEFAULT '1',
  `SmsId` int(11) DEFAULT '0',
  `AdvCounter` int(11) NOT NULL DEFAULT '0',
  `isNewFromMob` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`Message_ID`),
  KEY `Index_2` (`isNewFromMob`,`Message_ID`,`Time1`) USING BTREE,
  KEY `Index_6` (`isNew`,`Direction`,`ServiceInit_ID`),
  KEY `Index_4` (`Mobitel_ID`,`Command_ID`),
  KEY `Index_5` (`Mobitel_ID`,`MessageCounter`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messages`
--

LOCK TABLES `messages` WRITE;
/*!40000 ALTER TABLE `messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `messages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `mobitels`
--

DROP TABLE IF EXISTS `mobitels`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mobitels` (
  `Mobitel_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` bigint(20) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `ServiceInit_ID` int(11) DEFAULT '0',
  `ServiceSend_ID` int(11) DEFAULT '0',
  `InternalMobitelConfig_ID` int(11) DEFAULT '0',
  `MapStyleLine_ID` int(11) DEFAULT '0',
  `MapStyleLastPoint_ID` int(11) DEFAULT '0',
  `MapStylePoint_ID` int(11) DEFAULT '0',
  `Route_ID` int(11) DEFAULT '0',
  `DeviceType` int(11) DEFAULT '0',
  `DeviceEngine` int(11) DEFAULT '0',
  `ConfirmedID` int(11) NOT NULL DEFAULT '0' COMMENT 'MIN значение LogID менее которого считается нет пропусков или уже невозможно загрузить',
  `LastInsertTime` int(11) NOT NULL DEFAULT '0' COMMENT 'UNIX_TIMESTAMP Время последней вставки данных в DataGPS',
  `Is64bitPackets` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'передача данных идет 64 байтными пакетами',
  `IsNotDrawDgps` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'РѕС‚РѕР±СЂР°Р¶Р°С‚СЊ РёР»Рё РЅРµС‚ РґР°РЅРЅС‹Рµ DGPS РЅР° РєР°СЂС‚Рµ',
  PRIMARY KEY (`Mobitel_ID`),
  KEY `IDX_InternalmobitelconfigID` (`InternalMobitelConfig_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=842281274 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `mobitels`
--

LOCK TABLES `mobitels` WRITE;
/*!40000 ALTER TABLE `mobitels` DISABLE KEYS */;
INSERT INTO `mobitels` VALUES (842020656,'2070','',0,0,0,1,1,6,5,5,0,0,0,0,1723110989,1,1),(842281273,'2419','',0,0,0,2,2,6,5,5,0,0,0,0,1723038603,1,1);
/*!40000 ALTER TABLE `mobitels` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `mobitels_info`
--

DROP TABLE IF EXISTS `mobitels_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mobitels_info` (
  `Mobitel_ID` int(10) unsigned NOT NULL,
  `Map_Style_Car` text,
  `Track_Color` int(10) unsigned DEFAULT NULL,
  PRIMARY KEY (`Mobitel_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `mobitels_info`
--

LOCK TABLES `mobitels_info` WRITE;
/*!40000 ALTER TABLE `mobitels_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `mobitels_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `mobitels_rotate_bands`
--

DROP TABLE IF EXISTS `mobitels_rotate_bands`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mobitels_rotate_bands` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Mobitel_ID` int(11) NOT NULL DEFAULT '0',
  `Bound` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`Id`),
  KEY `FK_mobitels_rotate_bands_mobitels_Mobitel_ID` (`Mobitel_ID`),
  CONSTRAINT `FK_mobitels_rotate_bands_mobitels_Mobitel_ID` FOREIGN KEY (`Mobitel_ID`) REFERENCES `mobitels` (`Mobitel_ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `mobitels_rotate_bands`
--

LOCK TABLES `mobitels_rotate_bands` WRITE;
/*!40000 ALTER TABLE `mobitels_rotate_bands` DISABLE KEYS */;
/*!40000 ALTER TABLE `mobitels_rotate_bands` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ntf_emails`
--

DROP TABLE IF EXISTS `ntf_emails`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ntf_emails` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL,
  `IsActive` tinyint(1) NOT NULL DEFAULT '0',
  `Email` varchar(127) NOT NULL,
  PRIMARY KEY (`Id`),
  KEY `FK_ntf_email_ntf_main_Id` (`Id_main`),
  CONSTRAINT `FK_ntf_email_ntf_main_Id` FOREIGN KEY (`Id_main`) REFERENCES `ntf_main` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ntf_emails`
--

LOCK TABLES `ntf_emails` WRITE;
/*!40000 ALTER TABLE `ntf_emails` DISABLE KEYS */;
/*!40000 ALTER TABLE `ntf_emails` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ntf_events`
--

DROP TABLE IF EXISTS `ntf_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ntf_events` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL,
  `TypeEvent` tinyint(4) NOT NULL,
  `EventId` int(11) NOT NULL DEFAULT '0',
  `ParInt1` int(11) NOT NULL DEFAULT '0' COMMENT 'INT параметр любого события',
  `ParDbl1` double NOT NULL DEFAULT '0' COMMENT 'DOUBLE параметр №1 любого события',
  `ParDbl2` double NOT NULL DEFAULT '0' COMMENT 'DOUBLE параметр №2 любого события',
  `ParBool` bit(1) NOT NULL DEFAULT b'0' COMMENT 'BOOL параметр любого события',
  `ParInt2` int(11) NOT NULL DEFAULT '0' COMMENT 'INT параметр №2 любого события',
  PRIMARY KEY (`Id`),
  KEY `FK_ntf_events_ntf_main_Id` (`Id_main`),
  CONSTRAINT `FK_ntf_events_ntf_main_Id` FOREIGN KEY (`Id_main`) REFERENCES `ntf_main` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ntf_events`
--

LOCK TABLES `ntf_events` WRITE;
/*!40000 ALTER TABLE `ntf_events` DISABLE KEYS */;
/*!40000 ALTER TABLE `ntf_events` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ntf_log`
--

DROP TABLE IF EXISTS `ntf_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ntf_log` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL,
  `DateEvent` datetime NOT NULL,
  `DateWrite` datetime NOT NULL,
  `TypeEvent` tinyint(4) NOT NULL,
  `Mobitel_id` int(11) NOT NULL DEFAULT '0',
  `Zone_id` int(11) NOT NULL DEFAULT '0',
  `Location` varchar(255) DEFAULT NULL,
  `Lat` double DEFAULT '0',
  `Lng` double DEFAULT '0',
  `Infor` varchar(255) DEFAULT NULL,
  `IsRead` bit(1) DEFAULT b'0' COMMENT 'Уведомление прочитано ',
  `DataGps_ID` bigint(20) DEFAULT '0',
  `Speed` double DEFAULT '0',
  `Value` double DEFAULT '0' COMMENT 'Цифровое значение события (датчики)',
  PRIMARY KEY (`Id`),
  KEY `FK_ntf_log_ntf_main_Id` (`Id_main`),
  CONSTRAINT `FK_ntf_log_ntf_main_Id` FOREIGN KEY (`Id_main`) REFERENCES `ntf_main` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ntf_log`
--

LOCK TABLES `ntf_log` WRITE;
/*!40000 ALTER TABLE `ntf_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `ntf_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ntf_main`
--

DROP TABLE IF EXISTS `ntf_main`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ntf_main` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `IsActive` tinyint(1) NOT NULL DEFAULT '0',
  `IsPopup` tinyint(1) NOT NULL DEFAULT '0',
  `Title` varchar(255) NOT NULL,
  `IconSmall` blob,
  `IconLarge` blob,
  `SoundName` varchar(50) DEFAULT NULL,
  `TimeForControl` double DEFAULT NULL,
  `IsEmailActive` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Активна E-mail рассылка уведомления',
  `Period` int(11) NOT NULL DEFAULT '0' COMMENT 'Периодичность появления уведомления(не чаще)',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ntf_main`
--

LOCK TABLES `ntf_main` WRITE;
/*!40000 ALTER TABLE `ntf_main` DISABLE KEYS */;
/*!40000 ALTER TABLE `ntf_main` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ntf_mobitels`
--

DROP TABLE IF EXISTS `ntf_mobitels`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ntf_mobitels` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL,
  `MobitelId` int(11) NOT NULL,
  `SensorLogicId` int(11) DEFAULT '0',
  `SensorId` int(11) DEFAULT '0',
  PRIMARY KEY (`Id`),
  KEY `FK_ntf_mobitels_ntf_main_Id` (`Id_main`),
  CONSTRAINT `FK_ntf_mobitels_ntf_main_Id` FOREIGN KEY (`Id_main`) REFERENCES `ntf_main` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ntf_mobitels`
--

LOCK TABLES `ntf_mobitels` WRITE;
/*!40000 ALTER TABLE `ntf_mobitels` DISABLE KEYS */;
/*!40000 ALTER TABLE `ntf_mobitels` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ntf_popupusers`
--

DROP TABLE IF EXISTS `ntf_popupusers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ntf_popupusers` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL,
  `Id_user` int(11) NOT NULL,
  PRIMARY KEY (`Id`),
  KEY `FK_ntf_popupUsers_ntf_main_Id` (`Id_main`),
  CONSTRAINT `FK_ntf_popupUsers_ntf_main_Id` FOREIGN KEY (`Id_main`) REFERENCES `ntf_main` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ntf_popupusers`
--

LOCK TABLES `ntf_popupusers` WRITE;
/*!40000 ALTER TABLE `ntf_popupusers` DISABLE KEYS */;
/*!40000 ALTER TABLE `ntf_popupusers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `online`
--

DROP TABLE IF EXISTS `online`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `online` (
  `DataGps_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Mobitel_ID` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Latitude` int(11) NOT NULL DEFAULT '0',
  `Longitude` int(11) NOT NULL DEFAULT '0',
  `Altitude` int(11) DEFAULT '0',
  `UnixTime` int(11) NOT NULL DEFAULT '0',
  `Speed` smallint(6) NOT NULL DEFAULT '0',
  `Direction` int(11) NOT NULL DEFAULT '0',
  `Valid` tinyint(4) NOT NULL DEFAULT '1',
  `InMobitelID` int(11) DEFAULT '0',
  `Events` int(10) unsigned DEFAULT '0',
  `Sensor1` tinyint(4) unsigned DEFAULT '0',
  `Sensor2` tinyint(4) unsigned DEFAULT '0',
  `Sensor3` tinyint(4) unsigned DEFAULT '0',
  `Sensor4` tinyint(4) unsigned DEFAULT '0',
  `Sensor5` tinyint(4) unsigned DEFAULT '0',
  `Sensor6` tinyint(4) unsigned DEFAULT '0',
  `Sensor7` tinyint(4) unsigned DEFAULT '0',
  `Sensor8` tinyint(4) unsigned DEFAULT '0',
  `LogID` int(11) DEFAULT '0',
  `isShow` tinyint(4) DEFAULT '0',
  `whatIs` smallint(6) unsigned NOT NULL DEFAULT '0',
  `Counter1` int(11) NOT NULL DEFAULT '-1',
  `Counter2` int(11) NOT NULL DEFAULT '-1',
  `Counter3` int(11) NOT NULL DEFAULT '-1',
  `Counter4` int(11) NOT NULL DEFAULT '-1',
  PRIMARY KEY (`DataGps_ID`),
  KEY `IDX_MobitelidUnixtimeValid` (`Mobitel_ID`,`UnixTime`,`Valid`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Оперативные данные';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `online`
--

LOCK TABLES `online` WRITE;
/*!40000 ALTER TABLE `online` DISABLE KEYS */;
/*!40000 ALTER TABLE `online` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `online64`
--

DROP TABLE IF EXISTS `online64`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `online64` (
  `DataGps_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Mobitel_ID` int(11) NOT NULL DEFAULT '0' COMMENT 'РљРѕРґ РўРµР»РµС‚СЂРµРєР°',
  `Latitude` int(11) NOT NULL DEFAULT '0' COMMENT 'РЁРёСЂРѕС‚Р°',
  `Longitude` int(11) NOT NULL DEFAULT '0' COMMENT 'Р”РѕР»РіРѕС‚Р°',
  `Direction` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'РіСЂР°РґСѓСЃС‹/1.5',
  `Acceleration` int(11) DEFAULT '0' COMMENT 'РР·РјРµРЅРµРЅРёРµ СЃРєРѕСЂРѕСЃС‚Рё РїРѕ GPS Р·Р° РїРѕСЃР»РµРґРЅСЋСЋ СЃРµРєСѓРЅРґСѓ',
  `UnixTime` int(11) NOT NULL DEFAULT '0',
  `Speed` smallint(6) NOT NULL DEFAULT '0' COMMENT 'РЎРѕС‚РµРЅ РјРµС‚СЂРѕРІ РІ С‡Р°СЃ (0,1 РєРј/С‡)',
  `Valid` tinyint(1) NOT NULL DEFAULT '1',
  `Satellites` tinyint(1) unsigned DEFAULT '0' COMMENT 'РљРѕР»РёС‡РµСЃС‚РІРѕ СЃРїСѓС‚РЅРёРєРѕРІ ',
  `RssiGsm` tinyint(1) unsigned DEFAULT '0' COMMENT 'РЈСЂРѕРІРµРЅСЊ GSM СЃРёРіРЅР°Р»Р°',
  `Events` int(11) DEFAULT '0' COMMENT 'Р¤Р»Р°РіРё СЃРѕР±С‹С‚РёР№',
  `SensorsSet` tinyint(1) DEFAULT '0' COMMENT 'РљРѕРґ РЅР°Р±РѕСЂР° РґР°С‚С‡РёРєРѕРІ',
  `Sensors` varbinary(50) DEFAULT '0' COMMENT 'Р—РЅР°С‡РµРЅРёСЏ РґР°С‚С‡РёРєРѕРІ',
  `Voltage` tinyint(4) unsigned DEFAULT '0' COMMENT 'РќР°РїСЂСЏР¶РµРЅРёРµ РїРёС‚Р°РЅРёСЏ С‚РµРєСѓС‰РµРіРѕ РёСЃС‚РѕС‡РЅРёРєР°/1.5 РѕС‚ 0 РґРѕ 38,2',
  `DGPS` varchar(32) DEFAULT NULL,
  `LogID` int(11) DEFAULT '0' COMMENT 'РРґРµРЅС‚РёС„РёРєР°С‚РѕСЂ Р·Р°РїРёСЃРё РІ Р¶СѓСЂРЅР°Р»Рµ РўРµР»РµС‚СЂРµРєР°',
  `SrvPacketID` bigint(20) NOT NULL DEFAULT '0' COMMENT 'ID СЃРµСЂРІРµСЂРЅРѕРіРѕ РїР°РєРµС‚Р° РІ СЃРѕСЃС‚Р°РІ РєРѕС‚РѕСЂРѕРіРѕ РІС…РѕРґРёС‚ СЌС‚Р° Р·Р°РїРёСЃСЊ',
  PRIMARY KEY (`DataGps_ID`),
  KEY `IDX_MobitelidUnixtimeValid64` (`Mobitel_ID`,`UnixTime`,`Valid`)
) ENGINE=InnoDB AUTO_INCREMENT=275 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `online64`
--

LOCK TABLES `online64` WRITE;
/*!40000 ALTER TABLE `online64` DISABLE KEYS */;
INSERT INTO `online64` VALUES (175,842020656,505572817,262601117,131,0,1723105563,150,1,22,0,0,0,_binary 'EAAIZEfbAAD6ABwAAAQRAAAAAAAHKzEiTA==',0,'',822,3616451180076466998),(176,842020656,505572367,262601083,121,0,1723105564,160,1,22,0,0,0,_binary 'EAAIZEfcAAD6ABwAAAQRAAAAAAAHKzEhXA==',0,'',823,3616451180076466999),(177,842020656,505571883,262601233,111,0,1723105565,170,1,22,0,0,0,_binary 'EAAIZEfdAAD6ABwAAAQRAAAAAAAHKzEhNA==',0,'',824,3616451180076467000),(178,842020656,505570667,262602250,98,0,1723105568,160,1,22,0,0,0,_binary 'EAAIZEfgAAD6ABwAAAQRAAAAAAAHKzEfwA==',0,'',825,3616451180076467001),(179,842020656,505565633,262606600,108,0,1723105578,280,1,21,0,0,0,_binary 'EAAIZEftAAD6ABwAAAQRAAAAAAAHKzEaPA==',0,'',826,3616451180076467002),(180,842020656,505563433,262607117,119,0,1723105581,270,1,22,0,0,0,_binary 'EAAIZEfyAAD6ABwAAAQRAAAAAAAHKzEbVA==',0,'',827,3616451180076467003),(181,842020656,505559683,262606233,129,0,1723105586,340,1,22,0,0,0,_binary 'EAAIZEf7AAD6ABwAAAQRAAAAAAAHKzEg/A==',0,'',828,3616451180076467004),(182,842020656,505504700,262580933,130,0,1723105646,400,1,19,0,0,0,_binary 'EAAIZEh9AAD6ABwAAAQRAAAAAAAHKzIcJA==',0,'',829,3616451180076467005),(183,842020656,505494283,262576133,145,0,1723105659,210,1,19,0,0,0,_binary 'EAAIZEiVAAD6ABwAAAQRAAAAAAAHKzIXeA==',0,'',830,3616451180076467006),(184,842020656,505493667,262574900,163,0,1723105661,190,1,19,0,0,0,_binary 'EAAIZEiXAAD6ABwAAAQRAAAAAAAHKzIZWA==',0,'',831,3616451180076467007),(185,842020656,505493583,262574200,173,-1,1723105662,170,1,19,0,0,0,_binary 'EAAIZEiYAAD6ABsAAAQRAAAAAAAHKzIXIA==',0,'',832,3616451180076467008),(186,842020656,505493683,262573550,186,0,1723105663,160,1,19,0,0,0,_binary 'EAAIZEiYAAD6ABsAAAQRAAAAAAAHKzIUjA==',0,'',833,3616451180076467009),(187,842020656,505493933,262573100,197,-1,1723105664,130,1,19,0,0,0,_binary 'EAAIZEiZAAD6ABwAAAQRAAAAAAAHKzIR7A==',0,'',834,3616451180076467010),(188,842020656,505494867,262571500,202,0,1723105673,0,1,21,0,0,0,_binary 'EAAIZEicAAD6ABwAAAQRAAAAAAAHKzISwA==',0,'',835,3616451180076467011),(189,842020656,505495600,262571850,11,0,1723105688,70,1,17,0,0,0,_binary 'EAAIZEicAAD6ABwAAAQRAAAAAAAHKzISxA==',0,'',836,3616451180076467012),(190,842020656,505495700,262571883,3,-1,1723105691,0,1,17,0,0,0,_binary 'EAAIZEicAAD6ABwAAAQRAAAAAAAHKzISuA==',0,'',837,3616451180076467013),(191,842020656,505495567,262569533,193,0,1723105719,60,1,20,0,0,0,_binary 'EAAIZEifAAD6ABwAAAQSAAAAAAAHKzIVFA==',0,'',838,3616451180076467014),(192,842020656,505495783,262568333,173,0,1723105724,70,1,21,0,0,0,_binary 'EAAIZEihAAD6ABwAAAQSAAAAAAAHKzIWDA==',0,'',839,3616451180076467015),(193,842020656,505495683,262568033,157,0,1723105725,70,1,21,0,0,0,_binary 'EAAIZEiiAAD6ABwAAAQUAAAAAAAHKzIWuA==',0,'',840,3616451180076467016),(194,842020656,505495533,262567783,145,0,1723105726,80,1,21,0,0,0,_binary 'EAAIZEiiAAD6ABwAAAQUAAAAAAAHKzIWyA==',0,'',841,3616451180076467017),(195,842020656,505495300,262567633,129,0,1723105727,80,1,21,0,0,0,_binary 'EAAIZEiiAAD6ABwAAAQUAAAAAAAHKzIXyA==',0,'',842,3616451180076467018),(196,842020656,505495067,262567600,117,0,1723105728,90,1,21,0,0,0,_binary 'EAAIZEijAAD6ABwAAAQUAAAAAAAHKzIbtA==',0,'',843,3616451180076467019),(197,842020656,505492217,262567083,129,0,1723105738,130,1,21,0,0,0,_binary 'EAAIZEiqAAD6ABwAAAQWAAAAAAAHKzIbPA==',0,'',844,3616451180076467020),(198,842020656,505490883,262566150,139,0,1723105742,140,1,20,0,0,0,_binary 'EAAIZEitAAD6ABwAAAQWAAAAAAAHKzId0A==',0,'',845,3616451180076467021),(199,842020656,505488967,262564133,149,0,1723105749,110,1,21,0,0,0,_binary 'EAAIZEiyAAD6ABwAAAQYAAAAAAAHKzIWaA==',0,'',846,3616451180076467022),(200,842020656,505488417,262563167,161,0,1723105752,130,1,21,0,0,0,_binary 'EAAIZEi0AAD6ABwAAAQYAAAAAAAHKzIUvA==',0,'',847,3616451180076467023),(201,842020656,505488017,262561700,171,0,1723105756,90,1,21,0,0,0,_binary 'EAAIZEi2AAD6ABwAAAQaAAAAAAAHKzIR/A==',0,'',848,3616451180076467024),(202,842020656,505488033,262560567,182,0,1723105759,100,1,21,0,0,0,_binary 'EAAIZEi4AAD6ABwAAAQaAAAAAAAHKzITUA==',0,'',849,3616451180076467025),(203,842020656,505488317,262558967,194,0,1723105763,110,1,20,0,0,0,_binary 'EAAIZEi7AAD6ABwAAAQaAAAAAAAHKzIWvA==',0,'',850,3616451180076467026),(204,842020656,505488950,262555950,183,0,1723105771,70,1,20,0,0,0,_binary 'EAAIZEi/AAD6ABwAAAQbAAAAAAAHKzITBA==',0,'',851,3616451180076467027),(205,842020656,505488933,262555667,173,0,1723105772,60,1,20,0,0,0,_binary 'EAAIZEi/AAD6ABwAAAQbAAAAAAAHKzISwA==',0,'',852,3616451180076467028),(206,842020656,505488900,262555283,173,0,1723105776,0,1,20,0,0,0,_binary 'EAAIZEjAAAD6ABwAAAQcAAAAAAAHKzISuA==',0,'',853,3616451180076467029),(207,842020656,505488900,262555283,173,0,1723105836,0,1,21,0,0,0,_binary 'EAAIZEjAAAD6ABwAAAQiAAAAAAAHKzISxA==',0,'',854,3616451180076467030),(208,842020656,505488917,262553017,187,0,1723105857,110,1,21,0,0,0,_binary 'EAAIZEjEAAD6ABwAAAQoAAAAAAAHKzIYrA==',0,'',855,3616451180076467031),(209,842020656,505489133,262550767,197,0,1723105863,100,1,21,0,0,0,_binary 'EAAIZEjHAAD6ABwAAAQoAAAAAAAHKzIZHA==',0,'',856,3616451180076467032),(210,842020656,505489617,262549700,208,0,1723105866,100,1,21,0,0,0,_binary 'EAAIZEjJAAD6ABwAAAQoAAAAAAAHKzIVXA==',0,'',857,3616451180076467033),(211,842020656,505489883,262548983,195,0,1723105868,80,1,21,0,0,0,_binary 'EAAIZEjKAAD6ABwAAAQpAAAAAAAHKzIaWA==',0,'',858,3616451180076467034),(212,842020656,505489917,262548650,179,0,1723105869,80,1,21,0,0,0,_binary 'EAAIZEjKAAD6ABwAAAQpAAAAAAAHKzIZAA==',0,'',859,3616451180076467035),(213,842020656,505489850,262548033,167,0,1723105871,80,1,21,0,0,0,_binary 'EAAIZEjLAAD6ABwAAAQpAAAAAAAHKzIXhA==',0,'',860,3616451180076467036),(214,842020656,505489733,262547700,157,0,1723105872,80,1,21,0,0,0,_binary 'EAAIZEjLAAD6ABwAAAQpAAAAAAAHKzIZRA==',0,'',861,3616451180076467037),(215,842020656,505489500,262547233,143,0,1723105874,80,1,21,0,0,0,_binary 'EAAIZEjMAAD6ABwAAAQpAAAAAAAHKzIX9A==',0,'',862,3616451180076467038),(216,842020656,505489000,262546800,131,0,1723105877,70,1,21,0,0,0,_binary 'EAAIZEjNAAD6ABwAAAQpAAAAAAAHKzIShA==',0,'',863,3616451180076467039),(217,842020656,505488267,262546367,147,0,1723105882,50,1,21,0,0,0,_binary 'EAAIZEjPAAD6ABwAAAQqAAAAAAAHKzITaA==',0,'',864,3616451180076467040),(218,842020656,505488050,262546217,127,0,1723105884,60,1,20,0,0,0,_binary 'EAAIZEjPAAD6ABwAAAQqAAAAAAAHKzISuA==',0,'',865,3616451180076467041),(219,842020656,505487650,262546250,123,0,1723105889,0,1,15,0,0,0,_binary 'EAAIZEjQAAD6ABwAAAQqAAAAAAAHKzISyA==',0,'',866,3616451180076467042),(220,842020656,505487650,262546250,123,0,1723105949,0,1,15,0,0,0,_binary 'EAAIZEjWAAD6ABwAAAQrAAAAAAAHKzIS4A==',0,'',867,3616451180076467043),(221,842020656,505487650,262546250,123,0,1723106009,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQrAAAAAAAHKzIAAA==',0,'',868,3616451180076467044),(222,842020656,505487650,262546250,123,0,1723106069,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',869,3616451180076467045),(223,842020656,505487650,262546250,123,0,1723106129,0,1,18,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',870,3616451180076467046),(224,842020656,505487650,262546250,123,0,1723106189,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',871,3616451180076467047),(225,842020656,505487650,262546250,123,0,1723106249,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',872,3616451180076467048),(226,842020656,505487650,262546250,123,0,1723106309,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',873,3616451180076467049),(227,842020656,505487650,262546250,123,0,1723106369,0,1,18,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',874,3616451180076467050),(228,842020656,505487650,262546250,123,0,1723106429,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',875,3616451180076467051),(229,842020656,505487650,262546250,123,0,1723106489,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',876,3616451180076467052),(230,842020656,505487650,262546250,123,0,1723106589,0,1,19,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',877,3616451180076467053),(231,842020656,505487650,262546250,123,0,1723106689,0,1,18,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',878,3616451180076467054),(232,842020656,505487650,262546250,123,0,1723106789,0,1,18,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',879,3616451180076467055),(233,842020656,505487650,262546250,123,0,1723106889,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQtAAAAAAAHKzIAAA==',0,'',880,3616451180076467056),(234,842020656,505487650,262546250,123,0,1723106989,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',881,3616451180076467057),(235,842020656,505487650,262546250,123,0,1723107089,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',882,3616451180076467058),(236,842020656,505487650,262546250,123,0,1723107189,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',883,3616451180076467059),(237,842020656,505487650,262546250,123,0,1723107289,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',884,3616451180076467060),(238,842020656,505487650,262546250,123,0,1723107389,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',885,3616451180076467061),(239,842020656,505487650,262546250,123,0,1723107489,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',886,3616451180076467062),(240,842020656,505487650,262546250,123,0,1723107589,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',887,3616451180076467063),(241,842020656,505487650,262546250,123,0,1723107689,0,1,17,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',888,3616451180076467064),(242,842020656,505487650,262546250,123,0,1723107789,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',889,3616451180076467065),(243,842020656,505487650,262546250,123,0,1723107889,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',890,3616451180076467066),(244,842020656,505487650,262546250,123,0,1723107989,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABkAAAQsAAAAAAAHKzIAAA==',0,'',891,3616451180076467067),(245,842020656,505487650,262546250,123,0,1723108089,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',892,3616451180076467068),(246,842020656,505487650,262546250,123,0,1723108189,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',893,3616451180076467069),(247,842020656,505487650,262546250,123,0,1723108289,0,1,12,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',894,3616451180076467070),(248,842020656,505487650,262546250,123,0,1723108389,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',895,3616451180076467071),(249,842020656,505487650,262546250,123,0,1723108489,0,1,15,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',896,3616451180076467072),(250,842020656,505487650,262546250,123,0,1723108589,0,1,15,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',897,3616451180076467073),(251,842020656,505487650,262546250,123,0,1723108689,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',898,3616451180076467074),(252,842020656,505487650,262546250,123,0,1723108789,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',899,3616451180076467075),(253,842020656,505487650,262546250,123,0,1723108889,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',900,3616451180076467076),(254,842020656,505487650,262546250,123,0,1723108989,0,1,15,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',901,3616451180076467077),(255,842020656,505487650,262546250,123,0,1723109089,0,1,15,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',902,3616451180076467078),(256,842020656,505487650,262546250,123,0,1723109189,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',903,3616451180076467079),(257,842020656,505487650,262546250,123,0,1723109289,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',904,3616451180076467080),(258,842020656,505487650,262546250,123,0,1723109389,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',905,3616451180076467081),(259,842020656,505487650,262546250,123,0,1723109489,0,1,11,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',906,3616451180076467082),(260,842020656,505487650,262546250,123,0,1723109589,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',907,3616451180076467083),(261,842020656,505487650,262546250,123,0,1723109689,0,1,12,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',908,3616451180076467084),(262,842020656,505487650,262546250,123,0,1723109789,0,1,11,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',909,3616451180076467085),(263,842020656,505487650,262546250,123,0,1723109889,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',910,3616451180076467086),(264,842020656,505487650,262546250,123,0,1723109989,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',911,3616451180076467087),(265,842020656,505487650,262546250,123,0,1723110089,0,1,11,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',912,3616451180076467088),(266,842020656,505487650,262546250,123,0,1723110189,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',913,3616451180076467089),(267,842020656,505487650,262546250,123,0,1723110289,0,1,16,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',914,3616451180076467090),(268,842020656,505487650,262546250,123,0,1723110389,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',915,3616451180076467091),(269,842020656,505487650,262546250,123,0,1723110489,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',916,3616451180076467092),(270,842020656,505487650,262546250,123,0,1723110589,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',917,3616451180076467093),(271,842020656,505487650,262546250,123,0,1723110689,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',918,3616451180076467094),(272,842020656,505487650,262546250,123,0,1723110789,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',919,3616451180076467095),(273,842020656,505487650,262546250,123,0,1723110889,0,1,13,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',920,3616451180076467096),(274,842020656,505487650,262546250,123,0,1723110989,0,1,14,0,0,0,_binary 'AAAIZEjWAAD6ABgAAAQsAAAAAAAHKzIAAA==',0,'',921,3616451180076467097);
/*!40000 ALTER TABLE `online64` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parameters`
--

DROP TABLE IF EXISTS `parameters`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `parameters` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Number` int(11) NOT NULL COMMENT 'Номер параметра',
  `Value` varchar(255) DEFAULT NULL COMMENT 'Значение',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parameters`
--

LOCK TABLES `parameters` WRITE;
/*!40000 ALTER TABLE `parameters` DISABLE KEYS */;
INSERT INTO `parameters` VALUES (1,24,'False'),(2,18,'True'),(3,13,'True'),(4,22,'0'),(5,12,'False'),(6,21,'uk'),(7,19,'osm.lwco.biz'),(8,23,'0d_6ZTPvp0yUtsqPSFnIBQ'),(9,11,'0'),(10,6,'False'),(11,8,'False'),(12,9,'False'),(13,7,'0'),(14,1,'24'),(15,3,'5'),(16,10,'0'),(17,5,'False'),(18,2,'12'),(19,29,'960'),(20,20,'----'),(21,27,'False'),(22,28,'gisfile.com'),(23,25,'False'),(24,26,'ABQIAAAAWaQgWiEBF3lW97ifKnAczhRAzBk5Igf8Z5n2W3hNnMT0j2TikxTLtVIGU7hCLLHMAuAMt-BO5UrEWA');
/*!40000 ALTER TABLE `parameters` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pcbdata`
--

DROP TABLE IF EXISTS `pcbdata`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pcbdata` (
  `Id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Индекс',
  `Typedata` varchar(255) NOT NULL DEFAULT ' ' COMMENT 'Тип данных',
  `koeffK` double NOT NULL DEFAULT '0' COMMENT 'Коеффициент К',
  `Startbit` int(11) NOT NULL DEFAULT '0' COMMENT 'Стартовый бит поля',
  `Lengthbit` int(11) NOT NULL DEFAULT '0' COMMENT 'Длина поля',
  `Comment` varchar(255) DEFAULT ' ' COMMENT 'Коментарий',
  `Idpcb` int(11) NOT NULL DEFAULT '0' COMMENT 'Индекс платы датчика',
  `NameVal` varchar(12) DEFAULT ' ' COMMENT 'Name meassurement value',
  `NumAlg` int(11) DEFAULT '0' COMMENT 'Number of algorithm',
  `Shifter` double DEFAULT '0' COMMENT 'Shift coefficient',
  `S` tinyint(1) DEFAULT '0' COMMENT 'Sign arifmetic',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=cp1251 AVG_ROW_LENGTH=2340 COMMENT='Описание платы датчиков';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pcbdata`
--

LOCK TABLES `pcbdata` WRITE;
/*!40000 ALTER TABLE `pcbdata` DISABLE KEYS */;
INSERT INTO `pcbdata` VALUES (11,'бортмережа',0.1181,36,8,'',18,'В',4,0,0),(12,'запалювання',1,60,1,'',18,'#',5,0,0),(13,'бак',1,20,16,'',18,'л',7,0,0),(14,'правий бак',1,80,16,'',19,' л',7,0,0),(15,'штатний ДРП',0.4,128,8,'',19,' %',31,0,0),(16,'оберти двигуна',0.125,0,16,'',19,' rpm',5,0,0),(17,'витрата',0.5,16,64,'',19,' л',27,0,0),(18,'бортмережа',0.001,112,16,'',19,' В',4,0,0),(19,'пробіг за тахографом',0.005,152,32,'',19,' км',6,0,0),(20,'запалювання',1,196,1,'',19,' ',2,0,0),(21,'температура антифрізу',1,184,8,'',19,'°C',6,0,0),(22,'лівий бак',1,96,16,'',19,'л',7,0,0),(23,'бак',0.3922,0,8,'',20,'%',7,0,0),(24,'бортмережа',0.1181,8,8,'',20,'В',6,0,0),(25,'витрата за бортовим компом',0.1,16,32,'',20,'л',27,0,0),(26,'одометр за штатним датчику швидкості',1,48,32,'',20,'км',6,0,0),(27,'оберти двигуна',0.25,80,16,'',20,'rpm',5,0,0),(28,'розрахункове значення навантаження на двигун',0.3922,96,8,'',20,'%',6,0,0),(29,'температура охолоджуючої рідини',0,104,8,'',20,'°C',6,0,0),(30,'температура повітря, що всмоктується',0,112,8,'',20,'°C',6,0,0),(31,'запалювання',1,199,1,'',20,'#',2,0,0);
/*!40000 ALTER TABLE `pcbdata` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pcbversion`
--

DROP TABLE IF EXISTS `pcbversion`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pcbversion` (
  `Id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Индекс',
  `Name` varchar(50) NOT NULL DEFAULT '*' COMMENT 'Имя платы датчика',
  `Comment` varchar(255) DEFAULT ' ' COMMENT 'Комментарий',
  `MobitelId` int(11) DEFAULT '-1' COMMENT 'ID машины на которую назначена эта плата датчиков',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=cp1251 AVG_ROW_LENGTH=5461 COMMENT='Распределение данных для версии исполнения платы датчиков';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pcbversion`
--

LOCK TABLES `pcbversion` WRITE;
/*!40000 ALTER TABLE `pcbversion` DISABLE KEYS */;
INSERT INTO `pcbversion` VALUES (18,'SCAD_37','для версии исполнения ПД SCAD',-1),(19,'SCAD_CAN64','для версии исполнения ПД SCAD',-1),(20,'SCAD_OBD II 64','для версии исполнения ПД SCAD',-1);
/*!40000 ALTER TABLE `pcbversion` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `points`
--

DROP TABLE IF EXISTS `points`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `points` (
  `Point_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Latitude` int(11) DEFAULT '0',
  `Longitude` int(11) DEFAULT '0',
  `Zone_ID` int(11) DEFAULT '0',
  PRIMARY KEY (`Point_ID`),
  KEY `FK_points_zones` (`Zone_ID`),
  CONSTRAINT `FK_points_zones` FOREIGN KEY (`Zone_ID`) REFERENCES `zones` (`Zone_ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `points`
--

LOCK TABLES `points` WRITE;
/*!40000 ALTER TABLE `points` DISABLE KEYS */;
/*!40000 ALTER TABLE `points` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `relationalgorithms`
--

DROP TABLE IF EXISTS `relationalgorithms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `relationalgorithms` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `AlgorithmID` int(11) NOT NULL DEFAULT '0',
  `SensorID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`),
  UNIQUE KEY `ID` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `relationalgorithms`
--

LOCK TABLES `relationalgorithms` WRITE;
/*!40000 ALTER TABLE `relationalgorithms` DISABLE KEYS */;
INSERT INTO `relationalgorithms` VALUES (1,7,1),(2,9,2),(3,5,3),(4,27,4),(5,4,5),(6,6,6),(7,2,7),(10,7,10),(11,9,11),(12,5,12),(13,27,13),(14,4,14),(15,6,15),(16,2,16);
/*!40000 ALTER TABLE `relationalgorithms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `report_pass_zones`
--

DROP TABLE IF EXISTS `report_pass_zones`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `report_pass_zones` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `ZoneID` int(11) NOT NULL COMMENT 'Идентификатор КЗ',
  PRIMARY KEY (`ID`),
  KEY `IDX_ZoneID` (`ZoneID`) USING BTREE,
  CONSTRAINT `FK_RPZ_Zones` FOREIGN KEY (`ZoneID`) REFERENCES `zones` (`Zone_ID`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Список зон, используемый в отчетах по пассажиропотоку.';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `report_pass_zones`
--

LOCK TABLES `report_pass_zones` WRITE;
/*!40000 ALTER TABLE `report_pass_zones` DISABLE KEYS */;
/*!40000 ALTER TABLE `report_pass_zones` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `route_items`
--

DROP TABLE IF EXISTS `route_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `route_items` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Seq` int(11) DEFAULT NULL,
  `Route_ID` int(11) DEFAULT NULL,
  `Zone_ID` int(11) DEFAULT NULL,
  `Zone_IO` int(11) DEFAULT NULL,
  `GoNext_Min` int(11) DEFAULT NULL,
  `GoNext_Max` int(11) DEFAULT NULL,
  `Link_Item` int(11) DEFAULT NULL,
  `Link_Info` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `route_items`
--

LOCK TABLES `route_items` WRITE;
/*!40000 ALTER TABLE `route_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `route_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `route_list`
--

DROP TABLE IF EXISTS `route_list`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `route_list` (
  `Route_ID` int(11) NOT NULL AUTO_INCREMENT,
  `GIS` blob,
  `Name` varchar(50) DEFAULT NULL,
  `Descr` varchar(200) DEFAULT NULL,
  `Modified` int(11) DEFAULT NULL,
  PRIMARY KEY (`Route_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `route_list`
--

LOCK TABLES `route_list` WRITE;
/*!40000 ALTER TABLE `route_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `route_list` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `route_lists`
--

DROP TABLE IF EXISTS `route_lists`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `route_lists` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Parent` int(11) DEFAULT NULL,
  `Title` varchar(70) DEFAULT NULL,
  `Data` text,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `route_lists`
--

LOCK TABLES `route_lists` WRITE;
/*!40000 ALTER TABLE `route_lists` DISABLE KEYS */;
/*!40000 ALTER TABLE `route_lists` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `route_mobitel_links`
--

DROP TABLE IF EXISTS `route_mobitel_links`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `route_mobitel_links` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `List_ID` int(11) DEFAULT NULL,
  `Route_ID` int(11) DEFAULT NULL,
  `Mobitel_ID` int(11) DEFAULT NULL,
  `Time1` int(11) DEFAULT NULL,
  `Time2` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `route_mobitel_links`
--

LOCK TABLES `route_mobitel_links` WRITE;
/*!40000 ALTER TABLE `route_mobitel_links` DISABLE KEYS */;
/*!40000 ALTER TABLE `route_mobitel_links` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `route_mobitel_plans`
--

DROP TABLE IF EXISTS `route_mobitel_plans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `route_mobitel_plans` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Title` varchar(70) DEFAULT NULL,
  `Time1` int(11) DEFAULT NULL,
  `Time2` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `route_mobitel_plans`
--

LOCK TABLES `route_mobitel_plans` WRITE;
/*!40000 ALTER TABLE `route_mobitel_plans` DISABLE KEYS */;
/*!40000 ALTER TABLE `route_mobitel_plans` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `route_points`
--

DROP TABLE IF EXISTS `route_points`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `route_points` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Route_ID` int(11) DEFAULT NULL,
  `Zone_ID` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `route_points`
--

LOCK TABLES `route_points` WRITE;
/*!40000 ALTER TABLE `route_points` DISABLE KEYS */;
/*!40000 ALTER TABLE `route_points` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_events`
--

DROP TABLE IF EXISTS `rt_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_events` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(50) NOT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_events`
--

LOCK TABLES `rt_events` WRITE;
/*!40000 ALTER TABLE `rt_events` DISABLE KEYS */;
INSERT INTO `rt_events` VALUES (1,'Въезд'),(2,'Выезд');
/*!40000 ALTER TABLE `rt_events` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_route`
--

DROP TABLE IF EXISTS `rt_route`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_route` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_sample` int(11) NOT NULL COMMENT 'Ссылка на шаблон маршрута ',
  `Id_mobitel` int(11) NOT NULL DEFAULT '0' COMMENT 'Транспортное средство ',
  `Id_driver` int(11) NOT NULL DEFAULT '0' COMMENT 'Водитель',
  `TimeStartPlan` datetime DEFAULT NULL COMMENT 'План время начала маршрута',
  `Distance` double NOT NULL DEFAULT '0' COMMENT 'Общий путь, км',
  `TimePlanTotal` varchar(20) DEFAULT NULL COMMENT 'Общее время на маршруте (план)',
  `TimeFactTotal` varchar(20) DEFAULT NULL COMMENT 'Общее время на маршруте (факт)',
  `Deviation` varchar(20) DEFAULT NULL COMMENT 'Отклонение от графика',
  `DeviationAr` varchar(20) DEFAULT NULL COMMENT 'Отклонение по времени прибытия',
  `Remark` text COMMENT 'Примечание',
  `FuelStart` double(10,2) NOT NULL DEFAULT '0.00' COMMENT 'ДУТ Топливо в начале',
  `FuelAdd` double(10,2) NOT NULL DEFAULT '0.00' COMMENT 'ДУТ Заправлено',
  `FuelSub` double(10,2) NOT NULL DEFAULT '0.00' COMMENT 'ДУТ Слито',
  `FuelEnd` double(10,2) NOT NULL DEFAULT '0.00' COMMENT 'ДУТ Топливо в конце',
  `FuelExpens` double(10,2) NOT NULL DEFAULT '0.00' COMMENT 'ДУТ Общий расход топлива',
  `FuelExpensAvg` double(10,2) NOT NULL DEFAULT '0.00' COMMENT 'ДУТ Средний расход,  л/100 км',
  `Fuel_ExpensMove` double(10,2) NOT NULL DEFAULT '0.00' COMMENT 'ДРТ/CAN Расход топлива в движении, л',
  `Fuel_ExpensStop` double(10,2) NOT NULL DEFAULT '0.00' COMMENT 'ДРТ/CAN Расход топлива на стоянках, л',
  `Fuel_ExpensTotal` double(10,2) NOT NULL DEFAULT '0.00' COMMENT 'ДРТ/CAN Общий расход, л',
  `Fuel_ExpensAvg` double(10,2) NOT NULL DEFAULT '0.00' COMMENT 'ДРТ/CAN Средний расход, л/100 км',
  `TimeMove` varchar(20) DEFAULT NULL COMMENT 'Время движения',
  `TimeStop` varchar(20) DEFAULT NULL COMMENT 'Время остановок',
  `SpeedAvg` double(10,2) DEFAULT '0.00' COMMENT 'Средняя скорость',
  `FuelAddQty` int(11) DEFAULT '0' COMMENT 'ДУТ Заправлено - кол-во',
  `FuelSubQty` int(11) DEFAULT '0' COMMENT 'ДУТ Слито - кол-во',
  `PointsValidity` int(11) DEFAULT '0' COMMENT 'Валидность данных',
  `PointsCalc` int(11) DEFAULT '0' COMMENT 'Количество точек (по Log_ID) расчетное',
  `PointsFact` int(11) DEFAULT '0' COMMENT 'Количество точек (по Log_ID) фактическое',
  `PointsIntervalMax` varchar(20) DEFAULT NULL COMMENT 'Максимальный интервал между точками',
  `Type` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'Тип маршрутного листа - КЗ или населенные пункты',
  `TimeEndFact` datetime DEFAULT NULL COMMENT 'Фактическое время окончания маршрута',
  `DistLogicSensor` double(10,2) DEFAULT '0.00' COMMENT 'Путь с включенным логическим датчиком, км',
  `OutLinkId` varchar(20) DEFAULT NULL COMMENT 'Код внешней базы',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_route`
--

LOCK TABLES `rt_route` WRITE;
/*!40000 ALTER TABLE `rt_route` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_route` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_route_fuel`
--

DROP TABLE IF EXISTS `rt_route_fuel`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_route_fuel` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL,
  `Location` varchar(255) NOT NULL,
  `time_` datetime NOT NULL,
  `dValueCalc` double NOT NULL DEFAULT '0' COMMENT 'Расчетная величина',
  `dValueHandle` double DEFAULT '0' COMMENT 'Ручная правка',
  PRIMARY KEY (`Id`),
  UNIQUE KEY `Id` (`Id`) USING BTREE,
  KEY `rt_route_fuel_FK1` (`Id_main`),
  CONSTRAINT `rt_route_fuel_FK1` FOREIGN KEY (`Id_main`) REFERENCES `rt_route` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_route_fuel`
--

LOCK TABLES `rt_route_fuel` WRITE;
/*!40000 ALTER TABLE `rt_route_fuel` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_route_fuel` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_route_sensors`
--

DROP TABLE IF EXISTS `rt_route_sensors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_route_sensors` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL,
  `SensorName` varchar(127) NOT NULL,
  `Location` varchar(255) NOT NULL,
  `EventTime` datetime NOT NULL,
  `Duration` time NOT NULL,
  `Description` varchar(255) DEFAULT NULL,
  `Speed` double DEFAULT '0',
  `Distance` double(10,2) DEFAULT '0.00' COMMENT 'Путь, км',
  PRIMARY KEY (`Id`),
  KEY `rt_route_sensors_FK1` (`Id_main`) USING BTREE,
  CONSTRAINT `rt_route_sensors_FK1` FOREIGN KEY (`Id_main`) REFERENCES `rt_route` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_route_sensors`
--

LOCK TABLES `rt_route_sensors` WRITE;
/*!40000 ALTER TABLE `rt_route_sensors` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_route_sensors` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_route_stops`
--

DROP TABLE IF EXISTS `rt_route_stops`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_route_stops` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL,
  `Location` varchar(255) DEFAULT NULL,
  `InitialTime` datetime DEFAULT NULL,
  `FinalTime` datetime DEFAULT NULL,
  `Interval` time DEFAULT NULL,
  `CheckZone` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Остановка в контрольной зоне',
  PRIMARY KEY (`Id`),
  KEY `rt_route_stops_FK1` (`Id_main`) USING BTREE,
  CONSTRAINT `rt_route_stops_FK1` FOREIGN KEY (`Id_main`) REFERENCES `rt_route` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_route_stops`
--

LOCK TABLES `rt_route_stops` WRITE;
/*!40000 ALTER TABLE `rt_route_stops` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_route_stops` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_route_type`
--

DROP TABLE IF EXISTS `rt_route_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_route_type` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(50) NOT NULL COMMENT 'Тип маршрута',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_route_type`
--

LOCK TABLES `rt_route_type` WRITE;
/*!40000 ALTER TABLE `rt_route_type` DISABLE KEYS */;
INSERT INTO `rt_route_type` VALUES (1,'Контрольные зоны'),(2,'Населенные пункты');
/*!40000 ALTER TABLE `rt_route_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_routet`
--

DROP TABLE IF EXISTS `rt_routet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_routet` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL,
  `Id_zone` int(11) NOT NULL DEFAULT '0' COMMENT 'Контрольная зона',
  `Id_event` int(11) NOT NULL DEFAULT '1' COMMENT 'Событие - въезд / выезд ',
  `DatePlan` datetime DEFAULT NULL COMMENT 'План время события ',
  `DateFact` datetime DEFAULT NULL COMMENT 'Факт время события ',
  `Deviation` varchar(10) DEFAULT NULL COMMENT 'Отклонение от графика',
  `Remark` text COMMENT 'Примечание',
  `Distance` double DEFAULT '0' COMMENT 'Путь между точками маршрута',
  `Location` varchar(255) DEFAULT NULL COMMENT 'Населенный пункт',
  PRIMARY KEY (`Id`),
  KEY `rt_routet_FK1` (`Id_main`) USING BTREE,
  CONSTRAINT `rt_routet_FK1` FOREIGN KEY (`Id_main`) REFERENCES `rt_route` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_routet`
--

LOCK TABLES `rt_routet` WRITE;
/*!40000 ALTER TABLE `rt_routet` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_routet` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_sample`
--

DROP TABLE IF EXISTS `rt_sample`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_sample` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(100) NOT NULL,
  `Id_mobitel` int(11) DEFAULT '0' COMMENT 'Транспортное средство (опц)',
  `TimeStart` time DEFAULT NULL COMMENT 'Время начала маршрута (опц)',
  `Distance` double DEFAULT '0' COMMENT 'Общий путь, км',
  `Remark` text COMMENT 'Примечание',
  `Id_main` int(11) NOT NULL DEFAULT '0' COMMENT 'Ссылка на элемент верхнего уровня в иерархии',
  `IsGroupe` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Запись - группа',
  `AutoCreate` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Маршрут может автосоздаваться ',
  `OutLinkId` varchar(20) DEFAULT NULL COMMENT 'Код внешней базы',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_sample`
--

LOCK TABLES `rt_sample` WRITE;
/*!40000 ALTER TABLE `rt_sample` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_sample` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_samplet`
--

DROP TABLE IF EXISTS `rt_samplet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_samplet` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL,
  `Position` tinyint(4) NOT NULL COMMENT 'Порядковый номер записи шаблона маршрута',
  `Id_event` int(11) NOT NULL COMMENT 'Событие - въезд / выезд ',
  `Id_zone` int(11) DEFAULT NULL COMMENT 'Контрольная зона',
  `TimeRel` char(5) DEFAULT '00:00' COMMENT 'Относительное время от начала маршрута',
  `TimeRelP` char(5) DEFAULT '00:00' COMMENT 'Допустимое отклонение (+)',
  `TimeRelM` char(5) DEFAULT '00:00' COMMENT 'Допустимое отклонение (-)',
  `TimeAbs` char(8) DEFAULT '00:00:00' COMMENT 'Абсолютное время маршрута',
  PRIMARY KEY (`Id`),
  KEY `rt_samplet_FK1` (`Id_main`) USING BTREE,
  CONSTRAINT `rt_samplet_FK1` FOREIGN KEY (`Id_main`) REFERENCES `rt_sample` (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_samplet`
--

LOCK TABLES `rt_samplet` WRITE;
/*!40000 ALTER TABLE `rt_samplet` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_samplet` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_shedule`
--

DROP TABLE IF EXISTS `rt_shedule`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_shedule` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_shedule_dc` int(11) DEFAULT NULL COMMENT 'Ссылка на справочник графиков',
  `Id_zone_main` int(11) DEFAULT NULL COMMENT 'Зона старта транспортных средств',
  `DateShedule` datetime NOT NULL COMMENT 'Дата графика',
  `Remark` varchar(127) DEFAULT NULL COMMENT 'Примечание',
  `OutLinkId` varchar(20) DEFAULT NULL COMMENT 'Ссылка на внешний документ учетной системы',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Шапка документа ГРАФИК ДВИЖЕНИЯ';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_shedule`
--

LOCK TABLES `rt_shedule` WRITE;
/*!40000 ALTER TABLE `rt_shedule` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_shedule` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_shedule_dc`
--

DROP TABLE IF EXISTS `rt_shedule_dc`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_shedule_dc` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(127) NOT NULL COMMENT 'Название шаблона графика движения',
  `Id_zone_main` int(11) DEFAULT NULL COMMENT 'Зона старта транспортных средств',
  `Remark` varchar(127) DEFAULT NULL COMMENT 'Примечание',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Шаблон шапки документа ГРАФИК ДВИЖЕНИЯ';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_shedule_dc`
--

LOCK TABLES `rt_shedule_dc` WRITE;
/*!40000 ALTER TABLE `rt_shedule_dc` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_shedule_dc` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_shedulet`
--

DROP TABLE IF EXISTS `rt_shedulet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_shedulet` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL COMMENT 'Ссылка на шапку документа',
  `Id_zone_to` int(11) DEFAULT NULL COMMENT 'Зона прибытия транспортного средства',
  `Id_vehicle` int(11) DEFAULT NULL COMMENT 'Транспортное средство',
  `TimePlanStart` datetime NOT NULL COMMENT 'Плановая дата начала движения',
  `TimePlanEnd` datetime DEFAULT NULL COMMENT 'Плановая дата окончания движения',
  `TimeFactStart` datetime DEFAULT NULL COMMENT 'Фактическая дата начала движения',
  `TimeFactEnd` datetime DEFAULT NULL COMMENT 'Фактическая дата окончания движения',
  `Distance` float NOT NULL DEFAULT '0' COMMENT 'Плановое расстояние',
  `State` varchar(127) DEFAULT NULL COMMENT 'Статус слежения за транспортным средством',
  `IsClose` bit(1) NOT NULL DEFAULT b'0' COMMENT 'Слежение за транспортным средством прекращено',
  PRIMARY KEY (`Id`),
  KEY `FK_rt_shedulet_rt_shedule` (`Id_main`) USING BTREE,
  CONSTRAINT `FK_rt_shedulet_rt_shedule` FOREIGN KEY (`Id_main`) REFERENCES `rt_shedule` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Содержимое документа ГРАФИК ДВИЖЕНИЯ';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_shedulet`
--

LOCK TABLES `rt_shedulet` WRITE;
/*!40000 ALTER TABLE `rt_shedulet` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_shedulet` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rt_shedulet_dc`
--

DROP TABLE IF EXISTS `rt_shedulet_dc`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rt_shedulet_dc` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_main` int(11) NOT NULL COMMENT 'Ссылка на шапку документа',
  `Id_zone_to` int(11) DEFAULT NULL COMMENT 'Зона прибытия транспортного средства',
  `TimePlanStart` char(5) NOT NULL COMMENT 'Плановая дата начала движения',
  `TimePlanEnd` char(5) DEFAULT NULL COMMENT 'Плановая дата окончания движения',
  `Distance` float NOT NULL DEFAULT '0' COMMENT 'Плановое расстояние',
  PRIMARY KEY (`Id`),
  KEY `FK_rt_shedulet_rt_shedule` (`Id_main`) USING BTREE,
  CONSTRAINT `FK_rt_shedulet_dc_rt_shedule_dc` FOREIGN KEY (`Id_main`) REFERENCES `rt_shedule_dc` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Шаблон содержимого документа ГРАФИК ДВИЖЕНИЯ';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rt_shedulet_dc`
--

LOCK TABLES `rt_shedulet_dc` WRITE;
/*!40000 ALTER TABLE `rt_shedulet_dc` DISABLE KEYS */;
/*!40000 ALTER TABLE `rt_shedulet_dc` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rules`
--

DROP TABLE IF EXISTS `rules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rules` (
  `Rule_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Password` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) NOT NULL DEFAULT '0',
  `Rule1` tinyint(4) NOT NULL DEFAULT '0',
  `Rule2` tinyint(4) NOT NULL DEFAULT '0',
  `Rule3` tinyint(4) NOT NULL DEFAULT '0',
  `Rule4` tinyint(4) NOT NULL DEFAULT '0',
  `Rule5` tinyint(4) NOT NULL DEFAULT '0',
  `Rule6` tinyint(4) NOT NULL DEFAULT '0',
  `Rule7` tinyint(4) NOT NULL DEFAULT '0',
  `Rule8` tinyint(4) NOT NULL DEFAULT '0',
  `Rule9` tinyint(4) NOT NULL DEFAULT '0',
  `Rule10` tinyint(4) NOT NULL DEFAULT '0',
  `Rule11` tinyint(4) NOT NULL DEFAULT '0',
  `Rule12` tinyint(4) NOT NULL DEFAULT '0',
  `Rule13` tinyint(4) NOT NULL DEFAULT '0',
  `Rule14` tinyint(4) NOT NULL DEFAULT '0',
  `Rule15` tinyint(4) NOT NULL DEFAULT '0',
  `Rule16` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`Rule_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rules`
--

LOCK TABLES `rules` WRITE;
/*!40000 ALTER TABLE `rules` DISABLE KEYS */;
INSERT INTO `rules` VALUES (1,'guest','guest','guest account',0,1,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0),(8,'power','power','Description for Power User Profile',0,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0),(9,'root','root','Description for root  Profile',0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0);
/*!40000 ALTER TABLE `rules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sensor_hookups`
--

DROP TABLE IF EXISTS `sensor_hookups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sensor_hookups` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Mobitel_ID` int(11) DEFAULT NULL,
  `Sensor_ID` int(11) DEFAULT NULL,
  `FirstBit` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sensor_hookups`
--

LOCK TABLES `sensor_hookups` WRITE;
/*!40000 ALTER TABLE `sensor_hookups` DISABLE KEYS */;
/*!40000 ALTER TABLE `sensor_hookups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sensor_list`
--

DROP TABLE IF EXISTS `sensor_list`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sensor_list` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Title` varchar(70) DEFAULT NULL,
  `Kind` varchar(20) DEFAULT NULL,
  `BitsCount` int(11) DEFAULT NULL,
  `FirstBit` int(11) DEFAULT NULL,
  `Data` text,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sensor_list`
--

LOCK TABLES `sensor_list` WRITE;
/*!40000 ALTER TABLE `sensor_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `sensor_list` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sensoralgorithms`
--

DROP TABLE IF EXISTS `sensoralgorithms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sensoralgorithms` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(45) NOT NULL,
  `Description` char(45) DEFAULT NULL,
  `AlgorithmID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`),
  UNIQUE KEY `ID` (`ID`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sensoralgorithms`
--

LOCK TABLES `sensoralgorithms` WRITE;
/*!40000 ALTER TABLE `sensoralgorithms` DISABLE KEYS */;
INSERT INTO `sensoralgorithms` VALUES (1,'Логический датчик','Для анализа используется критерий вкл. выкл.',1),(2,'Работа основного двигателя','Обычно используется при подключении к заж.',2),(3,'Обороты оборудования','Для анализа используются к-во оборотов',3),(4,'Напряжение','Контролируется борт сеть',4),(5,'Обороты основного двигателя','Для анализа используются к-во оборотов',5),(6,'Температура','Датчик температуры',6),(7,'Уровень топлива','Уровень топлива в баке1',7),(8,'Расход топлива','Уровень топлива в баке2',8),(9,'Пассажиры1','Для подсчета количества пассажиров1',9),(10,'Пассажиры2','Для подсчета количества пассажиров2',10),(11,'Дверь1','Для пассажиров1',11),(12,'Дверь2','Для пассажиров2',12),(13,'Идентификация водителя','Для идентификации водителей',13),(14,'Идентификация прицепного устройства','Для идентификации прицепных устройств',14),(15,'Топливозаправщик','Для контроля запровок с бензовоза',15),(16,'Слежение - логический датчик','Для отображения в режиме слежения',16),(17,'Прицепное оборудование - логический датчик','Для контроля состояний работа/переезд',17),(18,'Инклинометр - продольная ось X,','Для контроля угла наклона по оси Х',18),(19,'Инклинометр - продольная ось Y,','Для контроля угла наклона по оси Y',19),(20,'Идентификация оператора','Для идентификации водителя принявшего топливо',20),(21,'Идентификация транспортного средства','Для идентификации топливозаправщика',21),(22,'Угломерный датчик рабочего положения','Для идентификации агрегата в агро',22),(23,'Датчик разгрузки транспортного средства','Выгрузка бункера комбайна в агро',23),(24,'Расход топлива прямой','Расход топлива в баке прямой',24),(25,'Расход топлива обратный','Расход топлива в баке обратный',25),(26,'Дальномер','Дальномер',26),(27,'Расходомер топлива накопительный','Расходомер типа ДРТ, только накопительный',27),(28,'Определение уровня зерна в бункере','Алгоритм определения уровня зерна в бункере',28),(29,'Расход топлива дифференциальный','Дифференциальный проточник',29),(30,'Топливозаправщик (дифференциальный)','Топливозаправщик на дифф ДРТ',30),(31,'Уровень топлива в агрегате','Уровень топлива в баке агрегата',31);
/*!40000 ALTER TABLE `sensoralgorithms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sensorcoefficient`
--

DROP TABLE IF EXISTS `sensorcoefficient`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sensorcoefficient` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `Sensor_id` int(10) unsigned NOT NULL,
  `UserValue` double(10,5) NOT NULL,
  `SensorValue` double(10,5) NOT NULL,
  `K` double(10,5) NOT NULL DEFAULT '1.00000',
  `b` double NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `Index_2` (`Sensor_id`,`UserValue`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=58 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sensorcoefficient`
--

LOCK TABLES `sensorcoefficient` WRITE;
/*!40000 ALTER TABLE `sensorcoefficient` DISABLE KEYS */;
INSERT INTO `sensorcoefficient` VALUES (1,1,1.00000,7808.00000,-0.12500,977),(2,1,5.00000,7776.00000,-0.12500,977),(3,1,10.00000,7682.00000,-0.05319,418.6170212765957),(4,1,20.00000,7511.00000,-0.05848,459.2397660818713),(5,1,40.00000,7199.00000,-0.06410,501.47435897435895),(6,1,60.00000,6885.00000,-0.06369,498.5350318471338),(7,1,80.00000,6577.00000,-0.06494,507.07792207792204),(8,1,100.00000,6267.00000,-0.06452,504.3225806451613),(9,1,120.00000,5964.00000,-0.06601,513.6633663366335),(10,1,140.00000,5655.00000,-0.06472,506.0194174757281),(11,1,160.00000,5356.00000,-0.06689,518.2608695652174),(12,1,180.00000,5055.00000,-0.06645,515.8803986710964),(13,1,200.00000,4749.00000,-0.06536,510.39215686274514),(14,1,220.00000,4443.00000,-0.06536,510.39215686274514),(15,1,240.00000,4142.00000,-0.06645,515.2159468438538),(16,1,260.00000,3838.00000,-0.06579,512.5),(17,1,280.00000,3535.00000,-0.06601,513.3333333333333),(18,1,300.00000,3235.00000,-0.06667,515.6666666666666),(19,1,320.00000,2929.00000,-0.06536,511.437908496732),(20,1,340.00000,2626.00000,-0.06601,513.3333333333333),(21,1,360.00000,2321.00000,-0.06557,512.1967213114754),(22,1,380.00000,2010.00000,-0.06431,509.2604501607717),(23,1,400.00000,1698.00000,-0.06410,508.8461538461538),(24,1,420.00000,1396.00000,-0.06623,512.4503311258278),(25,1,440.00000,1074.00000,-0.06211,506.7080745341615),(26,1,450.00000,902.00000,-0.05814,502.4418604651163),(27,1,455.00000,756.00000,-0.03425,480.8904109589041),(28,1,465.00000,586.00000,-0.05882,499.47058823529414),(29,10,1.00000,7727.00000,-0.13333,1031.2666666666667),(30,10,5.00000,7697.00000,-0.13333,1031.2666666666667),(31,10,10.00000,7603.00000,-0.05319,414.4148936170213),(32,10,20.00000,7432.00000,-0.05848,454.61988304093563),(33,10,40.00000,7120.00000,-0.06410,496.41025641025635),(34,10,60.00000,6808.00000,-0.06410,496.41025641025635),(35,10,80.00000,6500.00000,-0.06494,502.07792207792204),(36,10,100.00000,6199.00000,-0.06645,511.8936877076412),(37,10,120.00000,5899.00000,-0.06667,513.2666666666667),(38,10,140.00000,5598.00000,-0.06645,511.96013289036546),(39,10,160.00000,5302.00000,-0.06757,518.2432432432433),(40,10,180.00000,5005.00000,-0.06734,517.037037037037),(41,10,200.00000,4709.00000,-0.06757,518.1756756756756),(42,10,220.00000,4412.00000,-0.06734,517.1043771043771),(43,10,240.00000,4119.00000,-0.06826,521.160409556314),(44,10,260.00000,3826.00000,-0.06826,521.160409556314),(45,10,280.00000,3530.00000,-0.06757,518.5135135135135),(46,10,300.00000,3235.00000,-0.06780,519.3220338983051),(47,10,320.00000,2939.00000,-0.06757,518.581081081081),(48,10,340.00000,2642.00000,-0.06734,517.912457912458),(49,10,360.00000,2343.00000,-0.06689,516.7224080267558),(50,10,380.00000,2038.00000,-0.06557,513.639344262295),(51,10,400.00000,1730.00000,-0.06494,512.3376623376623),(52,10,420.00000,1436.00000,-0.06803,517.687074829932),(53,10,440.00000,1121.00000,-0.06349,511.1746031746032),(54,10,450.00000,961.00000,-0.06250,510.0625),(55,10,455.00000,877.00000,-0.05952,507.20238095238096),(56,10,460.00000,741.00000,-0.03676,487.24264705882354),(57,10,470.00000,561.00000,-0.05556,501.1666666666667);
/*!40000 ALTER TABLE `sensorcoefficient` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sensordata`
--

DROP TABLE IF EXISTS `sensordata`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sensordata` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `datagps_id` int(10) unsigned NOT NULL,
  `sensor_id` int(10) unsigned NOT NULL,
  `Value` double(10,2) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `Index_2` (`datagps_id`,`sensor_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sensordata`
--

LOCK TABLES `sensordata` WRITE;
/*!40000 ALTER TABLE `sensordata` DISABLE KEYS */;
/*!40000 ALTER TABLE `sensordata` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sensors`
--

DROP TABLE IF EXISTS `sensors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sensors` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `mobitel_id` int(11) NOT NULL,
  `Name` varchar(45) NOT NULL,
  `Description` varchar(200) NOT NULL,
  `StartBit` int(10) unsigned NOT NULL,
  `Length` int(10) unsigned NOT NULL,
  `NameUnit` varchar(45) NOT NULL,
  `K` double(10,5) NOT NULL DEFAULT '0.00000',
  `B` double DEFAULT '0' COMMENT 'Shift coefficient',
  `S` tinyint(1) DEFAULT '0' COMMENT 'Sign arifmetic',
  PRIMARY KEY (`id`),
  KEY `Index_2` (`mobitel_id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sensors`
--

LOCK TABLES `sensors` WRITE;
/*!40000 ALTER TABLE `sensors` DISABLE KEYS */;
INSERT INTO `sensors` VALUES (1,842281273,'бак','',80,16,' л',1.00000,0,0),(2,842281273,'штатний ДРП','',128,8,' %',0.40000,0,0),(3,842281273,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(4,842281273,'витрата','',16,64,' л',0.50000,0,0),(5,842281273,'бортмережа','',112,16,' В',1.00000,0,0),(6,842281273,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(7,842281273,'запалювання','',196,1,' ',1.00000,0,0),(10,842020656,'бак','',80,16,' л',1.00000,0,0),(11,842020656,'штатний ДРП','',128,8,' %',0.40000,0,0),(12,842020656,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(13,842020656,'витрата','',16,64,' л',0.50000,0,0),(14,842020656,'бортмережа','',112,16,' В',0.00100,0,0),(15,842020656,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(16,842020656,'запалювання','',196,1,' ',1.00000,0,0);
/*!40000 ALTER TABLE `sensors` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `serviceinit`
--

DROP TABLE IF EXISTS `serviceinit`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `serviceinit` (
  `ServiceInit_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `ServiceType_ID` int(11) DEFAULT '0',
  `A1` char(50) DEFAULT NULL,
  `A2` char(50) DEFAULT NULL,
  `A3` char(50) DEFAULT NULL,
  `A4` char(50) DEFAULT NULL,
  `A5` char(50) DEFAULT NULL,
  `A6` char(50) DEFAULT NULL,
  `A7` char(50) DEFAULT NULL,
  `A8` char(50) DEFAULT NULL,
  `A9` char(50) DEFAULT NULL,
  `A10` char(200) DEFAULT NULL,
  `CAtoSAint` int(11) DEFAULT '0',
  `CAtoSAtime` int(11) DEFAULT '0',
  `SAtoCAint` int(11) DEFAULT '0',
  `SAtoCAtime` int(11) DEFAULT '0',
  `SAtoCAtext` char(50) DEFAULT 'STOPPED',
  `CAtoSAtext` char(50) DEFAULT 'STOPPED',
  `MobitelActive_ID` int(11) NOT NULL DEFAULT '0',
  `Active` tinyint(3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`ServiceInit_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `serviceinit`
--

LOCK TABLES `serviceinit` WRITE;
/*!40000 ALTER TABLE `serviceinit` DISABLE KEYS */;
INSERT INTO `serviceinit` VALUES (1,'Direct Cable','Сервис для прямого кабельного соединения',0,0,5,'COM1','115200','','','','','','','','',0,0,1,1222352358,'Running',NULL,83,0),(7,'GSM модем','Отправка SMS по  GSM каналу',0,0,2,'COM2','115200','','','','','','','','XXX',0,0,1,1127307060,'Running',NULL,75,0),(29,'EMail','Сервис отправки данных через E-mail',29,1125886839,6,'','','','smtp.p314.net','pop.p314.net','25','110','60','','XXX',0,0,1,1128962351,'Running',NULL,68,0),(30,'Online','Онлайн через телематический сервер',30,0,3,'','9010','','','','','','','','',0,0,0,0,'STOPPED','STOPPED',0,0);
/*!40000 ALTER TABLE `serviceinit` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `servicesend`
--

DROP TABLE IF EXISTS `servicesend`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `servicesend` (
  `ServiceSend_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(50) DEFAULT NULL,
  `Descr` varchar(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `telMobitel` varchar(64) DEFAULT NULL,
  `smsMobitel` varchar(64) DEFAULT NULL,
  `emailMobitel` varchar(64) DEFAULT NULL,
  `IPMobitel` varchar(64) DEFAULT NULL,
  `URLMobitel` varchar(64) DEFAULT NULL,
  `PortMobitel` int(11) DEFAULT '0',
  `RfMobitel` varchar(50) DEFAULT NULL,
  `Message_ID` int(11) DEFAULT '0',
  PRIMARY KEY (`ServiceSend_ID`),
  KEY `Index_2` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `servicesend`
--

LOCK TABLES `servicesend` WRITE;
/*!40000 ALTER TABLE `servicesend` DISABLE KEYS */;
INSERT INTO `servicesend` VALUES (1,'','',1,0,'102',NULL,NULL,NULL,NULL,0,NULL,0),(2,'','',2,0,'103',NULL,NULL,NULL,NULL,0,NULL,0);
/*!40000 ALTER TABLE `servicesend` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `servicetypes`
--

DROP TABLE IF EXISTS `servicetypes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `servicetypes` (
  `ServiceType_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `Flags` int(11) DEFAULT '0',
  `D1` char(200) DEFAULT NULL,
  `D2` char(200) DEFAULT NULL,
  `D3` char(200) DEFAULT NULL,
  `D4` char(200) DEFAULT NULL,
  `D5` char(200) DEFAULT NULL,
  `D6` char(200) DEFAULT NULL,
  `D7` char(200) DEFAULT NULL,
  `D8` char(200) DEFAULT NULL,
  `D9` char(200) DEFAULT NULL,
  `D10` char(200) DEFAULT NULL,
  PRIMARY KEY (`ServiceType_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `servicetypes`
--

LOCK TABLES `servicetypes` WRITE;
/*!40000 ALTER TABLE `servicetypes` DISABLE KEYS */;
INSERT INTO `servicetypes` VALUES (1,'reserved','Зарезервировано',0,'Parameter 1','Parameter 2','Parameter 3','','','','','','',''),(2,'GSM','Тип сервиса для отправки SMS через GSM соединение',0,'Номер порта','Скорость порта','','','','','','','',''),(3,'Online','Online',0,'IP','Port','Login','Password','','','','','',''),(4,'RF modem','Радиомодем (не реализовано)',0,'Номер порта','Скорость порта','','','','','','','',''),(5,'DC','Тип сервиса \"прямое кабельное соединения\"',0,'Номер порта','Скорость порта',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(6,'E-Mail','Тип сервиса \" E-Mail \" для отправки SMS через электронную почту',0,'EMAIL','Login','Password','Smtp Server','Pop3 Server','Smtp Port','Pop3 Port','Check Out time',NULL,NULL);
/*!40000 ALTER TABLE `servicetypes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `setting`
--

DROP TABLE IF EXISTS `setting`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `setting` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `TimeBreak` time DEFAULT '00:01:00' COMMENT 'Минимальное время остановки',
  `RotationMain` int(11) DEFAULT '100' COMMENT 'Обороты основного двигателя',
  `RotationAdd` int(11) DEFAULT '100' COMMENT 'Обороты доп. двигателя',
  `FuelingEdge` int(11) DEFAULT '0' COMMENT 'Минимальная заправка',
  `band` int(11) DEFAULT '25' COMMENT 'Полоса осреднения',
  `FuelingDischarge` int(11) DEFAULT '0' COMMENT 'Минимальный слив топлива',
  `accelMax` double DEFAULT '1' COMMENT 'Максимальное ускорение',
  `breakMax` double DEFAULT '1' COMMENT 'Максимальное торможение',
  `speedMax` double DEFAULT '70' COMMENT 'Максимальная скорость',
  `idleRunningMain` int(11) DEFAULT '0' COMMENT 'Холостой ход основного двигателя',
  `idleRunningAdd` int(11) DEFAULT '0' COMMENT 'Холосой ход доп. двигателя',
  `Name` char(20) DEFAULT 'Установки' COMMENT 'Название',
  `Desc` char(80) DEFAULT 'Описание установки' COMMENT 'Описание ',
  `AvgFuelRatePerHour` double(10,5) NOT NULL DEFAULT '15.00000' COMMENT 'Средний расход топлива в час',
  `FuelApproximationTime` time NOT NULL DEFAULT '00:02:00' COMMENT 'Временной интервал перед стоянкой, по точка которого уточняется уровень топлива в начале стоянки',
  `TimeGetFuelAfterStop` time NOT NULL DEFAULT '00:00:00' COMMENT 'Временной интервал между началом стоянки и замером уровня топлива',
  `TimeGetFuelBeforeMotion` time NOT NULL DEFAULT '00:00:00' COMMENT 'Временной интервал между замером уровня топлива и началом движения',
  `CzMinCrossingPairTime` time NOT NULL DEFAULT '00:01:00' COMMENT 'Min временной интервал между двумя пересечениями КЗ',
  `FuelerRadiusFinds` int(11) NOT NULL DEFAULT '10' COMMENT 'Радиус поиска заправляемых ТС вокруг топливозаправщика',
  `FuelerMaxTimeStop` time NOT NULL DEFAULT '00:02:00' COMMENT 'Минимальное время до заправки следующего ТС',
  `FuelerMinFuelrate` int(11) NOT NULL DEFAULT '1' COMMENT 'Минимальная величина заправки, что будет попадать в отчет',
  `FuelerCountInMotion` int(11) NOT NULL DEFAULT '0' COMMENT 'Считать ли заправки, при не нулевой скорости',
  `FuelrateWithDischarge` int(11) NOT NULL DEFAULT '0' COMMENT 'Считать ли в расходе сливы',
  `FuelingMinMaxAlgorithm` int(11) NOT NULL DEFAULT '0' COMMENT 'Считать заправки по MAX-MIN',
  `TimeBreakMaxPermitted` time NOT NULL DEFAULT '03:00:00' COMMENT 'Макс. время разрешенной стоянки',
  `InclinometerMaxAngleAxisX` double NOT NULL DEFAULT '5' COMMENT 'Предельный угол наклона относительно продольной оси Х ',
  `InclinometerMaxAngleAxisY` double NOT NULL DEFAULT '5' COMMENT 'Предельный угол наклона относительно продольной оси Y ',
  `MinTimeSwitch` int(11) NOT NULL DEFAULT '0' COMMENT 'Минимальное время между двумя событиями датчика',
  `TimeMinimMovingSize` time NOT NULL DEFAULT '00:00:00' COMMENT 'Минимальное время движения в начале смены',
  `speedMin` float NOT NULL DEFAULT '0' COMMENT 'Минимальная скорость в км/ч',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `setting`
--

LOCK TABLES `setting` WRITE;
/*!40000 ALTER TABLE `setting` DISABLE KEYS */;
INSERT INTO `setting` VALUES (1,'00:01:00',100,100,20,0,7,1,1,85,0,0,'Настройка 1','Настройка по умолчанию',15.00000,'00:02:00','00:00:00','00:00:00','00:01:00',10,'00:02:00',1,0,1,0,'03:00:00',5,5,0,'00:00:00',0);
/*!40000 ALTER TABLE `setting` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `smsnumbers`
--

DROP TABLE IF EXISTS `smsnumbers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `smsnumbers` (
  `SmsNumber_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `smsNumber` char(14) DEFAULT NULL,
  PRIMARY KEY (`SmsNumber_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=86 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `smsnumbers`
--

LOCK TABLES `smsnumbers` WRITE;
/*!40000 ALTER TABLE `smsnumbers` DISABLE KEYS */;
INSERT INTO `smsnumbers` VALUES (9,'UMC SMS Center','UMC SMS Center descr',0,0,'+380500005010'),(42,'Golden SMS Center','Golden SMS Center descr',0,0,'+380390001008'),(53,'GOLDEN SMS Шлюз','Номер телефона, на который отправляются данные с ТТ через E_MAIL',0,0,'025'),(80,'SMS',' (SMS)',0,0,'+38067'),(81,'RCSB (SMS)','Телефон (SMS)',0,0,'+380672452724'),(82,'RCSB2 (SMS)',' (SMS)',0,0,'+380672452734'),(83,'RCS1 (SMS)',' (SMS)',0,0,'+380637562677'),(84,'RCS2 (SMS)',' (SMS)',0,0,'+380933222277'),(85,'RCS3 (SMS)',' (SMS)',0,0,'+380637562678');
/*!40000 ALTER TABLE `smsnumbers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sources`
--

DROP TABLE IF EXISTS `sources`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sources` (
  `Source_ID` int(11) NOT NULL AUTO_INCREMENT,
  `SourceText` char(200) DEFAULT NULL,
  `SourceError` char(200) DEFAULT NULL,
  PRIMARY KEY (`Source_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sources`
--

LOCK TABLES `sources` WRITE;
/*!40000 ALTER TABLE `sources` DISABLE KEYS */;
/*!40000 ALTER TABLE `sources` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `specialmessages`
--

DROP TABLE IF EXISTS `specialmessages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `specialmessages` (
  `SpecMessage_ID` int(11) NOT NULL AUTO_INCREMENT,
  `DataString` char(50) DEFAULT NULL,
  `DataInteger` int(11) DEFAULT '0',
  `unixtime` char(50) DEFAULT NULL,
  `isNew` int(11) DEFAULT '0',
  PRIMARY KEY (`SpecMessage_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `specialmessages`
--

LOCK TABLES `specialmessages` WRITE;
/*!40000 ALTER TABLE `specialmessages` DISABLE KEYS */;
/*!40000 ALTER TABLE `specialmessages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `state`
--

DROP TABLE IF EXISTS `state`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `state` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `MinValue` double NOT NULL,
  `MaxValue` double NOT NULL,
  `Title` varchar(50) NOT NULL,
  `SensorId` int(11) DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `State_FK` (`SensorId`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=cp1251 COMMENT='Состояния автомобиля';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `state`
--

LOCK TABLES `state` WRITE;
/*!40000 ALTER TABLE `state` DISABLE KEYS */;
INSERT INTO `state` VALUES (1,0,0.1,'0',7),(2,1,1.1,'1',7),(3,0,0.1,'0',16),(4,1,1.1,'1',16);
/*!40000 ALTER TABLE `state` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `swupdate`
--

DROP TABLE IF EXISTS `swupdate`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `swupdate` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `ShortID` char(4) NOT NULL COMMENT 'Идентификатор телетрека(логин)',
  `Soft` mediumtext NOT NULL COMMENT 'Прошивка',
  `InsertTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Дата и время вставки в таблицу',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Обновление прошивки телетрека';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `swupdate`
--

LOCK TABLES `swupdate` WRITE;
/*!40000 ALTER TABLE `swupdate` DISABLE KEYS */;
/*!40000 ALTER TABLE `swupdate` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `team`
--

DROP TABLE IF EXISTS `team`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `team` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(50) DEFAULT NULL,
  `Descr` text COMMENT 'Описание',
  `Setting_id` int(11) DEFAULT NULL,
  `OutLinkId` varchar(20) DEFAULT NULL COMMENT 'Код внешней базы',
  `FuelWayKmGrp` double DEFAULT '0' COMMENT 'Норма расхода топлива л/100 км',
  `FuelMotoHrGrp` double DEFAULT '0' COMMENT 'Норма расхода топлива на холостом ходу л/моточас',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`) USING BTREE,
  KEY `Setting_id` (`Setting_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `team`
--

LOCK TABLES `team` WRITE;
/*!40000 ALTER TABLE `team` DISABLE KEYS */;
INSERT INTO `team` VALUES (1,'Автомобиль',NULL,1,NULL,0,0),(2,'Трактор',NULL,1,NULL,0,0),(3,'Комбайн',NULL,1,NULL,0,0),(4,'Заправщик',NULL,1,NULL,0,0),(5,'Кран',NULL,1,NULL,0,0),(6,'Транспорт','',1,'',0,0);
/*!40000 ALTER TABLE `team` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `telnumbers`
--

DROP TABLE IF EXISTS `telnumbers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `telnumbers` (
  `TelNumber_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` char(200) DEFAULT NULL,
  `ID` int(11) DEFAULT '0',
  `Flags` int(11) DEFAULT '0',
  `TelNumber` char(50) DEFAULT NULL,
  PRIMARY KEY (`TelNumber_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=104 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `telnumbers`
--

LOCK TABLES `telnumbers` WRITE;
/*!40000 ALTER TABLE `telnumbers` DISABLE KEYS */;
INSERT INTO `telnumbers` VALUES (56,'RCSB','Телефон',0,0,'80672452724'),(57,'Телефон','Телефон',0,0,'22222222222'),(58,'Телефон','Телефон',0,0,'33333333333'),(59,'Телефон','Телефон',0,0,'44444444444'),(68,'Телефон','Телефон',0,0,'55555555555'),(71,'Телефон','',0,0,'66666666666'),(73,'Телефон','Телефон',0,0,'77777777777'),(74,'Телефон','Телефон',0,0,'88888888888'),(75,'Телефон','',0,0,'99999999999'),(81,'RCS3','',0,0,'80637562678'),(89,'RCS2','',0,0,'80933222277'),(90,'RCS1','',0,0,'80637562677'),(97,'RCSB2','',0,0,'80672452734'),(101,'Телефон','',0,0,'1'),(102,'rcs','mtel',0,0,'+380671623272'),(103,'rcs','mtel',0,0,'+380671026957');
/*!40000 ALTER TABLE `telnumbers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `temp`
--

DROP TABLE IF EXISTS `temp`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `temp` (
  `datagps_id` int(10) unsigned NOT NULL DEFAULT '0',
  `sensor_id` int(10) unsigned NOT NULL DEFAULT '0',
  `Value` double(10,2) NOT NULL DEFAULT '0.00'
) ENGINE=MEMORY DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `temp`
--

LOCK TABLES `temp` WRITE;
/*!40000 ALTER TABLE `temp` DISABLE KEYS */;
/*!40000 ALTER TABLE `temp` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tmpdatagps`
--

DROP TABLE IF EXISTS `tmpdatagps`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tmpdatagps` (
  `DataGps_ID` int(11) NOT NULL DEFAULT '0',
  `Mobitel_ID` int(11) DEFAULT '0',
  `Message_ID` int(11) DEFAULT '0',
  `Latitude` int(11) DEFAULT '0',
  `Longitude` int(11) DEFAULT '0',
  `Altitude` int(11) DEFAULT NULL,
  `UnixTime` int(11) DEFAULT '0',
  `Speed` smallint(6) DEFAULT '0',
  `Direction` int(11) NOT NULL DEFAULT '0',
  `Valid` tinyint(4) DEFAULT '1',
  `InMobitelID` int(11) DEFAULT NULL,
  `Events` int(10) unsigned DEFAULT '0',
  `Sensor1` tinyint(4) unsigned DEFAULT '0',
  `Sensor2` tinyint(4) unsigned DEFAULT '0',
  `Sensor3` tinyint(4) unsigned DEFAULT '0',
  `Sensor4` tinyint(4) unsigned DEFAULT '0',
  `Sensor5` tinyint(4) unsigned DEFAULT '0',
  `Sensor6` tinyint(4) unsigned DEFAULT '0',
  `Sensor7` tinyint(4) unsigned DEFAULT '0',
  `Sensor8` tinyint(4) unsigned DEFAULT '0',
  `LogID` int(11) DEFAULT '0',
  `isShow` tinyint(4) DEFAULT '0',
  `whatIs` smallint(6) unsigned DEFAULT '0',
  `Counter1` int(11) NOT NULL DEFAULT '-1',
  `Counter2` int(11) NOT NULL DEFAULT '-1',
  `Counter3` int(11) NOT NULL DEFAULT '-1',
  `Counter4` int(11) NOT NULL DEFAULT '-1'
) ENGINE=MEMORY DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tmpdatagps`
--

LOCK TABLES `tmpdatagps` WRITE;
/*!40000 ALTER TABLE `tmpdatagps` DISABLE KEYS */;
/*!40000 ALTER TABLE `tmpdatagps` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `transition`
--

DROP TABLE IF EXISTS `transition`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `transition` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `InitialStateId` int(11) DEFAULT NULL,
  `FinalStateId` int(11) DEFAULT NULL,
  `Title` varchar(50) NOT NULL,
  `SensorId` int(11) DEFAULT NULL,
  `IconName` varchar(50) NOT NULL,
  `SoundName` varchar(50) NOT NULL,
  `Enabled` tinyint(1) NOT NULL,
  `ViewInReport` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`Id`),
  KEY `Sensors_FK` (`SensorId`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=cp1251 COMMENT='Переходы между состояниями';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `transition`
--

LOCK TABLES `transition` WRITE;
/*!40000 ALTER TABLE `transition` DISABLE KEYS */;
INSERT INTO `transition` VALUES (1,1,2,'1',7,'Default','Default',0,1),(2,2,1,'0',7,'Default','Default',0,1),(3,3,4,'1',16,'Default','Default',0,1),(4,4,3,'0',16,'Default','Default',0,1);
/*!40000 ALTER TABLE `transition` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `users_acs_objects`
--

DROP TABLE IF EXISTS `users_acs_objects`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users_acs_objects` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Id_role` int(11) NOT NULL,
  `Id_type` int(11) NOT NULL,
  `Id_object` int(11) NOT NULL,
  PRIMARY KEY (`Id`),
  KEY `FK_users_acs_objects_users_acs_roles_Id` (`Id_role`),
  CONSTRAINT `FK_users_acs_objects_users_acs_roles_Id` FOREIGN KEY (`Id_role`) REFERENCES `users_acs_roles` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `users_acs_objects`
--

LOCK TABLES `users_acs_objects` WRITE;
/*!40000 ALTER TABLE `users_acs_objects` DISABLE KEYS */;
INSERT INTO `users_acs_objects` VALUES (1,2,3,5),(2,2,3,10),(3,2,3,13),(4,2,3,14),(5,2,3,15),(6,2,3,16),(7,2,3,19),(8,2,3,20),(9,2,3,21),(10,2,3,22);
/*!40000 ALTER TABLE `users_acs_objects` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `users_acs_roles`
--

DROP TABLE IF EXISTS `users_acs_roles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users_acs_roles` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(255) NOT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `users_acs_roles`
--

LOCK TABLES `users_acs_roles` WRITE;
/*!40000 ALTER TABLE `users_acs_roles` DISABLE KEYS */;
INSERT INTO `users_acs_roles` VALUES (1,'Администратор'),(2,'Жнива Перемоги');
/*!40000 ALTER TABLE `users_acs_roles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `users_actions_log`
--

DROP TABLE IF EXISTS `users_actions_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users_actions_log` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `TypeLog` int(11) NOT NULL DEFAULT '0',
  `DateAction` datetime NOT NULL,
  `Id_document` int(11) NOT NULL DEFAULT '0',
  `TextLog` varchar(255) NOT NULL,
  `User` varchar(127) NOT NULL,
  `Computer` varchar(63) NOT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `users_actions_log`
--

LOCK TABLES `users_actions_log` WRITE;
/*!40000 ALTER TABLE `users_actions_log` DISABLE KEYS */;
INSERT INTO `users_actions_log` VALUES (1,8,'2024-08-08 11:32:48',0,'25->0 Період згладжування','admin','MNK_ROG'),(2,8,'2024-08-08 11:32:48',0,'10->7 Поріг зливу','admin','MNK_ROG'),(3,8,'2024-08-08 11:32:48',0,'50->20 Поріг заправки','admin','MNK_ROG'),(4,8,'2024-08-08 11:32:48',0,'70->85 Максимальна швидкість руху, км/год','admin','MNK_ROG'),(5,8,'2024-08-08 11:32:48',0,'0->1 Не враховувати зливи у витратах','admin','MNK_ROG'),(6,9,'2024-08-08 11:42:07',1,'Вхід','admin','MNK_ROG'),(7,9,'2024-08-08 11:42:08',1,'Завантижити','admin','MNK_ROG'),(8,9,'2024-08-08 11:42:34',10,'Вхід','admin','MNK_ROG'),(9,9,'2024-08-08 11:42:35',10,'Завантижити','admin','MNK_ROG');
/*!40000 ALTER TABLE `users_actions_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `users_list`
--

DROP TABLE IF EXISTS `users_list`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users_list` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(255) NOT NULL,
  `WinLogin` varchar(50) DEFAULT NULL,
  `Password` blob NOT NULL,
  `Admin` tinyint(1) NOT NULL DEFAULT '0',
  `Id_role` int(11) DEFAULT '0' COMMENT 'Код роли пользователя',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `users_list`
--

LOCK TABLES `users_list` WRITE;
/*!40000 ALTER TABLE `users_list` DISABLE KEYS */;
INSERT INTO `users_list` VALUES (1,'Администратор','',_binary '�e�Y B/�A~Hg\�\�O��J?��~������z\�',1,1),(2,'Жнива Перемоги','',_binary 'B\���3\�`G\�T�S[rP�ҙj\�Up��>s�\�\�x',0,2);
/*!40000 ALTER TABLE `users_list` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `users_reports_list`
--

DROP TABLE IF EXISTS `users_reports_list`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users_reports_list` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `ReportType` varchar(127) NOT NULL,
  `ReportCaption` varchar(127) NOT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `users_reports_list`
--

LOCK TABLES `users_reports_list` WRITE;
/*!40000 ALTER TABLE `users_reports_list` DISABLE KEYS */;
INSERT INTO `users_reports_list` VALUES (1,'KilometrageControl','Пробег'),(2,'KilometrageDayControl','Пробег суточный'),(3,'KilometrageTotal','Пробег общий'),(4,'FuelControl','Заправки'),(5,'KilometrageControlDut','Пробег+ДУТ'),(6,'FuelExpensesControlDutDay','Топливо суточный ДУТ'),(7,'FuelExpensesControlDut','Общий расход ДУТ'),(8,'FlowmeterControl','Расход'),(9,'FuelExpensesControlDrt','Общий расход ДРТ'),(10,'GrainLevel','Уровень зерна'),(11,'RoadSafetyControl','Безопасность'),(12,'ParamOfMovingControl','Параметры движения'),(13,'CzDetailed','КЗ Детальный'),(14,'CZ_Detailed_General','КЗ Групповой'),(15,'FuelCZ_Inkom_DRT','ДРТ - КЗ'),(16,'FuelCZ_Inkom_DUT','ДУТ - КЗ'),(17,'SensorEventsControl','События датчиков'),(18,'RotationControl','Обороты'),(19,'PassTrafficDaily','Пассажиры суточный'),(20,'FuelerControlDrt','Заправщик'),(21,'ReportDrivers','Водители (RFID)'),(22,'ReportVehicles','Идентификация ТС');
/*!40000 ALTER TABLE `users_reports_list` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `vehicle`
--

DROP TABLE IF EXISTS `vehicle`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vehicle` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `MakeCar` text COMMENT 'Марка автомобиля',
  `NumberPlate` text COMMENT 'Номерной знак',
  `Team_id` int(11) DEFAULT NULL,
  `Mobitel_id` int(11) DEFAULT NULL,
  `Odometr` int(11) DEFAULT '0' COMMENT 'Показания одометра',
  `CarModel` text COMMENT 'Модель',
  `setting_id` int(11) DEFAULT '1',
  `odoTime` datetime DEFAULT NULL COMMENT 'Дата и время сверки одометра',
  `driver_id` int(11) DEFAULT '-1',
  `OutLinkId` varchar(20) DEFAULT NULL COMMENT 'Код внешней базы',
  `Category_id` int(11) DEFAULT NULL COMMENT 'Категория транспортая',
  `Category_id2` int(11) DEFAULT NULL COMMENT 'Категория2 транспорта',
  `PcbVersionId` int(11) DEFAULT '-1' COMMENT 'Версия плат датчика назначенная на машину',
  `Category_id3` int(11) DEFAULT NULL COMMENT 'Категория3 транспорта',
  `Category_id4` int(11) DEFAULT NULL COMMENT 'Категория4 транспорта',
  `FuelWayLiter` double DEFAULT '0' COMMENT 'Расход топлива л/100 км',
  `FuelMotorLiter` double DEFAULT '0' COMMENT 'Расход топлива л/моточас',
  `Identifier` int(11) DEFAULT '0' COMMENT 'Идентификатор машины',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`) USING BTREE,
  KEY `Mobitel_id` (`Mobitel_id`) USING BTREE,
  KEY `Team_id` (`Team_id`) USING BTREE,
  KEY `setting_id` (`setting_id`) USING BTREE,
  KEY `FK_vehicle_vehicle_category_Id` (`Category_id`),
  KEY `FK_vehicle_vehicle_category_Id2` (`Category_id2`),
  KEY `FK_vehicle_vehicle_category_Id3` (`Category_id3`),
  KEY `FK_vehicle_vehicle_category_Id4` (`Category_id4`),
  CONSTRAINT `FK_vehicle_vehicle_category_Id` FOREIGN KEY (`Category_id`) REFERENCES `vehicle_category` (`Id`),
  CONSTRAINT `FK_vehicle_vehicle_category_Id2` FOREIGN KEY (`Category_id2`) REFERENCES `vehicle_category2` (`Id`),
  CONSTRAINT `FK_vehicle_vehicle_category_Id3` FOREIGN KEY (`Category_id3`) REFERENCES `vehicle_category3` (`Id`),
  CONSTRAINT `FK_vehicle_vehicle_category_Id4` FOREIGN KEY (`Category_id4`) REFERENCES `vehicle_category4` (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `vehicle`
--

LOCK TABLES `vehicle` WRITE;
/*!40000 ALTER TABLE `vehicle` DISABLE KEYS */;
INSERT INTO `vehicle` VALUES (1,'MAN','BK 1937 IE',6,842020656,0,'',1,NULL,1,'',NULL,NULL,19,NULL,NULL,0,0,0),(2,'MAN','BK 1924 IE',6,842281273,0,'',1,NULL,1,'',NULL,NULL,19,NULL,NULL,0,0,0);
/*!40000 ALTER TABLE `vehicle` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `vehicle_category`
--

DROP TABLE IF EXISTS `vehicle_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vehicle_category` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(50) NOT NULL COMMENT 'Категория транспортного средства',
  `Tonnage` decimal(10,3) NOT NULL DEFAULT '0.000' COMMENT 'Грузоподъемность,  тонн',
  `FuelNormMoving` double NOT NULL DEFAULT '0' COMMENT 'норма расхода топлива в движении л/100 км',
  `FuelNormParking` double NOT NULL DEFAULT '0' COMMENT 'норма расхода топлива на холостых оборотах л/час',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `vehicle_category`
--

LOCK TABLES `vehicle_category` WRITE;
/*!40000 ALTER TABLE `vehicle_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `vehicle_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `vehicle_category2`
--

DROP TABLE IF EXISTS `vehicle_category2`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vehicle_category2` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(255) NOT NULL COMMENT 'Категория2 транспортного средства',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `vehicle_category2`
--

LOCK TABLES `vehicle_category2` WRITE;
/*!40000 ALTER TABLE `vehicle_category2` DISABLE KEYS */;
/*!40000 ALTER TABLE `vehicle_category2` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `vehicle_category3`
--

DROP TABLE IF EXISTS `vehicle_category3`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vehicle_category3` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(255) NOT NULL COMMENT 'Категория3 транспортного средства',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `vehicle_category3`
--

LOCK TABLES `vehicle_category3` WRITE;
/*!40000 ALTER TABLE `vehicle_category3` DISABLE KEYS */;
/*!40000 ALTER TABLE `vehicle_category3` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `vehicle_category4`
--

DROP TABLE IF EXISTS `vehicle_category4`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vehicle_category4` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(255) NOT NULL COMMENT 'Категория4 транспортного средства',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `vehicle_category4`
--

LOCK TABLES `vehicle_category4` WRITE;
/*!40000 ALTER TABLE `vehicle_category4` DISABLE KEYS */;
/*!40000 ALTER TABLE `vehicle_category4` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `vehicle_commentary`
--

DROP TABLE IF EXISTS `vehicle_commentary`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vehicle_commentary` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Comment` varchar(255) DEFAULT NULL,
  `Mobitel_id` int(11) NOT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Комментарий для машины';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `vehicle_commentary`
--

LOCK TABLES `vehicle_commentary` WRITE;
/*!40000 ALTER TABLE `vehicle_commentary` DISABLE KEYS */;
/*!40000 ALTER TABLE `vehicle_commentary` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ver`
--

DROP TABLE IF EXISTS `ver`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ver` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `Num` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Номер текущей сборки БД',
  `Desc` text NOT NULL COMMENT 'Описание текущей сборки БД',
  `time` datetime DEFAULT NULL COMMENT 'Время обновления',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ver`
--

LOCK TABLES `ver` WRITE;
/*!40000 ALTER TABLE `ver` DISABLE KEYS */;
INSERT INTO `ver` VALUES (1,1,'Сборка от 9.12.2008','2008-12-09 00:00:00'),(2,2,'Сборка от 10.02.2009','2009-02-10 00:00:00');
/*!40000 ALTER TABLE `ver` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zone_category`
--

DROP TABLE IF EXISTS `zone_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `zone_category` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(255) DEFAULT NULL COMMENT 'Категория зоны',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Категории для зон';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zone_category`
--

LOCK TABLES `zone_category` WRITE;
/*!40000 ALTER TABLE `zone_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `zone_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zone_category2`
--

DROP TABLE IF EXISTS `zone_category2`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `zone_category2` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(255) DEFAULT NULL COMMENT 'Категория2 зоны',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=cp1251 COMMENT='Категории2 для зон';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zone_category2`
--

LOCK TABLES `zone_category2` WRITE;
/*!40000 ALTER TABLE `zone_category2` DISABLE KEYS */;
/*!40000 ALTER TABLE `zone_category2` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zonerelations`
--

DROP TABLE IF EXISTS `zonerelations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `zonerelations` (
  `ZoneRelation_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Zone_ID` int(11) DEFAULT '0',
  `ConfigZoneSet_ID` int(11) DEFAULT '0',
  `In_flag` tinyint(4) NOT NULL DEFAULT '0',
  `Out_flag` tinyint(4) NOT NULL DEFAULT '0',
  `In_flag2` tinyint(4) NOT NULL DEFAULT '0',
  `Out_flag2` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ZoneRelation_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=222 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zonerelations`
--

LOCK TABLES `zonerelations` WRITE;
/*!40000 ALTER TABLE `zonerelations` DISABLE KEYS */;
/*!40000 ALTER TABLE `zonerelations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zones`
--

DROP TABLE IF EXISTS `zones`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `zones` (
  `Zone_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(50) DEFAULT NULL,
  `Descr` text,
  `ID` int(11) DEFAULT '0',
  `Status` tinyint(4) DEFAULT '0',
  `Square` double(14,5) DEFAULT '0.00000' COMMENT 'Площадь контрольной зоны',
  `ZoneColor` int(11) DEFAULT '0' COMMENT 'Цвет контрольной зоны',
  `TextColor` int(11) DEFAULT '0' COMMENT 'Цвет подписи контрольной зоны',
  `TextFontName` char(50) DEFAULT 'Microsoft Sans Serif' COMMENT 'Шрирфт подписи контрольной зоны',
  `TextFontSize` double(5,2) DEFAULT '25.00' COMMENT 'Размер шрирфта подписи контрольной зоны',
  `TextFontParams` char(8) DEFAULT '0;0;0;0;' COMMENT 'Параметры шрирфта подписи контрольной зоны',
  `Icon` blob COMMENT 'Иконка контрольной зоны',
  `HatchStyle` int(11) DEFAULT '0' COMMENT 'Текстура контрольной зоны',
  `DateCreate` datetime DEFAULT NULL COMMENT 'Дата создания',
  `Id_main` int(11) DEFAULT '0' COMMENT 'Ссылка на элемент верхнего уровня в иерархии',
  `Level` tinyint(4) DEFAULT '1' COMMENT 'Уровень в иерархии',
  `StyleId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'ID стиля зоны',
  `ZonesGroupId` int(10) unsigned NOT NULL DEFAULT '1' COMMENT 'ID Группы зон',
  `OutLinkId` varchar(20) DEFAULT NULL COMMENT 'Код внешней базы',
  `Category_id` int(11) DEFAULT NULL COMMENT 'Категория для зоны',
  `Category_id2` int(11) DEFAULT NULL COMMENT 'Категория2 для зоны',
  PRIMARY KEY (`Zone_ID`),
  KEY `FK_zones_zonesgroup` (`ZonesGroupId`),
  CONSTRAINT `FK_zones_zonesgroup` FOREIGN KEY (`ZonesGroupId`) REFERENCES `zonesgroup` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zones`
--

LOCK TABLES `zones` WRITE;
/*!40000 ALTER TABLE `zones` DISABLE KEYS */;
/*!40000 ALTER TABLE `zones` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zonesgroup`
--

DROP TABLE IF EXISTS `zonesgroup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `zonesgroup` (
  `Id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `Title` varchar(50) NOT NULL,
  `Description` varchar(200) NOT NULL,
  `OutLinkId` varchar(20) DEFAULT NULL COMMENT 'Код внешней базы',
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=cp1251;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zonesgroup`
--

LOCK TABLES `zonesgroup` WRITE;
/*!40000 ALTER TABLE `zonesgroup` DISABLE KEYS */;
INSERT INTO `zonesgroup` VALUES (1,'Все зоны','НЕ УДАЛЯТЬ! Корневой элемент дерева контрольных зон',NULL);
/*!40000 ALTER TABLE `zonesgroup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping events for database 'zhnyva_peremogy'
--

--
-- Dumping routines for database 'zhnyva_peremogy'
--
/*!50003 DROP PROCEDURE IF EXISTS `BMCTransferBuffer` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `BMCTransferBuffer`(IN DatagpsIsUpdated INT, IN Datagps64IsUpdated INT)
    COMMENT 'Обновление online* для BMC'
BEGIN
	DECLARE MobitelID INT;
	DECLARE done INT DEFAULT FALSE;
	DECLARE CursorMobitels CURSOR FOR SELECT Mobitel_ID FROM datagpsbuffer_bmc WHERE `Online`=1;
	DECLARE CursorMobitels64 CURSOR FOR SELECT Mobitel_ID FROM datagpsbuffer_bmc64 WHERE `Online`=1;
	DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;
    
	/* datagps */
	IF DatagpsIsUpdated THEN
		OPEN CursorMobitels;
		read_loop: LOOP
			FETCH CursorMobitels INTO MobitelID;
			IF done THEN
				LEAVE read_loop;
			END IF;
			DELETE FROM `online` WHERE Mobitel_ID=MobitelID AND UnixTime <= (SELECT COALESCE(UnixTime, 0) FROM (SELECT UnixTime FROM `online` WHERE Mobitel_ID=MobitelID ORDER BY UnixTime DESC LIMIT 100, 1) o);
		END LOOP;
		CLOSE CursorMobitels;
		UPDATE mobitels m,datagpsbuffer_bmc b SET m.LastInsertTime=b.UnixTime WHERE m.Mobitel_ID=b.Mobitel_ID AND m.LastInsertTime<b.UnixTime;
	END IF;
	/* datagps64 */
	IF Datagps64IsUpdated THEN
		OPEN CursorMobitels64;
		read_loop: LOOP
			FETCH CursorMobitels64 INTO MobitelID;
			IF done THEN
				LEAVE read_loop;
			END IF;
			DELETE FROM `online64` WHERE Mobitel_ID=MobitelID AND UnixTime <= (SELECT COALESCE(UnixTime, 0) FROM (SELECT UnixTime FROM `online64` WHERE Mobitel_ID=MobitelID ORDER BY UnixTime DESC LIMIT 100, 1) o);
		END LOOP;
		CLOSE CursorMobitels64;
		UPDATE mobitels m,datagpsbuffer_bmc64 b SET m.LastInsertTime=b.UnixTime WHERE m.Mobitel_ID=b.Mobitel_ID AND m.LastInsertTime<b.UnixTime;
	END IF;
END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `CheckOdo` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `CheckOdo`(IN m_id INTEGER(11), IN end_time DATETIME)
    SQL SECURITY INVOKER
BEGIN

  SELECT 

   FROM_UNIXTIME(datagps.UnixTime) AS `time` ,

   (datagps.Latitude / 600000.00000) AS Lat,

   (datagps.Longitude / 600000.00000) AS Lon

  FROM

    datagps

  WHERE

    datagps.Mobitel_ID = m_id AND 

    datagps.UnixTime BETWEEN (SELECT UNIX_TIMESTAMP(odoTime)  FROM vehicle WHERE Mobitel_id = m_id) AND 

    UNIX_TIMESTAMP(end_time) AND 

    Valid = 1;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `CleaningDataGpsLostOn` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `CleaningDataGpsLostOn`()
    SQL SECURITY INVOKER
    COMMENT 'Сия процедура удаляет не корректно оформленные диапазоны пропусков из таблицы datagpslost_on'
BEGIN

  /* удаляем записи у которых BeginSrvPacketId >= EndSrvPacketId */

  DELETE d FROM datagpslost_on d WHERE d.Begin_SrvPacketID >= d.End_SrvPacketID;

  /* удаляем записи у которых EndLogId - BeginLogId <= 1 */

  DELETE d FROM datagpslost_on d WHERE d.End_LogID - d.Begin_LogID <= 1;

  /* удаляем записи которые с заданным LogId и SrvPackId отсутвут в таблице datagps или datagps64 (фантомные записи) */



  CREATE TEMPORARY TABLE MobiTemp (Id bigint(20) UNSIGNED DEFAULT 0)ENGINE = INNODB

    CHARACTER SET cp1251

    COLLATE cp1251_general_ci

    COMMENT = 'Промежуточная временная таблица';



  INSERT INTO MobiTemp SELECT d.Id FROM datagpslost_on d WHERE 

  NOT EXISTS(SELECT NULL FROM datagps d1 WHERE (d.Mobitel_ID = d1.Mobitel_ID) AND ((d.Begin_LogID = d1.LogID) AND (d.Begin_SrvPacketID = d1.SrvPacketID))) AND 

  NOT EXISTS(SELECT NULL FROM datagps64 d2 WHERE (d.Mobitel_ID = d2.Mobitel_ID) AND ((d.Begin_LogID = d2.LogID) AND (d.Begin_SrvPacketID = d2.SrvPacketID))); 

  DELETE d FROM datagpslost_on d, MobiTemp m WHERE m.Id = d.Id;



  TRUNCATE MobiTemp;



  INSERT INTO MobiTemp SELECT d.Id FROM datagpslost_on d WHERE 

  NOT EXISTS(SELECT NULL FROM datagps d1 WHERE (d.Mobitel_ID = d1.Mobitel_ID) AND ((d.End_LogID = d1.LogID) AND (d.End_SrvPacketID = d1.SrvPacketID))) AND 

  NOT EXISTS(SELECT NULL FROM datagps64 d2 WHERE (d.Mobitel_ID = d2.Mobitel_ID) AND ((d.End_LogID = d2.LogID) AND (d.End_SrvPacketID = d2.SrvPacketID))); 

  DELETE d FROM datagpslost_on d, MobiTemp m WHERE m.Id = d.Id;



  DROP TEMPORARY TABLE MobiTemp;



  SELECT 1;

  

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `dataview` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `dataview`(

  IN m_id INTEGER(11), 

  IN val BOOL, 

  IN begin_time DATETIME, 

  IN end_time DATETIME)
    SQL SECURITY INVOKER
BEGIN

  SELECT DataGps_ID AS DataGps_ID,

    Mobitel_ID AS Mobitel_ID,

    ((Latitude * 1.0000) / 600000) AS Lat,

    ((Longitude * 1.0000) / 600000) AS Lon,

    Altitude AS Altitude,

    FROM_UNIXTIME(UnixTime) AS `time`,

    (Speed * 1.852) AS speed,

    ((Direction * 360) / 255) AS direction,

    Valid AS Valid,

    (Sensor8 + (Sensor7 << 8) + (Sensor6 << 16) + 

      (Sensor5 << 24) + (Sensor4 << 32) + (Sensor3 << 40) + 

      (Sensor2 << 48) + (Sensor1 << 56)) AS sensor,

    Events AS Events,

    LogID AS LogID 

  FROM datagps 

  WHERE Mobitel_ID = m_id AND  

    (UnixTime BETWEEN UNIX_TIMESTAMP(begin_time) AND UNIX_TIMESTAMP(end_time)) AND                                                                                                                                

    (Valid = val) AND NOT (Latitude = 0 AND Longitude =0)

  ORDER BY UnixTime;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `delDupSrvPacket` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `delDupSrvPacket`()
    SQL SECURITY INVOKER
    COMMENT 'Удаляет дубликаты SrvPacketID из таблицы datagpsbuffer_on64'
BEGIN

DROP TEMPORARY TABLE IF EXISTS tmp64;

DROP TABLE IF EXISTS tmp64;



CREATE TEMPORARY TABLE tmp64 SELECT Mobitel_ID,

  Latitude,

  Longitude,

  Direction,

  Acceleration,

  UnixTime,

  Speed,

  Valid,

  Satellites,

  RssiGsm,

  `Events`,

  SensorsSet,

  Sensors,

  Voltage,

  DGPS,

  LogID,

  SrvPacketID

FROM datagpsbuffer_on64 d

GROUP BY d.SrvPacketID;



  TRUNCATE TABLE datagpsbuffer_on64;



  INSERT INTO datagpsbuffer_on64 SELECT Mobitel_ID,

  Latitude,

  Longitude,

  Direction,

  Acceleration,

  UnixTime,

  Speed,

  Valid,

  Satellites,

  RssiGsm,

  `Events`,

  SensorsSet,

  Sensors,

  Voltage,

  DGPS,

  LogID,

  SrvPacketID

FROM tmp64 d;



DROP TEMPORARY TABLE IF EXISTS tmp64;

DROP TABLE IF EXISTS tmp64;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `getDiapasone` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `getDiapasone`(

  IN mobile INTEGER(11),  

  IN prevLogId int, 

  IN currLogId int)
    SQL SECURITY INVOKER
BEGIN

  SELECT DataGps_ID AS DataGps_ID,

    Mobitel_ID AS Mobitel_ID,

    ((Latitude * 1.0000) / 600000) AS Lat,

    ((Longitude * 1.0000) / 600000) AS Lon,

    Altitude AS Altitude,

    FROM_UNIXTIME(UnixTime) AS `time`,

    (Speed * 1.852) AS speed,

    ((Direction * 360) / 255) AS direction,

    Valid AS Valid,

    (Sensor8 + (Sensor7 << 8) + (Sensor6 << 16) + 

      (Sensor5 << 24) + (Sensor4 << 32) + (Sensor3 << 40) + 

      (Sensor2 << 48) + (Sensor1 << 56)) AS sensor,

    Events AS Events,

    LogID AS LogID, 

    SrvPacketID AS srvPack

  FROM datagps 

  WHERE Mobitel_ID = mobile AND  Valid = 1 AND  

    (LogID BETWEEN prevLogId AND currLogId) ORDER BY UnixTime;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `getDiapasone64` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `getDiapasone64`(

  IN mobile INTEGER(11),  

  IN prevLogId int, 

  IN currLogId int)
    SQL SECURITY INVOKER
BEGIN

  SELECT  DataGps_ID, Mobitel_ID,

    ((Latitude * 1.000) / 10000000) AS Lat,

    ((Longitude * 1.000) / 10000000) AS Lng,

    Acceleration , 

    FROM_UNIXTIME(UnixTime) AS `time` , 

    Speed /10 AS Speed, 

    Valid,

    Sensors AS sensor, 

  `Events`, 

  LogID ,

  Voltage,

  DGPS,

  Direction,

  Satellites,

  SensorsSet,

  RssiGsm,

  SrvPacketID AS srvPack FROM datagps64 d WHERE Mobitel_ID = mobile AND d.Valid = 1 AND  

    (LogID BETWEEN prevLogId AND currLogId) ORDER BY UnixTime;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `hystoryOnline` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `hystoryOnline`(IN id INTEGER(11))
    SQL SECURITY INVOKER
BEGIN

  SELECT LogID, Mobitel_Id, 

    FROM_UNIXTIME(unixtime)  AS `time`,

    ROUND((Latitude / 600000.00000), 6) AS Lat,

    ROUND((Longitude / 600000.00000), 6)  AS Lon,

    Altitude  AS Altitude,

    (Speed * 1.852) AS speed,

    ((Direction * 360) / 255) AS direction,

    Valid AS Valid,

    (Sensor8 + (Sensor7 << 8) + (Sensor6 << 16) + 

      (Sensor5 << 24) + (Sensor4 << 32) + (Sensor3 << 40) + 

      (Sensor2 << 48) + (Sensor1 << 56)) AS sensor,

    Events AS Events,

    DataGPS_ID  AS 'DataGPS_ID'

  FROM online

  WHERE  datagps_id > id

  ORDER BY datagps_id DESC;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnCorrectInfotrackLogId` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnCorrectInfotrackLogId`()
    SQL SECURITY INVOKER
    COMMENT 'Корректировка значений LogId и InMobitelID в данных инфотреков'
BEGIN

  DECLARE MobitelIDInCursor INT; /* Текущее значение MobitelID */

  DECLARE DataExists TINYINT DEFAULT 1; /* Флаг наличия данных после фетча */

  DECLARE MaxLogId INT DEFAULT 0; /* Максимальный LogId для данного дивайса */

  DECLARE SrvPacketIDInCursor BIGINT DEFAULT 0; /* Текущее значение серверного пакета */

    

  /* Курсор по инфотрекам в множестве новых данных. 

     Все инфотреки начинаются с буквы I */

  DECLARE CursorInfoTrack CURSOR FOR

    SELECT DISTINCT buf.Mobitel_ID

    FROM datagpsbuffer_on buf 

      JOIN mobitels m ON (buf.mobitel_id = m.mobitel_id)

      JOIN internalmobitelconfig c ON (c.ID = m.InternalMobitelConfig_ID)

    WHERE (c.InternalMobitelConfig_ID = (

      SELECT intConf.InternalMobitelConfig_ID

      FROM internalmobitelconfig intConf

      WHERE (intConf.ID = c.ID) 

      ORDER BY intConf.InternalMobitelConfig_ID DESC

      LIMIT 1)) AND 

      (c.devIdShort LIKE "I%") AND (buf.LogId = 0)

    ORDER BY 1;

    

  /* Курсор по данным телетрека */

  DECLARE CursorInfoTrackUpdateSet CURSOR FOR

    SELECT SrvPacketID 

    FROM datagpsbuffer_on

    WHERE (Mobitel_ID = MobitelIDInCursor) AND (LogId = 0)

    ORDER BY UnixTime;  



  /* Обработчик отсутствующей записи при FETCH следующей записи */

  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;

  

  OPEN CursorInfoTrack;

  FETCH CursorInfoTrack INTO MobitelIDInCursor;

  WHILE DataExists = 1 DO

    /* Находим максимальный LogId для данного инфотрека */

    SELECT COALESCE(MAX(LogID), 0) INTO	MaxLogId

    FROM DataGps

    WHERE Mobitel_ID = MobitelIDInCursor;



    /* Обновляем LogId и InMobitelID в наборе новых данных текущего инфотрека */

    OPEN CursorInfoTrackUpdateSet;

    FETCH CursorInfoTrackUpdateSet INTO SrvPacketIDInCursor;

    WHILE DataExists = 1 DO

      SET MaxLogId = MaxLogId + 1;



      UPDATE datagpsbuffer_on

      SET LogId = MaxLogId, InMobitelID = MaxLogId

      WHERE SrvPacketID = SrvPacketIDInCursor;



      FETCH CursorInfoTrackUpdateSet INTO SrvPacketIDInCursor;

    END WHILE;

    CLOSE CursorInfoTrackUpdateSet;

 

    SET DataExists = 1;

    FETCH CursorInfoTrack INTO MobitelIDInCursor;

  END WHILE;

  CLOSE CursorInfoTrack;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnCorrectInfotrackLogId64` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnCorrectInfotrackLogId64`()
    SQL SECURITY INVOKER
    COMMENT 'РљРѕСЂСЂРµРєС‚РёСЂРѕРІРєР° Р·РЅР°С‡РµРЅРёР№ LogId Рё InMobitelID РІ РґР°РЅРЅС‹С… РёРЅС„РѕС‚СЂРµРєРѕРІ'
BEGIN

  DECLARE MobitelIDInCursor int; /* РўРµРєСѓС‰РµРµ Р·РЅР°С‡РµРЅРёРµ MobitelID */

  DECLARE DataExists tinyint DEFAULT 1; /* Р¤Р»Р°Рі РЅР°Р»РёС‡РёСЏ РґР°РЅРЅС‹С… РїРѕСЃР»Рµ С„РµС‚С‡Р° */

  DECLARE MaxLogId int DEFAULT 0; /* РњР°РєСЃРёРјР°Р»СЊРЅС‹Р№ LogId РґР»СЏ РґР°РЅРЅРѕРіРѕ РґРёРІР°Р№СЃР° */

  DECLARE SrvPacketIDInCursor bigint DEFAULT 0; /* РўРµРєСѓС‰РµРµ Р·РЅР°С‡РµРЅРёРµ СЃРµСЂРІРµСЂРЅРѕРіРѕ РїР°РєРµС‚Р° */



  /* РљСѓСЂСЃРѕСЂ РїРѕ РёРЅС„РѕС‚СЂРµРєР°Рј РІ РјРЅРѕР¶РµСЃС‚РІРµ РЅРѕРІС‹С… РґР°РЅРЅС‹С…. 

     Р’СЃРµ РёРЅС„РѕС‚СЂРµРєРё РЅР°С‡РёРЅР°СЋС‚СЃСЏ СЃ Р±СѓРєРІС‹ I */

  DECLARE CursorInfoTrack CURSOR FOR

  SELECT DISTINCT

    buf.Mobitel_ID

  FROM datagpsbuffer_on64 buf

    JOIN mobitels m

      ON (buf.mobitel_id = m.mobitel_id)

    JOIN internalmobitelconfig c

      ON (c.ID = m.InternalMobitelConfig_ID)

  WHERE (c.InternalMobitelConfig_ID = (SELECT

      intConf.InternalMobitelConfig_ID

    FROM internalmobitelconfig intConf

    WHERE (intConf.ID = c.ID)

    ORDER BY intConf.InternalMobitelConfig_ID DESC

    LIMIT 1)) AND

  (c.devIdShort LIKE "I%") AND (buf.LogId = 0)

  ORDER BY 1;



  /* РљСѓСЂСЃРѕСЂ РїРѕ РґР°РЅРЅС‹Рј С‚РµР»РµС‚СЂРµРєР° */

  DECLARE CursorInfoTrackUpdateSet CURSOR FOR

  SELECT

    SrvPacketID

  FROM datagpsbuffer_on64

  WHERE (Mobitel_ID = MobitelIDInCursor) AND (LogId = 0)

  ORDER BY UnixTime;



  /* РћР±СЂР°Р±РѕС‚С‡РёРє РѕС‚СЃСѓС‚СЃС‚РІСѓСЋС‰РµР№ Р·Р°РїРёСЃРё РїСЂРё FETCH СЃР»РµРґСѓСЋС‰РµР№ Р·Р°РїРёСЃРё */

  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;



  OPEN CursorInfoTrack;

  FETCH CursorInfoTrack INTO MobitelIDInCursor;

  WHILE DataExists = 1 DO

    /* РќР°С…РѕРґРёРј РјР°РєСЃРёРјР°Р»СЊРЅС‹Р№ LogId РґР»СЏ РґР°РЅРЅРѕРіРѕ РёРЅС„РѕС‚СЂРµРєР° */

    SELECT

      COALESCE(MAX(LogID), 0) INTO MaxLogId

    FROM DataGps

    WHERE Mobitel_ID = MobitelIDInCursor;



    /* РћР±РЅРѕРІР»СЏРµРј LogId Рё InMobitelID РІ РЅР°Р±РѕСЂРµ РЅРѕРІС‹С… РґР°РЅРЅС‹С… С‚РµРєСѓС‰РµРіРѕ РёРЅС„РѕС‚СЂРµРєР° */

    OPEN CursorInfoTrackUpdateSet;

    FETCH CursorInfoTrackUpdateSet INTO SrvPacketIDInCursor;

    WHILE DataExists = 1 DO

      SET MaxLogId = MaxLogId + 1;



      UPDATE datagpsbuffer_on64

      SET LogId = MaxLogId,

          InMobitelID = MaxLogId

      WHERE SrvPacketID = SrvPacketIDInCursor;



      FETCH CursorInfoTrackUpdateSet INTO SrvPacketIDInCursor;

    END WHILE;

    CLOSE CursorInfoTrackUpdateSet;



    SET DataExists = 1;

    FETCH CursorInfoTrack INTO MobitelIDInCursor;

  END WHILE;

  CLOSE CursorInfoTrack;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnDeleteDuplicates` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnDeleteDuplicates`()
    SQL SECURITY INVOKER
    COMMENT 'Удаление повторяющихся строк из datagpsbuffer_on'
BEGIN

  /* Удаляет дубликаты строк из таблицы datagpsbuffer_on. Критерием поиска

   являются одинаковые значения в полях Mobitel_Id + LogID. Из множества

   повторяющихся записей в таблице datagpsbuffer_on останется только одна - 

   последняя принятая телематическим сервером, т.е. с максимальным SrvPacketID. */

   

  /* Текущий MobitelId в курсоре CursorDuplicateGroups */

  DECLARE MobitelIdInCursor INT DEFAULT 0; 

  /* Текущий LogID в курсоре CursorDuplicateGroups */

  DECLARE LogIdInCursor INT DEFAULT 0; 

  /* Max SrvPacketId в множестве строк текущей группы дубликатов */

  DECLARE MaxSrvPacketId BIGINT DEFAULT 0; 

  DECLARE DataExists TINYINT DEFAULT 1;



  /* Курсор для прохода по всем группам дубликатов */  

  DECLARE CursorDuplicateGroups CURSOR FOR

    SELECT Mobitel_Id, LogId 

    FROM datagpsbuffer_on

    GROUP BY Mobitel_Id, LogId 

    HAVING COUNT(LogId) > 1;

    

  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;



  SET DataExists = 1;

  OPEN CursorDuplicateGroups;

  FETCH CursorDuplicateGroups INTO MobitelIdInCursor, LogIdInCursor;

  WHILE DataExists = 1 DO

    SELECT MAX(SrvPacketID) INTO MaxSrvPacketId

    FROM datagpsbuffer_on 

    WHERE (Mobitel_ID = MobitelIdInCursor) AND (LogId = LogIdInCursor);

         

    DELETE FROM datagpsbuffer_on  

    WHERE (Mobitel_ID = MobitelIdInCursor) AND (LogId = LogIdInCursor) 

      AND (SrvPacketID < MaxSrvPacketId);

        

    FETCH CursorDuplicateGroups INTO MobitelIdInCursor, LogIdInCursor;

  END WHILE;

  CLOSE CursorDuplicateGroups; 

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnDeleteDuplicates64` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnDeleteDuplicates64`()
    SQL SECURITY INVOKER
    COMMENT 'РЈРґР°Р»РµРЅРёРµ РїРѕРІС‚РѕСЂСЏСЋС‰РёС…СЃСЏ СЃС‚СЂРѕРє РёР· datagpsbuffer_on64'
BEGIN

  /* РЈРґР°Р»СЏРµС‚ РґСѓР±Р»РёРєР°С‚С‹ СЃС‚СЂРѕРє РёР· С‚Р°Р±Р»РёС†С‹ datagpsbuffer_on64. РљСЂРёС‚РµСЂРёРµРј РїРѕРёСЃРєР°

   СЏРІР»СЏСЋС‚СЃСЏ РѕРґРёРЅР°РєРѕРІС‹Рµ Р·РЅР°С‡РµРЅРёСЏ РІ РїРѕР»СЏС… Mobitel_Id + LogID. РР· РјРЅРѕР¶РµСЃС‚РІР°

   РїРѕРІС‚РѕСЂСЏСЋС‰РёС…СЃСЏ Р·Р°РїРёСЃРµР№ РІ С‚Р°Р±Р»РёС†Рµ datagpsbuffer_on64 РѕСЃС‚Р°РЅРµС‚СЃСЏ С‚РѕР»СЊРєРѕ РѕРґРЅР° - 

   РїРѕСЃР»РµРґРЅСЏСЏ РїСЂРёРЅСЏС‚Р°СЏ С‚РµР»РµРјР°С‚РёС‡РµСЃРєРёРј СЃРµСЂРІРµСЂРѕРј, С‚.Рµ. СЃ РјР°РєСЃРёРјР°Р»СЊРЅС‹Рј SrvPacketID. */



  /* РўРµРєСѓС‰РёР№ MobitelId РІ РєСѓСЂСЃРѕСЂРµ CursorDuplicateGroups */

  DECLARE MobitelIdInCursor int DEFAULT 0;

  /* РўРµРєСѓС‰РёР№ LogID РІ РєСѓСЂСЃРѕСЂРµ CursorDuplicateGroups */

  DECLARE LogIdInCursor int DEFAULT 0;

  /* Max SrvPacketId РІ РјРЅРѕР¶РµСЃС‚РІРµ СЃС‚СЂРѕРє С‚РµРєСѓС‰РµР№ РіСЂСѓРїРїС‹ РґСѓР±Р»РёРєР°С‚РѕРІ */

  DECLARE MaxSrvPacketId bigint DEFAULT 0;

  DECLARE DataExists tinyint DEFAULT 1;



  /* РљСѓСЂСЃРѕСЂ РґР»СЏ РїСЂРѕС…РѕРґР° РїРѕ РІСЃРµРј РіСЂСѓРїРїР°Рј РґСѓР±Р»РёРєР°С‚РѕРІ */

  DECLARE CursorDuplicateGroups CURSOR FOR

  SELECT

    Mobitel_Id,

    LogId

  FROM datagpsbuffer_on64

  GROUP BY Mobitel_Id,

           LogId

  HAVING COUNT(LogId) > 1;



  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;



  SET DataExists = 1;

  OPEN CursorDuplicateGroups;

  FETCH CursorDuplicateGroups INTO MobitelIdInCursor, LogIdInCursor;

  WHILE DataExists = 1 DO

    SELECT

      MAX(SrvPacketID) INTO MaxSrvPacketId

    FROM datagpsbuffer_on64

    WHERE (Mobitel_ID = MobitelIdInCursor) AND (LogId = LogIdInCursor);



    DELETE

      FROM datagpsbuffer_on64

    WHERE (Mobitel_ID = MobitelIdInCursor) AND (LogId = LogIdInCursor)

      AND (SrvPacketID < MaxSrvPacketId);



    FETCH CursorDuplicateGroups INTO MobitelIdInCursor, LogIdInCursor;

  END WHILE;

  CLOSE CursorDuplicateGroups;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnDeleteLostRange` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnDeleteLostRange`(IN MobitelID INTEGER(11), IN BeginSrvPacketID BIGINT)
    SQL SECURITY INVOKER
    COMMENT 'Удаление указанного диапазона пропусков из datagpslost_on.'
BEGIN

  /* Определяем является ли запись, предназначенная для удаления,

     первой в списке заданного телетрека. Если является - тогда

     внесем поправку в значение ConfirmedID */  

     

  DECLARE MinBeginSrvPacketID BIGINT; -- Минимальное значение Begin_SrvPacketID для данного телетрека

  DECLARE NewConfirmedID INT; -- Новое значение ConfirmedID  



  /* Нахождение минимального значения Begin_SrvPacketID */  

  SELECT MIN(Begin_SrvPacketID) INTO MinBeginSrvPacketID

  FROM datagpslost_on

  WHERE Mobitel_ID = MobitelID;

  

  /* Если есть данные о пропусках у телетрека - продолжим */

  IF MinBeginSrvPacketID IS NOT NULL THEN

    /* Если удаляем первую запись - запомним новое значение ConfirmedID */

    IF MinBeginSrvPacketID = BeginSrvPacketID  THEN

      SELECT End_LogID INTO NewConfirmedID

      FROM datagpslost_on

      WHERE (Mobitel_ID = MobitelID) AND (Begin_SrvPacketID = BeginSrvPacketID);

    END IF;

  

    /* Удаление записи */

    DELETE FROM  datagpslost_on

    WHERE (Mobitel_ID = MobitelID) AND (Begin_SrvPacketID = BeginSrvPacketID);

    

    /* Если удалили первую запись - обновим ConfirmedID */  

    IF MinBeginSrvPacketID = BeginSrvPacketID  THEN

      UPDATE mobitels

      SET ConfirmedID = NewConfirmedID

      WHERE (Mobitel_ID = MobitelID) AND (NewConfirmedID > ConfirmedID);

    END IF;

  END IF;  

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnInsertDatagpsLost` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnInsertDatagpsLost`(

  IN MobitelID INT, 

  IN BeginLogID INT, 

  IN EndLogID INT,

  IN BeginSrvPacketID BIGINT, 

  IN EndSrvPacketID BIGINT)
    SQL SECURITY INVOKER
    COMMENT 'Вставка данных в таблицу datagpslost_on.'
BEGIN

  /* Флаг существования записи с заданными Mobitel_ID и Begin_LogID

     в таблице datagpslost_on */

  DECLARE MobitelId_BeginLogID_Exists TINYINT DEFAULT 0; 

  /* Флаг существования записи с заданными Mobitel_ID и Begin_SrvPacketID

     в таблице datagpslost_on  */

  DECLARE MobitelId_BeginSrvPacketID_Exists TINYINT DEFAULT 0;

  

  DECLARE RowBeginSrvPacketID BIGINT; 

  

  IF EXISTS(

    SELECT NULL

    FROM datagpslost_on

    WHERE (Mobitel_ID = MobitelID) AND (Begin_LogID = BeginLogID))

  THEN

    SET MobitelId_BeginLogID_Exists = 1;

  END IF;



  IF EXISTS(

    SELECT NULL

    FROM datagpslost_on

    WHERE (Mobitel_ID = MobitelID) AND (Begin_SrvPacketID = BeginSrvPacketID))

  THEN

    SET MobitelId_BeginSrvPacketID_Exists = 1;

  END IF;



  IF (MobitelId_BeginLogID_Exists = 0) AND (MobitelId_BeginSrvPacketID_Exists = 0)

  THEN

    /* Вставка новой записи */

    INSERT INTO datagpslost_on(Mobitel_ID, Begin_LogID, End_LogID, Begin_SrvPacketID, End_SrvPacketID)

    VALUES (MobitelID, BeginLogID, EndLogID, BeginSrvPacketID, EndSrvPacketID);

  ELSE

    IF ((MobitelId_BeginLogID_Exists = 1) AND (MobitelId_BeginSrvPacketID_Exists = 1))

    THEN

      /* Обновление существующей записи */

      UPDATE datagpslost_on

      SET End_LogID = EndLogID, End_SrvPacketID = EndSrvPacketID

      WHERE (Mobitel_ID = MobitelID) AND (Begin_LogID = BeginLogID);

    ELSE

      /* Комбинацию MobitelId_BeginLogID_Exists = 0, MobitelId_BeginSrvPacketID_Exists = 1

         игнорируем - это исключительная ситуация, которая не должна возникать. */

      SELECT Begin_SrvPacketID

      INTO RowBeginSrvPacketID

      FROM datagpslost_on

      WHERE (Mobitel_ID = MobitelID) AND (Begin_LogID = BeginLogID)

      LIMIT 1;

      

      IF ((MobitelId_BeginLogID_Exists = 1) AND (MobitelId_BeginSrvPacketID_Exists = 0) AND

        (BeginSrvPacketID < RowBeginSrvPacketID))

      THEN

        /* В эту ветвь попадаем, если телетрек отдаст одну и ту же запись несколько раз 

           (LogID у записей один и тотже, а SrvPacketID различны) */

        UPDATE datagpslost_on

        SET End_LogID = EndLogID, Begin_SrvPacketID = BeginSrvPacketID, End_SrvPacketID = EndSrvPacketID

        WHERE (Mobitel_ID = MobitelID) AND (Begin_LogID = BeginLogID);

      END IF;

    END IF;

  END IF;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `online` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `online`()
    SQL SECURITY INVOKER
BEGIN

  SELECT Log_ID, MobitelId, 

    (SELECT DataGPS_ID

    FROM `online` 

    WHERE mobitel_id = MobitelId AND LogId = Log_ID Limit 1) AS 'DataGPS_ID',

      (SELECT from_unixtime(unixtime) 

      FROM `online` 

      WHERE mobitel_id = MobitelId AND LogId = Log_ID Limit 1) AS 'time',

        (SELECT ROUND((`Latitude` / 600000.00000),6)

        FROM `online` 

        WHERE mobitel_id = MobitelId AND LogId = Log_ID Limit 1) AS `Lat`,

          (SELECT ROUND((`Longitude` / 600000.00000),6) 

          FROM `online` 

          WHERE mobitel_id = MobitelId AND LogId = Log_ID Limit 1) AS `Lon`,

            (SELECT `Altitude` 

            FROM `online` 

            WHERE mobitel_id = MobitelId AND LogId = Log_ID Limit 1) AS `Altitude`,

              (SELECT (`Speed` * 1.852)

              FROM `online` 

              WHERE mobitel_id = MobitelId AND LogId = Log_ID Limit 1) AS `speed`,

                (SELECT ((`Direction` * 360) / 255)

                FROM `online` 

                WHERE mobitel_id = MobitelId AND LogId = Log_ID Limit 1) AS `direction`,

                  (SELECT `Valid`

                  FROM `online` 

                  WHERE mobitel_id = MobitelId AND LogId = Log_ID Limit 1) AS `Valid`,

                    (SELECT (((((((`Sensor8` + 

                    (`Sensor7` << 8)) + 

                    (`Sensor6` << 16)) + 

                    (`Sensor5` << 24)) + 

                    (`Sensor4` << 32)) + 

                    (`Sensor3` << 40)) + 

                    (`Sensor2` << 48)) + 

                    (`Sensor1` << 56)) 

                    FROM `online` 

                    WHERE mobitel_id = MobitelId AND LogId = Log_ID Limit 1) AS `sensor`,

                      (SELECT `Events`

                      FROM `online` 

                      WHERE mobitel_id = MobitelId AND LogId = Log_ID Limit 1) AS `Events`

   

  FROM (SELECT MAX(`LogID`) AS `Log_ID`, mobitel_id AS MobitelId

        FROM `online` 

        GROUP BY `Mobitel_ID`) T1;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnListMobitelConfig` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnListMobitelConfig`()
    SQL SECURITY INVOKER
    COMMENT 'Выборка настроек телетреков которые могут работать в online режиме'
BEGIN

  DECLARE MobitelIDInCursor INT;

  DECLARE DevIdShortInCursor CHAR(4);

  DECLARE DataExists TINYINT DEFAULT 1;



  /* Курсор в множестве настроенных телетреков */

  DECLARE CursorMobitels CURSOR FOR

    SELECT m.Mobitel_ID AS MobitelID, c.devIdShort AS DevIdShort

    FROM mobitels m

      JOIN internalmobitelconfig c ON (c.ID = m.InternalMobitelConfig_ID)

    WHERE (c.InternalMobitelConfig_ID = (

      SELECT intConf.InternalMobitelConfig_ID

      FROM internalmobitelconfig intConf

      WHERE (intConf.ID = c.ID)

      ORDER BY intConf.InternalMobitelConfig_ID DESC

      LIMIT 1)) AND

      (c.devIdShort IS NOT NULL) AND (c.devIdShort <> _cp1251'')

    ORDER BY m.Mobitel_ID;



  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;



  /* Временная таблица настроек телетрека */

  CREATE TEMPORARY TABLE tmpMobitelsConfig (

    MobitelID INT NOT NULL,

    DevIdShort CHAR(4) NOT NULL,

    LastPacketID BIGINT NOT NULL) ENGINE = MEMORY;



  OPEN CursorMobitels;

  FETCH CursorMobitels INTO MobitelIDInCursor, DevIdShortInCursor;

  WHILE DataExists = 1 DO



    INSERT INTO tmpMobitelsConfig SELECT MobitelIDInCursor, DevIdShortInCursor,

      (SELECT COALESCE(MAX(SrvPacketID), 0)

       FROM datagps

       WHERE Mobitel_ID = MobitelIDInCursor) AS LastPacketID;



    FETCH CursorMobitels INTO MobitelIDInCursor, DevIdShortInCursor;

  END WHILE;

  CLOSE CursorMobitels;



  SELECT MobitelID, DevIdShort, LastPacketID

  FROM tmpMobitelsConfig;



  DROP TEMPORARY TABLE tmpMobitelsConfig;  

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnListMobitelConfig64` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnListMobitelConfig64`()
    SQL SECURITY INVOKER
    COMMENT 'Выборка настроек телетреков которые могут работать в online режиме для datagps и datagps64'
BEGIN

  DECLARE MobitelIDInCursor INT;

  DECLARE Is64Cursor tinyint;

  DECLARE DevIdShortInCursor CHAR(4);

  DECLARE DataExists TINYINT DEFAULT 1;



  /* Курсор в множестве настроенных телетреков */

  DECLARE CursorMobitels CURSOR FOR

    SELECT m.Mobitel_ID AS MobitelID, m.Is64bitPackets AS Is64, c.devIdShort AS DevIdShort

    FROM mobitels m

      JOIN internalmobitelconfig c ON (c.ID = m.InternalMobitelConfig_ID)

    WHERE (c.InternalMobitelConfig_ID = (

      SELECT intConf.InternalMobitelConfig_ID

      FROM internalmobitelconfig intConf

      WHERE (intConf.ID = c.ID)

      ORDER BY intConf.InternalMobitelConfig_ID DESC

      LIMIT 1)) AND

      (c.devIdShort IS NOT NULL) AND (c.devIdShort <> _cp1251'')

    ORDER BY m.Mobitel_ID;



  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;



  /* Временная таблица настроек телетрека */

  CREATE TEMPORARY TABLE tmpMobitelsConfig (

    MobitelID INT NOT NULL,

    Is64 tinyint NOT NULL,

    DevIdShort CHAR(4) NOT NULL,

    LastPacketID BIGINT NOT NULL,

    LastPacketID64 BIGINT NOT NULL) ENGINE = MEMORY;



  OPEN CursorMobitels;

  FETCH CursorMobitels INTO MobitelIDInCursor, Is64Cursor, DevIdShortInCursor;

  WHILE DataExists = 1 DO



    INSERT INTO tmpMobitelsConfig SELECT MobitelIDInCursor, Is64Cursor, DevIdShortInCursor,

      (SELECT COALESCE(MAX(d.SrvPacketID), 0)

       FROM datagps d

       WHERE d.Mobitel_ID = MobitelIDInCursor) AS LastPacketID,

      (SELECT COALESCE(MAX(t.SrvPacketID), 0)

       FROM datagps64 t

       WHERE t.Mobitel_ID = MobitelIDInCursor) AS LastPacketID64;



    FETCH CursorMobitels INTO MobitelIDInCursor, Is64Cursor, DevIdShortInCursor;

  END WHILE;

  CLOSE CursorMobitels;



  SELECT MobitelID, Is64, DevIdShort, LastPacketID, LastPacketID64

  FROM tmpMobitelsConfig;



  DROP TEMPORARY TABLE tmpMobitelsConfig;

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnLostDataGPS` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnLostDataGPS`(IN MobitelID INTEGER(11), OUT NeedOptimize TINYINT)
    SQL SECURITY INVOKER
    COMMENT 'Поиск пропусков в online данных заданного телетрека и заполнение таблиц.'
BEGIN



  /********** DECLARE **********/

  

  DECLARE CurrentConfirmedID INT DEFAULT 0; /* Текущее значение ConfirmedID */

  DECLARE NewConfirmedID INT DEFAULT 0; /* Новое значение ConfirmedID */

  DECLARE StartLogIDSelect INT DEFAULT 0; /* min LogID для выборки */

  DECLARE FinishLogIDSelect INT DEFAULT 0; /* max LogID для выборки */

  DECLARE MaxEndLogID INT DEFAULT 0; /* max End_LogID в пропущенных диапазонах данного телетрека */

  

  DECLARE MinLogID_n INT DEFAULT 0; /* Минимальный LogID после ConfirmedID в множестве новых данных */

  DECLARE MaxLogID_n INT DEFAULT 0; /* Максимальный LogID в множестве новых данных */

  

  DECLARE DataExists TINYINT DEFAULT 1; /* Флаг наличия данных после фетча */

    

  DECLARE NewLogID INT; /* Значение LogID в курсоре CursorNewLogID */

  DECLARE NewSrvPacketID BIGINT; /* Значение SrvPacketID в курсоре CursorNewLogID */

  DECLARE FirstLogID INT DEFAULT -9999999; /* Первое значение LogID для анализа */

  DECLARE SecondLogID INT; /* Второе значение LogID для анализа */

  DECLARE FirstSrvPacketID BIGINT; /* Первое значение SrvPacketID */

  DECLARE SecondSrvPacketID BIGINT; /* Второе значение SrvPacketID */

  

  DECLARE tmpSrvPacketID BIGINT DEFAULT 0; /* Значение SrvPacketID для первой искусственной записи в анализе новых данных, не пересекающихся с существующими */  

  

  /* Курсор для прохода по новым LogID */

  DECLARE CursorNewLogID CURSOR FOR

    SELECT LogID, SrvPacketID 

    FROM datagpslost_ontmp;

    

  /* Обработчик отсутствующей записи при FETCH следующей записи */

  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;

  

  /********** END DECLARE **********/



  SET NeedOptimize = 0;

 

  SELECT COALESCE(ConfirmedID, 0) INTO CurrentConfirmedID

  FROM mobitels

  WHERE Mobitel_ID = MobitelID;



  /* Минимальный LogID в новом наборе данных c которым будем работать */

  SELECT MIN(LogID) INTO MinLogID_n

  FROM datagpsbuffer_on

  WHERE (Mobitel_ID = MobitelID) AND (LogID > CurrentConfirmedID);

  

  /* Максимальный LogID в новом наборе данных c которым будем работать */

  SELECT MAX(LogID) INTO MaxLogID_n

  FROM datagpsbuffer_on 

  WHERE Mobitel_ID = MobitelID;  

  

  /* Максимальный End_LogID в пропущенных диапазонах данного телетрека */

  SELECT COALESCE(MAX(End_LogID), 0) INTO MaxEndLogID

  FROM datagpslost_on 

  WHERE Mobitel_ID = MobitelID;  

  

  /* Проверим есть ли данные для анализа */

  IF MinLogID_n IS NOT NULL THEN

  

    /********** PREPARE **********/

    

    TRUNCATE TABLE datagpslost_ontmp;

  

    IF MinLogID_n < MaxEndLogID THEN

      /* Если  MinLogID_n < MaxEndLogID значит пришли данные, 

       которые возможно закроют часть пропусков. */

       

      /* Находим стартовый LogID для пересчета. */

      SELECT COALESCE(Begin_LogID, MinLogID_n) INTO StartLogIDSelect

      FROM datagpslost_on

      WHERE (Mobitel_ID = MobitelID) AND (MinLogID_n > Begin_LogID) 

        AND (MinLogID_n < End_LogID);

      

      /* Находим последний LogID для пересчета. */  

      SELECT COALESCE(End_LogID, MaxLogID_n) INTO FinishLogIDSelect

      FROM datagpslost_on

      WHERE (Mobitel_ID = MobitelID) AND (MaxLogID_n > Begin_LogID) 

        AND (MaxLogID_n < End_LogID);

       

      /* Удалим старые записи из реестра пропущенных записей 

         (стали неактуальными, надо пересчитать) */

      DELETE FROM datagpslost_on

      WHERE (Mobitel_ID = MobitelID) AND (Begin_LogID >= StartLogIDSelect)

        AND (Begin_LogID <= FinishLogIDSelect);

      

      /* Если первая запись LogID = 0 и этой записи нет в DataGps, тогда

         надо добавить первую фиктивную запись для анализа. */

      IF (StartLogIDSelect = 0) AND (NOT EXISTS

        (Select 1 

         FROM datagps 

         WHERE (Mobitel_ID = MobitelID) AND (LogID = StartLogIDSelect))) THEN

      

        INSERT INTO datagpslost_ontmp(LogID, SrvPacketID) VALUES (0, 0);  

      END IF;       

    ELSE

      /* Пришли новые данные. Надо добавить для анализа искусственную запись - 

         нижнюю границу */

      

      /* Находим стартовый LogID для пересчета. */

      SELECT COALESCE(MAX(End_LogID), CurrentConfirmedID) INTO StartLogIDSelect

      FROM datagpslost_on

      WHERE Mobitel_ID = MobitelID;   

         

      /* Находим последний LogID для пересчета. */  

      SELECT MAX(LogID)  INTO FinishLogIDSelect

      FROM datagpsbuffer_on

      WHERE Mobitel_ID = MobitelID;

      

      /* Выбираем из datagps соответствующее значение SrvPacketID  для первой

         искусственной записи */

      SELECT COALESCE(SrvPacketID, 0) INTO tmpSrvPacketID

      FROM datagps

      WHERE (Mobitel_ID = MobitelID) AND (LogID = StartLogIDSelect);

      

      /* Помещаем в таблицу datagpslost_ontmp для анализа пропусков 

         дополнительную первую запись */

      INSERT INTO datagpslost_ontmp(LogID, SrvPacketID)

      VALUES (StartLogIDSelect, tmpSrvPacketID);

    END IF; -- IF MinLogID_n < MaxEndLogID   

    

    /********** END PREPARE **********/

    

    /**********  INSERT ROWS **********/

    

    /* Заполнение временной таблицы последними данными телетрека

       для анализа разрывов */

    INSERT INTO datagpslost_ontmp  (LogID, SrvPacketID)

      SELECT LogID, SrvPacketID

      FROM datagps

      WHERE (Mobitel_ID = MobitelID) AND (LogID >= StartLogIDSelect)

        AND (LogID <= FinishLogIDSelect)

      ORDER BY LogID;

            

    /* Формирование команды-вставки в таблицу пропущенных диапазонов */

    SET DataExists = 1;

    OPEN CursorNewLogID;

    FETCH CursorNewLogID INTO NewLogID, NewSrvPacketID;

    WHILE DataExists = 1 DO

      IF FirstLogID = -9999999 THEN

        /* Первое значение в списке */

        SET FirstLogID = NewLogID;

        SET FirstSrvPacketID = NewSrvPacketID;

      ELSE

        /* Основная ветка расчета*/

        SET SecondLogID = NewLogID;

        SET SecondSrvPacketID = NewSrvPacketID;

        

        IF (SecondLogID - FirstLogID) > 1 THEN

          /* Найден разрыв */

          /* Из-за всяких комбинаций состояний LogId и SrvPacketId из-за особенностей работы телематического сервера

          и ТДМ вводим дополнительный анализ вставляемых записей, если запись не соответсвует указаным правилам, она 

          отбрасывается */

          IF (SecondSrvPacketID > FirstSrvPacketID) THEN

            IF EXISTS(SELECT NULL FROM datagps d WHERE (d.Mobitel_ID = MobitelID) AND ((d.LogID = FirstLogID) AND (d.SrvPacketID = FirstSrvPacketID))) THEN 

              IF EXISTS(SELECT NULL FROM datagps d WHERE (d.Mobitel_ID = MobitelID) AND ((d.LogID = SecondLogID) AND (d.SrvPacketID = SecondSrvPacketID))) THEN 



                CALL OnInsertDatagpsLost(MobitelID, FirstLogID, SecondLogID, FirstSrvPacketID, SecondSrvPacketID);

                IF NeedOptimize = 0 THEN SET NeedOptimize = 1; END IF;

                

              END IF;

            END IF;

          END IF;

        END IF;

        /* Переместим текущее второе значение на первую позицию

           для участия в следующей итерации в качестве начального значения */

        SET  FirstLogID = SecondLogID;

        SET FirstSrvPacketID = SecondSrvPacketID;

      END IF;  

      FETCH CursorNewLogID INTO NewLogID, NewSrvPacketID;

    END WHILE;

    CLOSE CursorNewLogID;

 

    /********** END INSERT ROWS **********/

               

    /********** UPDATE MOBITELS **********/

    

    /* Если пропущенных записей у данного телетрека нет - 

       тогда ConfirmedID будет равен максимальному LogID 

       данного телетрека. Иначе - минимальный Begin_LogID

       из таблицы пропусков */

    SELECT MIN(Begin_LogID) INTO NewConfirmedID

    FROM datagpslost_on

    WHERE Mobitel_ID = MobitelID;

       

    IF NewConfirmedID IS NULL THEN

      SELECT MAX(LogID) INTO NewConfirmedID

      FROM datagps

      WHERE Mobitel_ID = MobitelID;

    END IF;  

    

    /* Обновим ConfirmedID если надо */

    UPDATE mobitels

    SET ConfirmedID = NewConfirmedID

    WHERE (Mobitel_ID = MobitelID) AND (ConfirmedID < NewConfirmedID);

    

    /********** END UPDATE MOBITELS **********/

        

    TRUNCATE TABLE datagpslost_ontmp;

  END IF; -- IF MaxEndLogID IS NOT NULL  

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnLostDataGPS2` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnLostDataGPS2`(IN MobitelID INTEGER(11), OUT NeedOptimize TINYINT)
    SQL SECURITY INVOKER
    COMMENT 'Модификация диапазонов пропусков. Анализ дублирующих данных заданного телетрека.'
BEGIN

    /********** DECLARE **********/

    

  DECLARE NewConfirmedID INT DEFAULT 0; /* Новое значение ConfirmedID */

  DECLARE BeginLogID INT; /* Begin_LogID в курсоре CursorLostRanges */

  DECLARE EndLogID INT; /* End_LogID в курсоре CursorLostRanges */

  DECLARE BeginSrvPacketID BIGINT; /* Begin_SrvPacketID в курсоре CursorLostRanges */

  DECLARE EndSrvPacketID BIGINT; /* End_SrvPacketID в курсоре CursorLostRanges */

  DECLARE RowCountForAnalyze INT DEFAULT 0; /* Количество записей для анализа */

  DECLARE DataExists TINYINT DEFAULT 1; /* Флаг наличия данных после фетча */

    

  /* Курсор для прохода по диапазонам пропусков телетрека */

  DECLARE CursorLostRanges CURSOR FOR

    SELECT Begin_LogID, End_LogID, Begin_SrvPacketID, End_SrvPacketID 

    FROM datagpslost_on

    WHERE Mobitel_ID = MobitelID;    



  /* Курсор для прохода по новым LogID */

  DECLARE CursorNewLogID CURSOR FOR

    SELECT LogID, SrvPacketID 

    FROM datagpslost_ontmp

    ORDER BY SrvPacketID;    

    

  /* Обработчик отсутствующей записи при FETCH следующей записи */

  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;

  

  /********** END DECLARE **********/



  SET NeedOptimize = 0;

  

  TRUNCATE TABLE datagpslost_ontmp;

  

  /* Перебираем диапазоны и сокращаем разрывы если это возможно */

  SET DataExists = 1;

  OPEN CursorLostRanges;

  FETCH CursorLostRanges INTO BeginLogID, EndLogID, BeginSrvPacketID, EndSrvPacketID;

  WHILE DataExists = 1 DO

    /* Заполнение временной таблицы дублирующими данными телетрека

       для анализа разрывов */

    INSERT INTO datagpslost_ontmp  (LogID, SrvPacketID)

      SELECT DISTINCT LogID, SrvPacketID

      FROM datagpsbuffer_ontmp

      WHERE (Mobitel_ID = MobitelID) AND (SrvPacketID > BeginSrvPacketID)

        AND (SrvPacketID < EndSrvPacketID)

      ORDER BY SrvPacketID;

      

    /* Если есть данные модифицируем диапазон */  

    SELECT COUNT(1) INTO RowCountForAnalyze

    FROM datagpslost_ontmp;  

    

    IF RowCountForAnalyze > 0 THEN  

      /* Добавляем первую и последнюю записи для анализа */  

      INSERT INTO datagpslost_ontmp (LogID, SrvPacketID)

      VALUES (BeginLogID, BeginSrvPacketID), (EndLogID, EndSrvPacketID);

      

      /* Удаляем старый диапазон */

      DELETE FROM datagpslost_on

      WHERE (Mobitel_ID = MobitelID) AND (Begin_LogID = BeginLogID);

       

      /**********  INSERT ROWS **********/             

      BEGIN

        DECLARE NewLogID INT; /* Значение LogID в курсоре CursorNewLogID */

        DECLARE NewSrvPacketID BIGINT; /* Значение SrvPacketID в курсоре CursorNewLogID */

        DECLARE FirstLogID INT DEFAULT -9999999; /* Первое значение LogID для анализа */

        DECLARE SecondLogID INT; /* Второе значение LogID для анализа */

        DECLARE FirstSrvPacketID BIGINT; /* Первое значение SrvPacketID */

        DECLARE SecondSrvPacketID BIGINT; /* Второе значение SrvPacketID */

        

        /* Обработчик отсутствующей записи при FETCH следующей записи */

        DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;

        

        /* Формирование команды-вставки в таблицу пропущенных диапазонов */

        SET DataExists = 1;

        OPEN CursorNewLogID;

        FETCH CursorNewLogID INTO NewLogID, NewSrvPacketID;

        WHILE DataExists = 1 DO

          IF FirstLogID = -9999999 THEN

            /* Первое значение в списке */

            SET FirstLogID = NewLogID;

            SET FirstSrvPacketID = NewSrvPacketID;

          ELSE

            /* Основная ветка расчета*/

            SET SecondLogID = NewLogID;

            SET SecondSrvPacketID = NewSrvPacketID;

            

            IF (SecondLogID - FirstLogID) > 1 THEN

          /* Найден разрыв */

          /* Из-за всяких комбинаций состояний LogId и SrvPacketId из-за особенностей работы телематического сервера

          и ТДМ вводим дополнительный анализ вставляемых записей, если запись не соответсвует указаным правилам, она 

          отбрасывается */

          IF (SecondSrvPacketID > FirstSrvPacketID) THEN

            IF EXISTS(SELECT NULL FROM datagps d WHERE (d.Mobitel_ID = MobitelID) AND ((d.LogID = FirstLogID) AND (d.SrvPacketID = FirstSrvPacketID))) THEN 

              IF EXISTS(SELECT NULL FROM datagps d WHERE (d.Mobitel_ID = MobitelID) AND ((d.LogID = SecondLogID) AND (d.SrvPacketID = SecondSrvPacketID))) THEN 



                CALL OnInsertDatagpsLost(MobitelID, FirstLogID, SecondLogID, FirstSrvPacketID, SecondSrvPacketID);

                IF NeedOptimize = 0 THEN SET NeedOptimize = 1; END IF;

                

              END IF;

            END IF;

          END IF;

        END IF;

            /* Переместим текущее второе значение на первую позицию

               для участия в следующей итерации в качестве начального значения */

            SET FirstLogID = SecondLogID;

            SET FirstSrvPacketID = SecondSrvPacketID;

          END IF;  

          FETCH CursorNewLogID INTO NewLogID, NewSrvPacketID;

        END WHILE;

        CLOSE CursorNewLogID;

      END;

      /********** END INSERT ROWS **********/  



      TRUNCATE TABLE datagpslost_ontmp;

    END IF;

      

    FETCH CursorLostRanges INTO BeginLogID, EndLogID, BeginSrvPacketID, EndSrvPacketID;

  END WHILE;

  CLOSE CursorLostRanges;

  

  /********** UPDATE MOBITELS **********/

    

  /* Если пропущенных записей у данного телетрека нет - 

     тогда ConfirmedID будет равен максимальному LogID 

     данного телетрека. Иначе - минимальный Begin_LogID

     из таблицы пропусков */

  SELECT MIN(Begin_LogID) INTO NewConfirmedID

  FROM datagpslost_on

  WHERE Mobitel_ID = MobitelID;

       

  IF NewConfirmedID IS NULL THEN

    SELECT MAX(LogID) INTO NewConfirmedID

    FROM datagps

    WHERE Mobitel_ID = MobitelID;

  END IF;  

    

  /* Обновим ConfirmedID если надо */

  UPDATE mobitels

  SET ConfirmedID = NewConfirmedID

  WHERE (Mobitel_ID = MobitelID) AND (ConfirmedID < NewConfirmedID);

    

  /********** END UPDATE MOBITELS **********/

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnLostDataGPS264` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnLostDataGPS264`(IN MobitelID integer(11), OUT NeedOptimize tinyint)
    SQL SECURITY INVOKER
    COMMENT 'РњРѕРґРёС„РёРєР°С†РёСЏ РґРёР°РїР°Р·РѕРЅРѕРІ РїСЂРѕРїСѓСЃРєРѕРІ. РђРЅР°Р»РёР· РґСѓР±Р»РёСЂСѓСЋС‰РёС… РґР°РЅРЅС‹С… Р·Р°РґР°РЅРЅРѕРіРѕ С‚РµР»РµС‚СЂРµРєР°.'
BEGIN

  /********** DECLARE **********/



  DECLARE NewConfirmedID int DEFAULT 0; /* РќРѕРІРѕРµ Р·РЅР°С‡РµРЅРёРµ ConfirmedID */

  DECLARE BeginLogID int; /* Begin_LogID РІ РєСѓСЂСЃРѕСЂРµ CursorLostRanges */

  DECLARE EndLogID int; /* End_LogID РІ РєСѓСЂСЃРѕСЂРµ CursorLostRanges */

  DECLARE BeginSrvPacketID bigint; /* Begin_SrvPacketID РІ РєСѓСЂСЃРѕСЂРµ CursorLostRanges */

  DECLARE EndSrvPacketID bigint; /* End_SrvPacketID РІ РєСѓСЂСЃРѕСЂРµ CursorLostRanges */

  DECLARE RowCountForAnalyze int DEFAULT 0; /* РљРѕР»РёС‡РµСЃС‚РІРѕ Р·Р°РїРёСЃРµР№ РґР»СЏ Р°РЅР°Р»РёР·Р° */

  DECLARE DataExists tinyint DEFAULT 1; /* Р¤Р»Р°Рі РЅР°Р»РёС‡РёСЏ РґР°РЅРЅС‹С… РїРѕСЃР»Рµ С„РµС‚С‡Р° */



  /* РљСѓСЂСЃРѕСЂ РґР»СЏ РїСЂРѕС…РѕРґР° РїРѕ РґРёР°РїР°Р·РѕРЅР°Рј РїСЂРѕРїСѓСЃРєРѕРІ С‚РµР»РµС‚СЂРµРєР° */

  DECLARE CursorLostRanges CURSOR FOR

  SELECT

    Begin_LogID,

    End_LogID,

    Begin_SrvPacketID,

    End_SrvPacketID

  FROM datagpslost_on

  WHERE Mobitel_ID = MobitelID;



  /* РљСѓСЂСЃРѕСЂ РґР»СЏ РїСЂРѕС…РѕРґР° РїРѕ РЅРѕРІС‹Рј LogID */

  DECLARE CursorNewLogID CURSOR FOR

  SELECT

    LogID,

    SrvPacketID

  FROM datagpslost_ontmp

  ORDER BY SrvPacketID;



  /* РћР±СЂР°Р±РѕС‚С‡РёРє РѕС‚СЃСѓС‚СЃС‚РІСѓСЋС‰РµР№ Р·Р°РїРёСЃРё РїСЂРё FETCH СЃР»РµРґСѓСЋС‰РµР№ Р·Р°РїРёСЃРё */

  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;



  /********** END DECLARE **********/



  SET NeedOptimize = 0;



  TRUNCATE TABLE datagpslost_ontmp;



  /* РџРµСЂРµР±РёСЂР°РµРј РґРёР°РїР°Р·РѕРЅС‹ Рё СЃРѕРєСЂР°С‰Р°РµРј СЂР°Р·СЂС‹РІС‹ РµСЃР»Рё СЌС‚Рѕ РІРѕР·РјРѕР¶РЅРѕ */

  SET DataExists = 1;

  OPEN CursorLostRanges;

  FETCH CursorLostRanges INTO BeginLogID, EndLogID, BeginSrvPacketID, EndSrvPacketID;

  WHILE DataExists = 1 DO

    /* Р—Р°РїРѕР»РЅРµРЅРёРµ РІСЂРµРјРµРЅРЅРѕР№ С‚Р°Р±Р»РёС†С‹ РґСѓР±Р»РёСЂСѓСЋС‰РёРјРё РґР°РЅРЅС‹РјРё С‚РµР»РµС‚СЂРµРєР°

       РґР»СЏ Р°РЅР°Р»РёР·Р° СЂР°Р·СЂС‹РІРѕРІ */

    INSERT INTO datagpslost_ontmp (LogID, SrvPacketID)

      SELECT DISTINCT

        LogID,

        SrvPacketID

      FROM datagpsbuffer_ontmp64

      WHERE (Mobitel_ID = MobitelID) AND (SrvPacketID > BeginSrvPacketID)

      AND (SrvPacketID < EndSrvPacketID)

      ORDER BY SrvPacketID;



    /* Р•СЃР»Рё РµСЃС‚СЊ РґР°РЅРЅС‹Рµ РјРѕРґРёС„РёС†РёСЂСѓРµРј РґРёР°РїР°Р·РѕРЅ */

    SELECT

      COUNT(1) INTO RowCountForAnalyze

    FROM datagpslost_ontmp;



    IF RowCountForAnalyze > 0 THEN

      /* Р”РѕР±Р°РІР»СЏРµРј РїРµСЂРІСѓСЋ Рё РїРѕСЃР»РµРґРЅСЋСЋ Р·Р°РїРёСЃРё РґР»СЏ Р°РЅР°Р»РёР·Р° */

      INSERT INTO datagpslost_ontmp (LogID, SrvPacketID)

        VALUES (BeginLogID, BeginSrvPacketID), (EndLogID, EndSrvPacketID);



      /* РЈРґР°Р»СЏРµРј СЃС‚Р°СЂС‹Р№ РґРёР°РїР°Р·РѕРЅ */

      DELETE

        FROM datagpslost_on

      WHERE (Mobitel_ID = MobitelID) AND (Begin_LogID = BeginLogID);



      /**********  INSERT ROWS **********/

      BEGIN

        DECLARE NewLogID int; /* Р—РЅР°С‡РµРЅРёРµ LogID РІ РєСѓСЂСЃРѕСЂРµ CursorNewLogID */

        DECLARE NewSrvPacketID bigint; /* Р—РЅР°С‡РµРЅРёРµ SrvPacketID РІ РєСѓСЂСЃРѕСЂРµ CursorNewLogID */

        DECLARE FirstLogID int DEFAULT -9999999; /* РџРµСЂРІРѕРµ Р·РЅР°С‡РµРЅРёРµ LogID РґР»СЏ Р°РЅР°Р»РёР·Р° */

        DECLARE SecondLogID int; /* Р’С‚РѕСЂРѕРµ Р·РЅР°С‡РµРЅРёРµ LogID РґР»СЏ Р°РЅР°Р»РёР·Р° */

        DECLARE FirstSrvPacketID bigint; /* РџРµСЂРІРѕРµ Р·РЅР°С‡РµРЅРёРµ SrvPacketID */

        DECLARE SecondSrvPacketID bigint; /* Р’С‚РѕСЂРѕРµ Р·РЅР°С‡РµРЅРёРµ SrvPacketID */



        /* РћР±СЂР°Р±РѕС‚С‡РёРє РѕС‚СЃСѓС‚СЃС‚РІСѓСЋС‰РµР№ Р·Р°РїРёСЃРё РїСЂРё FETCH СЃР»РµРґСѓСЋС‰РµР№ Р·Р°РїРёСЃРё */

        DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;



        /* Р¤РѕСЂРјРёСЂРѕРІР°РЅРёРµ РєРѕРјР°РЅРґС‹-РІСЃС‚Р°РІРєРё РІ С‚Р°Р±Р»РёС†Сѓ РїСЂРѕРїСѓС‰РµРЅРЅС‹С… РґРёР°РїР°Р·РѕРЅРѕРІ */

        SET DataExists = 1;

        OPEN CursorNewLogID;

        FETCH CursorNewLogID INTO NewLogID, NewSrvPacketID;

        WHILE DataExists = 1 DO

          IF FirstLogID = -9999999 THEN

            /* РџРµСЂРІРѕРµ Р·РЅР°С‡РµРЅРёРµ РІ СЃРїРёСЃРєРµ */

            SET FirstLogID = NewLogID;

            SET FirstSrvPacketID = NewSrvPacketID;

          ELSE

            /* РћСЃРЅРѕРІРЅР°СЏ РІРµС‚РєР° СЂР°СЃС‡РµС‚Р°*/

            SET SecondLogID = NewLogID;

            SET SecondSrvPacketID = NewSrvPacketID;



            IF (SecondLogID - FirstLogID) > 1 THEN

          /* РќР°Р№РґРµРЅ СЂР°Р·СЂС‹РІ */

          /* РР·-Р·Р° РІСЃСЏРєРёС… РєРѕРјР±РёРЅР°С†РёР№ СЃРѕСЃС‚РѕСЏРЅРёР№ LogId Рё SrvPacketId РёР·-Р·Р° РѕСЃРѕР±РµРЅРЅРѕСЃС‚РµР№ СЂР°Р±РѕС‚С‹ С‚РµР»РµРјР°С‚РёС‡РµСЃРєРѕРіРѕ СЃРµСЂРІРµСЂР°

          Рё РўР”Рњ РІРІРѕРґРёРј РґРѕРїРѕР»РЅРёС‚РµР»СЊРЅС‹Р№ Р°РЅР°Р»РёР· РІСЃС‚Р°РІР»СЏРµРјС‹С… Р·Р°РїРёСЃРµР№, РµСЃР»Рё Р·Р°РїРёСЃСЊ РЅРµ СЃРѕРѕС‚РІРµС‚СЃРІСѓРµС‚ СѓРєР°Р·Р°РЅС‹Рј РїСЂР°РІРёР»Р°Рј, РѕРЅР° 

          РѕС‚Р±СЂР°СЃС‹РІР°РµС‚СЃСЏ */

          IF (SecondSrvPacketID > FirstSrvPacketID) THEN

            IF EXISTS(SELECT NULL FROM datagps64 d WHERE (d.Mobitel_ID = MobitelID) AND ((d.LogID = FirstLogID) AND (d.SrvPacketID = FirstSrvPacketID))) THEN 

              IF EXISTS(SELECT NULL FROM datagps64 d WHERE (d.Mobitel_ID = MobitelID) AND ((d.LogID = SecondLogID) AND (d.SrvPacketID = SecondSrvPacketID))) THEN 



                CALL OnInsertDatagpsLost(MobitelID, FirstLogID, SecondLogID, FirstSrvPacketID, SecondSrvPacketID);

                IF NeedOptimize = 0 THEN SET NeedOptimize = 1; END IF;

                

              END IF;

            END IF;

          END IF;

        END IF;

            /* РџРµСЂРµРјРµСЃС‚РёРј С‚РµРєСѓС‰РµРµ РІС‚РѕСЂРѕРµ Р·РЅР°С‡РµРЅРёРµ РЅР° РїРµСЂРІСѓСЋ РїРѕР·РёС†РёСЋ

               РґР»СЏ СѓС‡Р°СЃС‚РёСЏ РІ СЃР»РµРґСѓСЋС‰РµР№ РёС‚РµСЂР°С†РёРё РІ РєР°С‡РµСЃС‚РІРµ РЅР°С‡Р°Р»СЊРЅРѕРіРѕ Р·РЅР°С‡РµРЅРёСЏ */

            SET FirstLogID = SecondLogID;

            SET FirstSrvPacketID = SecondSrvPacketID;

          END IF;

          FETCH CursorNewLogID INTO NewLogID, NewSrvPacketID;

        END WHILE;

        CLOSE CursorNewLogID;

      END;

      /********** END INSERT ROWS **********/



      TRUNCATE TABLE datagpslost_ontmp;

    END IF;



    FETCH CursorLostRanges INTO BeginLogID, EndLogID, BeginSrvPacketID, EndSrvPacketID;

  END WHILE;

  CLOSE CursorLostRanges;



  /********** UPDATE MOBITELS **********/



  /* Р•СЃР»Рё РїСЂРѕРїСѓС‰РµРЅРЅС‹С… Р·Р°РїРёСЃРµР№ Сѓ РґР°РЅРЅРѕРіРѕ С‚РµР»РµС‚СЂРµРєР° РЅРµС‚ - 

     С‚РѕРіРґР° ConfirmedID Р±СѓРґРµС‚ СЂР°РІРµРЅ РјР°РєСЃРёРјР°Р»СЊРЅРѕРјСѓ LogID 

     РґР°РЅРЅРѕРіРѕ С‚РµР»РµС‚СЂРµРєР°. РРЅР°С‡Рµ - РјРёРЅРёРјР°Р»СЊРЅС‹Р№ Begin_LogID

     РёР· С‚Р°Р±Р»РёС†С‹ РїСЂРѕРїСѓСЃРєРѕРІ */

  SELECT

    MIN(Begin_LogID) INTO NewConfirmedID

  FROM datagpslost_on

  WHERE Mobitel_ID = MobitelID;



  IF NewConfirmedID IS NULL THEN

    SELECT

      MAX(LogID) INTO NewConfirmedID

    FROM datagps64

    WHERE Mobitel_ID = MobitelID;

  END IF;



  /* РћР±РЅРѕРІРёРј ConfirmedID РµСЃР»Рё РЅР°РґРѕ */

  UPDATE mobitels

  SET ConfirmedID = NewConfirmedID

  WHERE (Mobitel_ID = MobitelID) AND (ConfirmedID < NewConfirmedID);



/********** END UPDATE MOBITELS **********/

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnLostDataGPS64` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnLostDataGPS64`(IN MobitelID integer(11), OUT NeedOptimize tinyint)
    SQL SECURITY INVOKER
    COMMENT 'РџРѕРёСЃРє РїСЂРѕРїСѓСЃРєРѕРІ РІ online РґР°РЅРЅС‹С… Р·Р°РґР°РЅРЅРѕРіРѕ С‚РµР»РµС‚СЂРµРєР° Рё Р·Р°РїРѕР»РЅРµРЅРёРµ С‚Р°Р±Р»РёС†.'
BEGIN



  /********** DECLARE **********/



  DECLARE CurrentConfirmedID int DEFAULT 0; /* РўРµРєСѓС‰РµРµ Р·РЅР°С‡РµРЅРёРµ ConfirmedID */

  DECLARE NewConfirmedID int DEFAULT 0; /* РќРѕРІРѕРµ Р·РЅР°С‡РµРЅРёРµ ConfirmedID */

  DECLARE StartLogIDSelect int DEFAULT 0; /* min LogID РґР»СЏ РІС‹Р±РѕСЂРєРё */

  DECLARE FinishLogIDSelect int DEFAULT 0; /* max LogID РґР»СЏ РІС‹Р±РѕСЂРєРё */

  DECLARE MaxEndLogID int DEFAULT 0; /* max End_LogID РІ РїСЂРѕРїСѓС‰РµРЅРЅС‹С… РґРёР°РїР°Р·РѕРЅР°С… РґР°РЅРЅРѕРіРѕ С‚РµР»РµС‚СЂРµРєР° */



  DECLARE MinLogID_n int DEFAULT 0; /* РњРёРЅРёРјР°Р»СЊРЅС‹Р№ LogID РїРѕСЃР»Рµ ConfirmedID РІ РјРЅРѕР¶РµСЃС‚РІРµ РЅРѕРІС‹С… РґР°РЅРЅС‹С… */

  DECLARE MaxLogID_n int DEFAULT 0; /* РњР°РєСЃРёРјР°Р»СЊРЅС‹Р№ LogID РІ РјРЅРѕР¶РµСЃС‚РІРµ РЅРѕРІС‹С… РґР°РЅРЅС‹С… */



  DECLARE DataExists tinyint DEFAULT 1; /* Р¤Р»Р°Рі РЅР°Р»РёС‡РёСЏ РґР°РЅРЅС‹С… РїРѕСЃР»Рµ С„РµС‚С‡Р° */



  DECLARE NewLogID int; /* Р—РЅР°С‡РµРЅРёРµ LogID РІ РєСѓСЂСЃРѕСЂРµ CursorNewLogID */

  DECLARE NewSrvPacketID bigint; /* Р—РЅР°С‡РµРЅРёРµ SrvPacketID РІ РєСѓСЂСЃРѕСЂРµ CursorNewLogID */

  DECLARE FirstLogID int DEFAULT -9999999; /* РџРµСЂРІРѕРµ Р·РЅР°С‡РµРЅРёРµ LogID РґР»СЏ Р°РЅР°Р»РёР·Р° */

  DECLARE SecondLogID int; /* Р’С‚РѕСЂРѕРµ Р·РЅР°С‡РµРЅРёРµ LogID РґР»СЏ Р°РЅР°Р»РёР·Р° */

  DECLARE FirstSrvPacketID bigint; /* РџРµСЂРІРѕРµ Р·РЅР°С‡РµРЅРёРµ SrvPacketID */

  DECLARE SecondSrvPacketID bigint; /* Р’С‚РѕСЂРѕРµ Р·РЅР°С‡РµРЅРёРµ SrvPacketID */



  DECLARE tmpSrvPacketID bigint DEFAULT 0; /* Р—РЅР°С‡РµРЅРёРµ SrvPacketID РґР»СЏ РїРµСЂРІРѕР№ РёСЃРєСѓСЃСЃС‚РІРµРЅРЅРѕР№ Р·Р°РїРёСЃРё РІ Р°РЅР°Р»РёР·Рµ РЅРѕРІС‹С… РґР°РЅРЅС‹С…, РЅРµ РїРµСЂРµСЃРµРєР°СЋС‰РёС…СЃСЏ СЃ СЃСѓС‰РµСЃС‚РІСѓСЋС‰РёРјРё */



  /* РљСѓСЂСЃРѕСЂ РґР»СЏ РїСЂРѕС…РѕРґР° РїРѕ РЅРѕРІС‹Рј LogID */

  DECLARE CursorNewLogID CURSOR FOR

  SELECT

    LogID,

    SrvPacketID

  FROM datagpslost_ontmp;



  /* РћР±СЂР°Р±РѕС‚С‡РёРє РѕС‚СЃСѓС‚СЃС‚РІСѓСЋС‰РµР№ Р·Р°РїРёСЃРё РїСЂРё FETCH СЃР»РµРґСѓСЋС‰РµР№ Р·Р°РїРёСЃРё */

  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;



  /********** END DECLARE **********/



  SET NeedOptimize = 0;



  SELECT

    COALESCE(ConfirmedID, 0) INTO CurrentConfirmedID

  FROM mobitels

  WHERE Mobitel_ID = MobitelID;



  /* РњРёРЅРёРјР°Р»СЊРЅС‹Р№ LogID РІ РЅРѕРІРѕРј РЅР°Р±РѕСЂРµ РґР°РЅРЅС‹С… c РєРѕС‚РѕСЂС‹Рј Р±СѓРґРµРј СЂР°Р±РѕС‚Р°С‚СЊ */

  SELECT

    MIN(LogID) INTO MinLogID_n

  FROM datagpsbuffer_on64

  WHERE (Mobitel_ID = MobitelID) AND (LogID > CurrentConfirmedID);



  /* РњР°РєСЃРёРјР°Р»СЊРЅС‹Р№ LogID РІ РЅРѕРІРѕРј РЅР°Р±РѕСЂРµ РґР°РЅРЅС‹С… c РєРѕС‚РѕСЂС‹Рј Р±СѓРґРµРј СЂР°Р±РѕС‚Р°С‚СЊ */

  SELECT

    MAX(LogID) INTO MaxLogID_n

  FROM datagpsbuffer_on64

  WHERE Mobitel_ID = MobitelID;



  /* РњР°РєСЃРёРјР°Р»СЊРЅС‹Р№ End_LogID РІ РїСЂРѕРїСѓС‰РµРЅРЅС‹С… РґРёР°РїР°Р·РѕРЅР°С… РґР°РЅРЅРѕРіРѕ С‚РµР»РµС‚СЂРµРєР° */

  SELECT

    COALESCE(MAX(End_LogID), 0) INTO MaxEndLogID

  FROM datagpslost_on

  WHERE Mobitel_ID = MobitelID;



  /* РџСЂРѕРІРµСЂРёРј РµСЃС‚СЊ Р»Рё РґР°РЅРЅС‹Рµ РґР»СЏ Р°РЅР°Р»РёР·Р° */

  IF MinLogID_n IS NOT NULL THEN



    /********** PREPARE **********/



    TRUNCATE TABLE datagpslost_ontmp;



    IF MinLogID_n < MaxEndLogID THEN

      /* Р•СЃР»Рё  MinLogID_n < MaxEndLogID Р·РЅР°С‡РёС‚ РїСЂРёС€Р»Рё РґР°РЅРЅС‹Рµ, 

       РєРѕС‚РѕСЂС‹Рµ РІРѕР·РјРѕР¶РЅРѕ Р·Р°РєСЂРѕСЋС‚ С‡Р°СЃС‚СЊ РїСЂРѕРїСѓСЃРєРѕРІ. */



      /* РќР°С…РѕРґРёРј СЃС‚Р°СЂС‚РѕРІС‹Р№ LogID РґР»СЏ РїРµСЂРµСЃС‡РµС‚Р°. */

      SELECT

        COALESCE(Begin_LogID, MinLogID_n) INTO StartLogIDSelect

      FROM datagpslost_on

      WHERE (Mobitel_ID = MobitelID) AND (MinLogID_n > Begin_LogID)

      AND (MinLogID_n < End_LogID);



      /* РќР°С…РѕРґРёРј РїРѕСЃР»РµРґРЅРёР№ LogID РґР»СЏ РїРµСЂРµСЃС‡РµС‚Р°. */

      SELECT

        COALESCE(End_LogID, MaxLogID_n) INTO FinishLogIDSelect

      FROM datagpslost_on

      WHERE (Mobitel_ID = MobitelID) AND (MaxLogID_n > Begin_LogID)

      AND (MaxLogID_n < End_LogID);



      /* РЈРґР°Р»РёРј СЃС‚Р°СЂС‹Рµ Р·Р°РїРёСЃРё РёР· СЂРµРµСЃС‚СЂР° РїСЂРѕРїСѓС‰РµРЅРЅС‹С… Р·Р°РїРёСЃРµР№ 

         (СЃС‚Р°Р»Рё РЅРµР°РєС‚СѓР°Р»СЊРЅС‹РјРё, РЅР°РґРѕ РїРµСЂРµСЃС‡РёС‚Р°С‚СЊ) */

      DELETE

        FROM datagpslost_on

      WHERE (Mobitel_ID = MobitelID) AND (Begin_LogID >= StartLogIDSelect)

        AND (Begin_LogID <= FinishLogIDSelect);



      /* Р•СЃР»Рё РїРµСЂРІР°СЏ Р·Р°РїРёСЃСЊ LogID = 0 Рё СЌС‚РѕР№ Р·Р°РїРёСЃРё РЅРµС‚ РІ DataGps, С‚РѕРіРґР°

         РЅР°РґРѕ РґРѕР±Р°РІРёС‚СЊ РїРµСЂРІСѓСЋ С„РёРєС‚РёРІРЅСѓСЋ Р·Р°РїРёСЃСЊ РґР»СЏ Р°РЅР°Р»РёР·Р°. */

      IF (StartLogIDSelect = 0) AND (NOT EXISTS (SELECT

            1

          FROM datagps64

          WHERE (Mobitel_ID = MobitelID) AND (LogID = StartLogIDSelect))) THEN



        INSERT INTO datagpslost_ontmp (LogID, SrvPacketID)

          VALUES (0, 0);

      END IF;

    ELSE

      /* РџСЂРёС€Р»Рё РЅРѕРІС‹Рµ РґР°РЅРЅС‹Рµ. РќР°РґРѕ РґРѕР±Р°РІРёС‚СЊ РґР»СЏ Р°РЅР°Р»РёР·Р° РёСЃРєСѓСЃСЃС‚РІРµРЅРЅСѓСЋ Р·Р°РїРёСЃСЊ - 

         РЅРёР¶РЅСЋСЋ РіСЂР°РЅРёС†Сѓ */



      /* РќР°С…РѕРґРёРј СЃС‚Р°СЂС‚РѕРІС‹Р№ LogID РґР»СЏ РїРµСЂРµСЃС‡РµС‚Р°. */

      SELECT

        COALESCE(MAX(End_LogID), CurrentConfirmedID) INTO StartLogIDSelect

      FROM datagpslost_on

      WHERE Mobitel_ID = MobitelID;



      /* РќР°С…РѕРґРёРј РїРѕСЃР»РµРґРЅРёР№ LogID РґР»СЏ РїРµСЂРµСЃС‡РµС‚Р°. */

      SELECT

        MAX(LogID) INTO FinishLogIDSelect

      FROM datagpsbuffer_on64

      WHERE Mobitel_ID = MobitelID;



      /* Р’С‹Р±РёСЂР°РµРј РёР· datagps СЃРѕРѕС‚РІРµС‚СЃС‚РІСѓСЋС‰РµРµ Р·РЅР°С‡РµРЅРёРµ SrvPacketID  РґР»СЏ РїРµСЂРІРѕР№

         РёСЃРєСѓСЃСЃС‚РІРµРЅРЅРѕР№ Р·Р°РїРёСЃРё */

      SELECT

        COALESCE(SrvPacketID, 0) INTO tmpSrvPacketID

      FROM datagps64

      WHERE (Mobitel_ID = MobitelID) AND (LogID = StartLogIDSelect);



      /* РџРѕРјРµС‰Р°РµРј РІ С‚Р°Р±Р»РёС†Сѓ datagpslost_ontmp64 РґР»СЏ Р°РЅР°Р»РёР·Р° РїСЂРѕРїСѓСЃРєРѕРІ 

         РґРѕРїРѕР»РЅРёС‚РµР»СЊРЅСѓСЋ РїРµСЂРІСѓСЋ Р·Р°РїРёСЃСЊ */

      INSERT INTO datagpslost_ontmp (LogID, SrvPacketID)

        VALUES (StartLogIDSelect, tmpSrvPacketID);

    END IF; -- IF MinLogID_n < MaxEndLogID   



    /********** END PREPARE **********/



    /**********  INSERT ROWS **********/



    /* Р—Р°РїРѕР»РЅРµРЅРёРµ РІСЂРµРјРµРЅРЅРѕР№ С‚Р°Р±Р»РёС†С‹ РїРѕСЃР»РµРґРЅРёРјРё РґР°РЅРЅС‹РјРё С‚РµР»РµС‚СЂРµРєР°

       РґР»СЏ Р°РЅР°Р»РёР·Р° СЂР°Р·СЂС‹РІРѕРІ */

    INSERT INTO datagpslost_ontmp (LogID, SrvPacketID)

      SELECT

        LogID,

        SrvPacketID

      FROM datagps64

      WHERE (Mobitel_ID = MobitelID) AND (LogID >= StartLogIDSelect)

      AND (LogID <= FinishLogIDSelect)

      ORDER BY LogID;



    /* Р¤РѕСЂРјРёСЂРѕРІР°РЅРёРµ РєРѕРјР°РЅРґС‹-РІСЃС‚Р°РІРєРё РІ С‚Р°Р±Р»РёС†Сѓ РїСЂРѕРїСѓС‰РµРЅРЅС‹С… РґРёР°РїР°Р·РѕРЅРѕРІ */

    SET DataExists = 1;

    OPEN CursorNewLogID;

    FETCH CursorNewLogID INTO NewLogID, NewSrvPacketID;

    WHILE DataExists = 1 DO

      IF FirstLogID = -9999999 THEN

        /* РџРµСЂРІРѕРµ Р·РЅР°С‡РµРЅРёРµ РІ СЃРїРёСЃРєРµ */

        SET FirstLogID = NewLogID;

        SET FirstSrvPacketID = NewSrvPacketID;

      ELSE

        /* РћСЃРЅРѕРІРЅР°СЏ РІРµС‚РєР° СЂР°СЃС‡РµС‚Р°*/

        SET SecondLogID = NewLogID;

        SET SecondSrvPacketID = NewSrvPacketID;



        IF (SecondLogID - FirstLogID) > 1 THEN

          /* РќР°Р№РґРµРЅ СЂР°Р·СЂС‹РІ */

          /* РР·-Р·Р° РІСЃСЏРєРёС… РєРѕРјР±РёРЅР°С†РёР№ СЃРѕСЃС‚РѕСЏРЅРёР№ LogId Рё SrvPacketId РёР·-Р·Р° РѕСЃРѕР±РµРЅРЅРѕСЃС‚РµР№ СЂР°Р±РѕС‚С‹ С‚РµР»РµРјР°С‚РёС‡РµСЃРєРѕРіРѕ СЃРµСЂРІРµСЂР°

          Рё РўР”Рњ РІРІРѕРґРёРј РґРѕРїРѕР»РЅРёС‚РµР»СЊРЅС‹Р№ Р°РЅР°Р»РёР· РІСЃС‚Р°РІР»СЏРµРјС‹С… Р·Р°РїРёСЃРµР№, РµСЃР»Рё Р·Р°РїРёСЃСЊ РЅРµ СЃРѕРѕС‚РІРµС‚СЃРІСѓРµС‚ СѓРєР°Р·Р°РЅС‹Рј РїСЂР°РІРёР»Р°Рј, РѕРЅР° 

          РѕС‚Р±СЂР°СЃС‹РІР°РµС‚СЃСЏ */

          IF (SecondSrvPacketID > FirstSrvPacketID) THEN

            IF EXISTS(SELECT NULL FROM datagps64 d WHERE (d.Mobitel_ID = MobitelID) AND ((d.LogID = FirstLogID) AND (d.SrvPacketID = FirstSrvPacketID))) THEN 

              IF EXISTS(SELECT NULL FROM datagps64 d WHERE (d.Mobitel_ID = MobitelID) AND ((d.LogID = SecondLogID) AND (d.SrvPacketID = SecondSrvPacketID))) THEN 



                CALL OnInsertDatagpsLost(MobitelID, FirstLogID, SecondLogID, FirstSrvPacketID, SecondSrvPacketID);

                IF NeedOptimize = 0 THEN SET NeedOptimize = 1; END IF;

                

              END IF;

            END IF;

          END IF;

        END IF;

        /* РџРµСЂРµРјРµСЃС‚РёРј С‚РµРєСѓС‰РµРµ РІС‚РѕСЂРѕРµ Р·РЅР°С‡РµРЅРёРµ РЅР° РїРµСЂРІСѓСЋ РїРѕР·РёС†РёСЋ

           РґР»СЏ СѓС‡Р°СЃС‚РёСЏ РІ СЃР»РµРґСѓСЋС‰РµР№ РёС‚РµСЂР°С†РёРё РІ РєР°С‡РµСЃС‚РІРµ РЅР°С‡Р°Р»СЊРЅРѕРіРѕ Р·РЅР°С‡РµРЅРёСЏ */

        SET FirstLogID = SecondLogID;

        SET FirstSrvPacketID = SecondSrvPacketID;

      END IF;

      FETCH CursorNewLogID INTO NewLogID, NewSrvPacketID;

    END WHILE;

    CLOSE CursorNewLogID;



    /********** END INSERT ROWS **********/



    /********** UPDATE MOBITELS **********/



    /* Р•СЃР»Рё РїСЂРѕРїСѓС‰РµРЅРЅС‹С… Р·Р°РїРёСЃРµР№ Сѓ РґР°РЅРЅРѕРіРѕ С‚РµР»РµС‚СЂРµРєР° РЅРµС‚ - 

       С‚РѕРіРґР° ConfirmedID Р±СѓРґРµС‚ СЂР°РІРµРЅ РјР°РєСЃРёРјР°Р»СЊРЅРѕРјСѓ LogID 

       РґР°РЅРЅРѕРіРѕ С‚РµР»РµС‚СЂРµРєР°. РРЅР°С‡Рµ - РјРёРЅРёРјР°Р»СЊРЅС‹Р№ Begin_LogID

       РёР· С‚Р°Р±Р»РёС†С‹ РїСЂРѕРїСѓСЃРєРѕРІ */

    SELECT

      MIN(Begin_LogID) INTO NewConfirmedID

    FROM datagpslost_on

    WHERE Mobitel_ID = MobitelID;



    IF NewConfirmedID IS NULL THEN

      SELECT

        MAX(LogID) INTO NewConfirmedID

      FROM datagps64

      WHERE Mobitel_ID = MobitelID;

    END IF;



    /* РћР±РЅРѕРІРёРј ConfirmedID РµСЃР»Рё РЅР°РґРѕ */

    UPDATE mobitels

    SET ConfirmedID = NewConfirmedID

    WHERE (Mobitel_ID = MobitelID) AND (ConfirmedID < NewConfirmedID);



    /********** END UPDATE MOBITELS **********/



    TRUNCATE TABLE datagpslost_ontmp;

  END IF; -- IF MaxEndLogID IS NOT NULL  

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnTransferBuffer` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnTransferBuffer`()
    SQL SECURITY INVOKER
    COMMENT 'Переносит GPS данные из буферной таблицы в datagps'
BEGIN

  DECLARE MobitelIDInCursor INT; /* Текущее значение MobitelID */

  DECLARE DataExists TINYINT DEFAULT 1; /* Флаг наличия данных после фетча */

  DECLARE NeedOptimize TINYINT DEFAULT 0; /* Нужна оптимизация или нет */

  DECLARE NeedOptimizeParam TINYINT;

  

  DECLARE TmpMaxUnixTime INT; /* Временная переменная для хранения Max UnixTime из таблицы online */



  /* Курсор по телетрекам в множестве новых данных */

  DECLARE CursorMobitelsInsertSet CURSOR FOR

    SELECT DISTINCT(Mobitel_ID) FROM datagpsbuffer_on;

  /* Курсор по телетрекам в множестве повторных данных */

  DECLARE CursorMobitelsUpdateSet CURSOR FOR

    SELECT DISTINCT(Mobitel_ID) FROM datagpsbuffer_ontmp;  



  /* Обработчик отсутствующей записи при FETCH следующей записи */

  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;



  CALL OnDeleteDuplicates();

  CALL OnCorrectInfotrackLogId();

  

  /* Сохраняем записи, которые уже есть в БД, для второго этапа анализа пропусков 

     Используется процедурой OnLostDataGPS2. */

  INSERT INTO datagpsbuffer_ontmp (Mobitel_ID, LogID, SrvPacketID)

    SELECT b.Mobitel_ID, b.LogID, b.SrvPacketID

    FROM datagpsbuffer_on b LEFT JOIN datagps d ON

      (d.Mobitel_ID = b.Mobitel_ID) AND (d.LogID = b.LogID)

    WHERE d.LogID IS NOT NULL;

       

  /* -------------------- Заполнение таблицы Online ---------------------- */  

  /* Удаление из таблицы online дублирующих строк таблицы datagpsbuffer_on */

  /* по полям Mobitel_ID и LogID */

  DELETE o

  FROM `online` o, datagpsbuffer_on dgb

  WHERE (o.Mobitel_ID = dgb.Mobitel_ID) AND (o.LogID = dgb.LogID);

  

  SET DataExists = 1;

  OPEN CursorMobitelsInsertSet;

  FETCH CursorMobitelsInsertSet INTO MobitelIDInCursor;

  WHILE DataExists = 1 DO

    /* Нахождение Max значения UnixTime в таблице online для заданного

       телетрека. p.s. UnixTime в таблице online только валидный */

    SELECT COALESCE(MAX(UnixTime), 0) INTO TmpMaxUnixTime

    FROM online FORCE INDEX (IDX_Mobitelid)

    WHERE Mobitel_ID = MobitelIDInCursor;



    /* Вставка новых записей (максимум 100)каждого телетрека в online */

    INSERT INTO `online` (

      Mobitel_ID, LogID, UnixTime, Latitude, Longitude, Altitude,

      Direction, Speed, Valid, `Events`,

      Sensor1, Sensor2, Sensor3, Sensor4, Sensor5, Sensor6, Sensor7, Sensor8,

      Counter1, Counter2, Counter3, Counter4, whatIs)

    SELECT

      Mobitel_ID, LogID, UnixTime, Latitude, Longitude, Altitude,

      Direction, Speed, Valid, `Events`,

      Sensor1, Sensor2, Sensor3, Sensor4, Sensor5, Sensor6, Sensor7, Sensor8,

      Counter1, Counter2, Counter3, Counter4, whatIs

    FROM (

      SELECT *

      FROM datagpsbuffer_on

      WHERE (Mobitel_ID = MobitelIDInCursor)  AND 

        (UnixTime > TmpMaxUnixTime) AND (Valid = 1)

      GROUP BY Mobitel_ID, LogID

      ORDER BY UnixTime DESC

      LIMIT 100) AS T

    ORDER BY UnixTime ASC;



    /* Удаление строк из таблицы оперативных данных не удовлетворяющие

       условиям хранения - не являются последними 100 строками */

    DELETE FROM `online`

    WHERE (Mobitel_ID = MobitelIDInCursor) AND (UnixTime < 

      (SELECT COALESCE(MIN(UnixTime), 0) 

       FROM (

         SELECT UnixTime

         FROM `online`

         WHERE Mobitel_ID = MobitelIDInCursor 

         ORDER BY UnixTime DESC

         LIMIT 100) T1)); 

  

    FETCH CursorMobitelsInsertSet INTO MobitelIDInCursor;

  END WHILE;

  CLOSE CursorMobitelsInsertSet;

  /* ---------------- Online ---------------- */ 

  

  /* Зачем-то нужен апдейт ... */

  UPDATE datagps d, datagpsbuffer_on b SET

    d.Latitude = b.Latitude,

    d.Longitude = b.Longitude,

    d.Altitude = b.Altitude,

    d.UnixTime = b.UnixTime,

    d.Speed = b.Speed,

    d.Direction = b.Direction,

    d.Valid = b.Valid,

    d.InMobitelID = b.LogID,

    d.Events = b.Events,

    d.Sensor1 = b.Sensor1,

    d.Sensor2 = b.Sensor2,

    d.Sensor3 = b.Sensor3,

    d.Sensor4 = b.Sensor4,

    d.Sensor5 = b.Sensor5,

    d.Sensor6 = b.Sensor6,

    d.Sensor7 = b.Sensor7,

    d.Sensor8 = b.Sensor8,

    d.whatIs = b.whatIs,

    d.Counter1 = b.Counter1,

    d.Counter2 = b.Counter2,

    d.Counter3 = b.Counter3,

    d.Counter4 = b.Counter4,

    d.SrvPacketID = b.SrvPacketID

  WHERE (d.Mobitel_ID = b.Mobitel_ID) AND (d.LogID = b.LogID)

    AND (d.SrvPacketID < b.SrvPacketID);



  /* Удалим записи которые участвовали в апдейте */

  DELETE b

  FROM datagps d, datagpsbuffer_on b

  WHERE (d.Mobitel_ID = b.Mobitel_ID) AND (d.LogID = b.LogID);



  /* Вставка новых записей*/

  INSERT INTO datagps (

    Mobitel_ID, LogID, UnixTime, Latitude, Longitude, Altitude,

    Direction, Speed, Valid, `Events`, InMobitelID,

    Sensor1, Sensor2, Sensor3, Sensor4, Sensor5, Sensor6, Sensor7, Sensor8,

    Counter1, Counter2, Counter3, Counter4, whatIs, SrvPacketID)

  SELECT

    Mobitel_ID, LogID, UnixTime, Latitude, Longitude, Altitude,

    Direction, Speed, Valid, `Events`, LogID,

    Sensor1, Sensor2, Sensor3, Sensor4, Sensor5, Sensor6, Sensor7, Sensor8,

    Counter1, Counter2, Counter3, Counter4, whatIs, SrvPacketID

  FROM datagpsbuffer_on

  GROUP BY Mobitel_ID, LogID;



  /* ------------------- FETCH Mobitels (INSERT SET) ----------------------- */

  SET DataExists = 1;

  OPEN CursorMobitelsInsertSet;

  FETCH CursorMobitelsInsertSet INTO MobitelIDInCursor;

  WHILE DataExists = 1 DO

    /* ------ Обновление времени последней вставки записей ------- */

    UPDATE mobitels SET LastInsertTime = UNIX_TIMESTAMP(NOW())

    WHERE Mobitel_ID = MobitelIDInCursor;

       

    /* ------ Обновление списка пропущенных записей -------------- */

    CALL OnLostDataGPS(MobitelIDInCursor, NeedOptimizeParam);

    SET NeedOptimize = GREATEST(NeedOptimize, NeedOptimizeParam);

    FETCH CursorMobitelsInsertSet INTO MobitelIDInCursor;

  END WHILE;

  CLOSE CursorMobitelsInsertSet;



  /* Очистка буфера */

  TRUNCATE TABLE datagpsbuffer_on;

    

  /* ------------------- FETCH Mobitels (UPDATE SET) ---------------------- */

  SET DataExists = 1;

  OPEN CursorMobitelsUpdateSet;

  FETCH CursorMobitelsUpdateSet INTO MobitelIDInCursor;

  WHILE DataExists = 1 DO

    /* ---- Обновление списка пропущенных записей по второму алгоритму --- */

    CALL OnLostDataGPS2(MobitelIDInCursor, NeedOptimizeParam);

    SET NeedOptimize = GREATEST(NeedOptimize, NeedOptimizeParam);

    FETCH CursorMobitelsUpdateSet INTO MobitelIDInCursor;

  END WHILE;

  CLOSE CursorMobitelsUpdateSet;

  

  /* Очистка вспомогательного буфера */

  TRUNCATE TABLE datagpsbuffer_ontmp;



  /* Были изменения - сделаем оптимизацию */

  /*IF NeedOptimize = 1 THEN

    OPTIMIZE TABLE datagpslost_on;

  END IF; */           

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `OnTransferBuffer64` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `OnTransferBuffer64`()
    SQL SECURITY INVOKER
BEGIN

  DECLARE MobitelIDInCursor int; /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ MobitelID */

  DECLARE DataExists tinyint DEFAULT 1; /* пїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ */

  DECLARE NeedOptimize tinyint DEFAULT 0; /* пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅ пїЅпїЅпїЅ */

  DECLARE NeedOptimizeParam tinyint;



  DECLARE TmpMaxUnixTime int; /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ Max UnixTime пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ online */



  /* пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ */

  DECLARE CursorMobitelsInsertSet CURSOR FOR

  SELECT DISTINCT

    (Mobitel_ID)

  FROM datagpsbuffer_on64;

  /* пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ */

  DECLARE CursorMobitelsUpdateSet CURSOR FOR

  SELECT DISTINCT

    (Mobitel_ID)

  FROM datagpsbuffer_ontmp64;



  /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅ FETCH пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ */

  DECLARE CONTINUE HANDLER FOR NOT FOUND SET DataExists = 0;

  /*DECLARE EXIT HANDLER FOR SQLEXCEPTION 

  BEGIN

    ROLLBACK;

    SELECT 'An error has occurred, operation rollbacked and the stored procedure was terminated';

  end;*/



  CALL delDupSrvPacket();

  CALL OnDeleteDuplicates64();

  /*CALL OnCorrectInfotrackLogId64();*/



  /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ, пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅ пїЅпїЅпїЅпїЅ пїЅ пїЅпїЅ, пїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ 

     пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ OnLostDataGPS264. */

  /*INSERT INTO datagpsbuffer_ontmp64 (Mobitel_ID, LogID, SrvPacketID)

    SELECT

      b.Mobitel_ID,

      b.LogID,

      b.SrvPacketID

    FROM datagpsbuffer_on64 b

      LEFT JOIN datagps64 d

        ON (d.Mobitel_ID = b.Mobitel_ID) AND (d.LogID = b.LogID)

    WHERE d.LogID IS NOT NULL GROUP BY d.SrvPacketID;*/

 DROP TEMPORARY TABLE IF EXISTS temp1;

  DROP TABLE IF EXISTS temp1;

  CREATE TEMPORARY TABLE temp1  SELECT

      b.Mobitel_ID,

      b.LogID,

      b.SrvPacketID

    FROM datagpsbuffer_on64 b

      LEFT JOIN datagps64 d

        ON (d.Mobitel_ID = b.Mobitel_ID) AND (d.LogID = b.LogID)

    WHERE d.LogID IS NOT NULL GROUP BY d.SrvPacketID;



INSERT INTO datagpsbuffer_ontmp64 (Mobitel_ID, LogID, SrvPacketID) SELECT * FROM temp1 GROUP BY SrvPacketID;



DROP TEMPORARY TABLE IF EXISTS temp1;

DROP TABLE IF EXISTS temp1;

  /* -------------------- пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ Online ---------------------- */

  /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ online пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ datagpsbuffer_on64 */

  /* пїЅпїЅ пїЅпїЅпїЅпїЅпїЅ Mobitel_ID пїЅ LogID */

  DELETE o

    FROM online64 o, datagpsbuffer_on64 dgb

  WHERE (o.Mobitel_ID = dgb.Mobitel_ID) AND (o.LogID = dgb.LogID);



  SET DataExists = 1;

  OPEN CursorMobitelsInsertSet;

  FETCH CursorMobitelsInsertSet INTO MobitelIDInCursor;

  WHILE DataExists = 1 DO

    /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ Max пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ UnixTime пїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ online пїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ

       пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ. p.s. UnixTime пїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ online пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ */

    SELECT

      COALESCE(MAX(UnixTime), 0) INTO TmpMaxUnixTime

    FROM online64 FORCE INDEX (IDX_Mobitelid64)

    WHERE Mobitel_ID = MobitelIDInCursor;



    /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ (пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ 100)пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅ online */

    INSERT INTO online64 (Mobitel_ID, LogID, UnixTime, Latitude, Longitude, Acceleration,

    Direction, Speed, Valid, `Events`,

    Satellites, RssiGsm, SensorsSet, Sensors, Voltage, DGPS)

      SELECT

        Mobitel_ID,

        LogID,

        UnixTime,

        Latitude,

        Longitude,

        Acceleration,

        Direction,

        Speed,

        Valid,

        `Events`,

        Satellites,

        RssiGsm,

        SensorsSet,

        Sensors,

        Voltage,

        DGPS

      FROM (SELECT

          *

        FROM datagpsbuffer_on64

        WHERE (Mobitel_ID = MobitelIDInCursor) AND

        (UnixTime > TmpMaxUnixTime) AND (Valid = 1)

        GROUP BY Mobitel_ID,

                 LogID

        ORDER BY UnixTime DESC

        LIMIT 100) AS T

      ORDER BY UnixTime ASC;



    /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ

       пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ - пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ 100 пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ */

    DELETE

      FROM online64

    WHERE (Mobitel_ID = MobitelIDInCursor) AND (UnixTime < (SELECT

          COALESCE(MIN(UnixTime), 0)

        FROM (SELECT

            UnixTime

          FROM online64

          WHERE Mobitel_ID = MobitelIDInCursor

          ORDER BY UnixTime DESC

          LIMIT 100) T1));



    FETCH CursorMobitelsInsertSet INTO MobitelIDInCursor;

  END WHILE;

  CLOSE CursorMobitelsInsertSet;

  /* ---------------- Online ---------------- */

  /* пїЅпїЅпїЅпїЅпїЅ-пїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ ... */

  UPDATE datagps64 d, datagpsbuffer_on64 b

  SET d.Latitude = b.Latitude,

      d.Longitude = b.Longitude,

      d.Acceleration = b.Acceleration,

      d.UnixTime = b.UnixTime,

      d.Speed = b.Speed,

      d.Direction = b.Direction,

      d.Valid = b.Valid,

      d.LogID = b.LogID,

      d.`Events` = b.`Events`,

      d.Satellites = b.Satellites,

      d.RssiGsm = b.RssiGsm,

      d.SensorsSet = b.SensorsSet,

      d.Sensors = b.Sensors,

      d.Voltage = b.Voltage,

      d.DGPS = b.DGPS,

      d.SrvPacketID = b.SrvPacketID

  WHERE (d.Mobitel_ID = b.Mobitel_ID) AND (d.LogID = b.LogID)

  AND (d.SrvPacketID < b.SrvPacketID);



  /* пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ */

  DELETE b

    FROM datagps64 d, datagpsbuffer_on64 b

  WHERE (d.Mobitel_ID = b.Mobitel_ID) AND (d.LogID = b.LogID);



    /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ */ 

  INSERT INTO datagps64 (Mobitel_ID, LogID, UnixTime, Latitude, Longitude, Acceleration,

  Direction, Speed, Valid, `Events`,

  Satellites, RssiGsm, SensorsSet, Sensors, Voltage, DGPS, SrvPacketID)

    SELECT

      Mobitel_ID,

      LogID,

      UnixTime,

      Latitude,

      Longitude,

      Acceleration,

      Direction,

      Speed,

      Valid,

      `Events`,

      Satellites,

      RssiGsm,

      SensorsSet,

      Sensors,

      Voltage,

      DGPS,

      SrvPacketID

    FROM datagpsbuffer_on64

    GROUP BY Mobitel_ID,

             LogID;



  /* ------------------- FETCH Mobitels (INSERT SET) ----------------------- */

  SET DataExists = 1;

  OPEN CursorMobitelsInsertSet;

  FETCH CursorMobitelsInsertSet INTO MobitelIDInCursor;

  WHILE DataExists = 1 DO

    /* ------ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ ------- */

    UPDATE mobitels

    SET LastInsertTime = UNIX_TIMESTAMP(NOW())

    WHERE Mobitel_ID = MobitelIDInCursor;



    /* ------ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ -------------- */

    CALL OnLostDataGPS64(MobitelIDInCursor, NeedOptimizeParam);

    SET NeedOptimize = GREATEST(NeedOptimize, NeedOptimizeParam);

    FETCH CursorMobitelsInsertSet INTO MobitelIDInCursor;

  END WHILE;

  CLOSE CursorMobitelsInsertSet;



  /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ */

  TRUNCATE TABLE datagpsbuffer_on64;



  /* ------------------- FETCH Mobitels (UPDATE SET) ---------------------- */

  SET DataExists = 1;

  OPEN CursorMobitelsUpdateSet;

  FETCH CursorMobitelsUpdateSet INTO MobitelIDInCursor;

  WHILE DataExists = 1 DO

    /* ---- пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ --- */

    CALL OnLostDataGPS264(MobitelIDInCursor, NeedOptimizeParam);

    SET NeedOptimize = GREATEST(NeedOptimize, NeedOptimizeParam);

    FETCH CursorMobitelsUpdateSet INTO MobitelIDInCursor;

  END WHILE;

  CLOSE CursorMobitelsUpdateSet;



  /* пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ */

  TRUNCATE TABLE datagpsbuffer_ontmp64;



  /* пїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ - пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ */

  /*IF NeedOptimize = 1 THEN

    OPTIMIZE TABLE datagpslost_on;

  END IF;*/

END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `SelectDataGpsPeriodAll` */;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection  = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `SelectDataGpsPeriodAll`(IN mobile int, IN beginperiod datetime, IN endperiod datetime,

IN timebegin varchar(9), IN timeend varchar(9), IN weekdays varchar(15), IN daymonth varchar(90))
BEGIN

  DECLARE time0 time DEFAULT '23:59:59';

  DECLARE time1 time DEFAULT '00:00:00'; 



  DROP TEMPORARY TABLE IF EXISTS tempperiod4;



  CREATE TEMPORARY TABLE tempperiod4 -- временная таблица выборок в указанном диапазоне

  SELECT

    DataGps_ID AS DataGps_ID,

    Mobitel_ID AS Mobitel_ID,

    ((Latitude * 1.0000) / 600000) AS Lat,

    ((Longitude * 1.0000) / 600000) AS Lon,

    Altitude AS Altitude,

    FROM_UNIXTIME(UnixTime) AS `time`,

    (Speed * 1.852) AS speed,

    Valid AS Valid,

    (Sensor8 + (Sensor7 << 8) + (Sensor6 << 16) + (Sensor5 << 24) + (Sensor4 << 32) + (Sensor3 << 40) + (Sensor2 << 48) + (Sensor1 << 56)) AS sensor,

    Events AS Events,

    LogID AS LogID

  FROM datagps

  WHERE Mobitel_ID = mobile AND

  (UnixTime BETWEEN UNIX_TIMESTAMP(beginperiod) AND UNIX_TIMESTAMP(endperiod)) AND

  (Valid = 1) AND NOT (Latitude = 0 AND Longitude = 0)

  ORDER BY UnixTime;



  DROP TEMPORARY TABLE IF EXISTS tempweeks;



  IF weekdays != '' THEN



    CREATE TEMPORARY TABLE tempweeks (

      shead varchar(2)

    );



    SET @saTail = weekdays;

    WHILE @saTail != '' DO

      SET @sHead = SUBSTRING_INDEX(@saTail, ';', 1);

      SET @saTail = SUBSTRING(@saTail, LENGTH(@sHead) + 2);

      INSERT INTO tempweeks (shead)

        VALUES (@sHead);

    END WHILE;

  END IF;



  DROP TEMPORARY TABLE IF EXISTS tempday0;



  IF daymonth != '' THEN



    CREATE TEMPORARY TABLE tempday0 (

      shead varchar(2)

    );



    SET @saTail = daymonth;

    WHILE @saTail != '' DO

      SET @sHead = SUBSTRING_INDEX(@saTail, ';', 1);

      SET @saTail = SUBSTRING(@saTail, LENGTH(@sHead) + 2);

      INSERT INTO tempday0 (shead)

        VALUES (@sHead);

    END WHILE;

  END IF;



  -- getting selecting data

  IF (daymonth != '') AND (weekdays != '') THEN

    IF TIME(timebegin) < TIME(timeend) then

    SELECT

      *

    FROM tempperiod4

    WHERE ((DAY(`time`) IN (SELECT

      *

    FROM tempday0)) AND -- чтение по дням месяца

    (WEEKDAY(`time`) IN (SELECT

      *

    FROM tempweeks)) AND -- чтение по дням недели

    (TIME(`time`) BETWEEN TIME(timebegin) AND TIME(timeend))); -- чтение дат

    END IF;



    IF TIME(timebegin) > TIME(timeend) then

    SELECT

      *

    FROM tempperiod4

    WHERE ((DAY(`time`) IN (SELECT

      *

    FROM tempday0)) AND -- чтение по дням месяца

    (WEEKDAY(`time`) IN (SELECT

      *

    FROM tempweeks)) AND -- чтение по дням недели

    ((time(`time`) > time(timebegin) and time(`time`) < time(time0))

    OR (time(`time`) > time(time1) AND time(`time`) < time(timeend)))); -- чтение дат

    END IF;

    END IF;



      IF (daymonth = '') AND (weekdays != '') THEN

        IF TIME(timebegin) < TIME(timeend) then

        SELECT

          *

        FROM tempperiod4

        WHERE ((WEEKDAY(`time`) IN (SELECT

          *

        FROM tempweeks)) AND -- чтение по дням недели

        (TIME(`time`) BETWEEN TIME(timebegin) AND TIME(timeend))); -- чтение дат

          end IF;



        IF TIME(timebegin) > TIME(timeend) then

        SELECT

          *

        FROM tempperiod4

        WHERE ((WEEKDAY(`time`) IN (SELECT

          *

        FROM tempweeks)) AND -- чтение по дням недели

        ((time(`time`) > time(timebegin) and time(`time`) < time(time0))

    OR (time(`time`) > time(time1) AND time(`time`) < time(timeend)))); -- чтение дат

          end IF;

        END IF;



          IF (daymonth != '') AND (weekdays = '') THEN

            IF TIME(timebegin) < TIME(timeend) then

            SELECT

              *

            FROM tempperiod4

            WHERE ((DAY(`time`) IN (SELECT

              *

            FROM tempday0)) AND -- чтение по дням месяца

            (TIME(`time`) BETWEEN TIME(timebegin) AND TIME(timeend))); -- чтение дат

              END IF;



            IF TIME(timebegin) > TIME(timeend) then

            SELECT

              *

            FROM tempperiod4

            WHERE ((DAY(`time`) IN (SELECT

              *

            FROM tempday0)) AND -- чтение по дням месяца

            ((time(`time`) > time(timebegin) and time(`time`) < time(time0))

              OR (time(`time`) > time(time1) AND time(`time`) < time(timeend)))); -- чтение дат

              END IF;

            END IF;



              IF (daymonth = '') AND (weekdays = '') THEN

                IF TIME(timebegin) < TIME(timeend) then

                SELECT

                  *

                FROM tempperiod4

                WHERE (TIME(`time`) BETWEEN TIME(timebegin) AND TIME(timeend)); -- чтение дат

                  end IF;



                IF TIME(timebegin) > TIME(timeend) then

                SELECT

                  *

                FROM tempperiod4

                WHERE ((time(`time`) > time(timebegin) and time(`time`) < time(time0))

                  OR (time(`time`) > time(time1) AND time(`time`) < time(timeend))); -- чтение дат

                  end IF;

              END IF;

            END ;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2024-08-08 12:57:50
