CREATE DATABASE  IF NOT EXISTS `denysyuk` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `denysyuk`;
-- MySQL dump 10.13  Distrib 8.0.36, for Win64 (x86_64)
--
-- Host: localhost    Database: denysyuk
-- ------------------------------------------------------
-- 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=11 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),(3,'','',3,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),(4,'','',4,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),(5,'','',5,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),(6,'','',6,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),(7,'','',7,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),(8,'','',8,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),(9,'','',9,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),(10,'','',10,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=11 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,'','','','','',''),(3,'','',3,0,0,'','','','','',''),(4,'','',4,0,0,'','','','','',''),(5,'','',5,0,0,'','','','','',''),(6,'','',6,0,0,'','','','','',''),(7,'','',7,0,0,'','','','','',''),(8,'','',8,0,0,'','','','','',''),(9,'','',9,0,0,'','','','','',''),(10,'','',10,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=11 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,'','','','','','',''),(3,'','',3,0,0,0,'','','','','','',''),(4,'','',4,0,0,0,'','','','','','',''),(5,'','',5,0,0,0,'','','','','','',''),(6,'','',6,0,0,0,'','','','','','',''),(7,'','',7,0,0,0,'','','','','','',''),(8,'','',8,0,0,0,'','','','','','',''),(9,'','',9,0,0,0,'','','','','','',''),(10,'','',10,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=11 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,808858678,1,1,50),(2,'','',0,0,50,50,2,50,50,50,2,2,808793396,2,2,50),(3,'','',0,0,50,50,3,50,50,50,3,3,959983669,3,3,50),(4,'','',0,0,50,50,4,50,50,50,4,4,926364214,4,4,50),(5,'','',0,0,50,50,5,50,50,50,5,5,909719600,5,5,50),(6,'','',0,0,50,50,6,50,50,50,6,6,859255092,6,6,50),(7,'','',0,0,50,50,7,50,50,50,7,7,909390646,7,7,50),(8,'','',0,0,50,50,8,50,50,50,8,8,926037556,8,8,50),(9,'','',0,0,50,50,9,50,50,50,9,9,842151993,9,9,50),(10,'','',0,0,50,50,10,50,50,50,10,10,926497076,10,10,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=11 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),(3,'','',3,0,0,0,0,0,NULL,NULL),(4,'','',4,0,0,0,0,0,NULL,NULL),(5,'','',5,0,0,0,0,0,NULL,NULL),(6,'','',6,0,0,0,0,0,NULL,NULL),(7,'','',7,0,0,0,0,0,NULL,NULL),(8,'','',8,0,0,0,0,0,NULL,NULL),(9,'','',9,0,0,0,0,0,NULL,NULL),(10,'','',10,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=11 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),(3,'','',3,0,0,0,0,0,0,0,0),(4,'','',4,0,0,0,0,0,0,0,0),(5,'','',5,0,0,0,0,0,0,0,0),(6,'','',6,0,0,0,0,0,0,0,0),(7,'','',7,0,0,0,0,0,0,0,0),(8,'','',8,0,0,0,0,0,0,0,0),(9,'','',9,0,0,0,0,0,0,0,0),(10,'','',10,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 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 */;
/*!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=11 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','0646','0','0','0','0','0',0,0,'0','0'),(2,'','',2,0,'0','0554','0','0','0','0','0',0,0,'0','0'),(3,'','',3,0,'0','9805','0','0','0','0','0',0,0,'0','0'),(4,'','',4,0,'0','7726','0','0','0','0','0',0,0,'0','0'),(5,'','',5,0,'0','6980','0','0','0','0','0',0,0,'0','0'),(6,'','',6,0,'0','3714','0','0','0','0','0',0,0,'0','0'),(7,'','',7,0,'0','6436','0','0','0','0','0',0,0,'0','0'),(8,'','',8,0,'0','7264','0','0','0','0','0',0,0,'0','0'),(9,'','',9,0,'0','2289','0','0','0','0','0',0,0,'0','0'),(10,'','',10,0,'0','7994','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=11 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,808858678,NULL),(2,-16744448,3,808793396,NULL),(3,-8388608,3,959983669,NULL),(4,-32768,3,926364214,NULL),(5,-16777077,3,909719600,NULL),(6,-16777077,3,859255092,NULL),(7,-16776961,3,842151993,NULL),(8,-4194112,3,909390646,NULL),(9,-16777077,3,926037556,NULL),(10,-4177920,3,926497076,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=959983670 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 (808793396,'','',0,0,0,2,2,6,5,5,0,0,0,0,1706889022,1,1),(808858678,'','',0,0,0,1,1,6,5,5,0,0,0,0,1706889089,1,1),(842151993,'2289','',0,0,0,9,9,6,5,5,0,0,0,0,1706889087,1,1),(859255092,'3714','',0,0,0,6,6,6,5,5,0,0,0,0,1706889080,1,1),(909390646,'6436','',0,0,0,7,7,6,5,5,0,0,0,0,1706889047,1,1),(909719600,'6980','',0,0,0,5,5,6,5,5,0,0,0,0,1706889088,1,1),(926037556,'7264','',0,0,0,8,8,6,5,5,0,0,0,0,1706889037,1,1),(926364214,'7726','',0,0,0,4,4,6,5,5,0,0,0,0,1706889077,1,1),(926497076,'7994','',0,0,0,10,10,6,5,5,0,0,0,0,1706889065,1,1),(959983669,'9805','',0,0,0,3,3,6,5,5,0,0,0,0,1706889060,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=3947 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 (2947,859255092,506966883,261651550,135,0,1695901260,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222753,3690472519061693985),(2948,926037556,506963283,261656117,119,0,1695901299,0,1,20,0,0,0,_binary 'EAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7137,3977301017887775713),(2949,808858678,428337500,256379000,215,0,1695901305,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlhqUAAAAAAAI5HUAAA==',0,'',337826,3474021569096132514),(2952,909719600,503905167,307952950,186,0,1695901315,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhhlEAAAAAAAIsosAAA==',0,'',270472,3907215930530472072),(2953,909390646,506965233,261659067,212,0,1695901307,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc1AAAAAAAEOMIAAA==',0,'',7209,3905803083858320425),(2954,859255092,506966883,261651550,135,0,1695901320,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222754,3690472519061693986),(2955,926037556,506963283,261656117,119,0,1695901359,0,1,18,0,0,0,_binary 'EAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7138,3977301017887775714),(2956,808858678,428337500,256379000,215,0,1695901365,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337827,3474021569096132515),(2963,909719600,503905167,307952950,186,0,1695901375,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOixlEAAAAAAAIsosAAA==',0,'',270473,3907215930530472073),(2964,909390646,506965233,261659067,212,0,1695901367,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc1AAAAAAAEOMIAAA==',0,'',7210,3905803083858320426),(2965,859255092,506966883,261651550,135,0,1695901380,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222755,3690472519061693987),(2966,926037556,506963283,261656117,119,0,1695901419,0,1,22,0,0,0,_binary 'EAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7139,3977301017887775715),(2967,808858678,428337500,256379000,215,0,1695901425,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337828,3474021569096132516),(2970,909719600,503905167,307952950,186,0,1695901435,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOiBlEAAAAAAAIsosAAA==',0,'',270474,3907215930530472074),(2971,909390646,506965233,261659067,212,0,1695901427,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc1AAAAAAAEOMIAAA==',0,'',7211,3905803083858320427),(2972,859255092,506966883,261651550,135,0,1695901440,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222756,3690472519061693988),(2973,926037556,506963283,261656117,119,0,1695901479,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7140,3977301017887775716),(2974,808858678,428337500,256379000,215,0,1695901485,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337829,3474021569096132517),(2981,909719600,503905167,307952950,186,0,1695901495,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlEAAAAAAAIsosAAA==',0,'',270475,3907215930530472075),(2982,909390646,506965233,261659067,212,0,1695901487,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc2AAAAAAAEOMIAAA==',0,'',7212,3905803083858320428),(2983,859255092,506966883,261651550,135,0,1695901500,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222757,3690472519061693989),(2984,926037556,506963283,261656117,119,0,1695901539,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7141,3977301017887775717),(2985,808858678,428337500,256379000,215,0,1695901545,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337830,3474021569096132518),(2988,909719600,503905167,307952950,186,0,1695901555,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlEAAAAAAAIsosAAA==',0,'',270476,3907215930530472076),(2989,909390646,506965233,261659067,212,0,1695901547,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc3AAAAAAAEOMIAAA==',0,'',7213,3905803083858320429),(2990,859255092,506966883,261651550,135,0,1695901560,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222758,3690472519061693990),(2991,926037556,506963283,261656117,119,0,1695901599,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7142,3977301017887775718),(2992,808858678,428337500,256379000,215,0,1695901605,0,1,16,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337831,3474021569096132519),(2999,909719600,503905167,307952950,186,0,1695901615,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlEAAAAAAAIsosAAA==',0,'',270477,3907215930530472077),(3000,909390646,506965233,261659067,212,0,1695901607,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc5AAAAAAAEOMIAAA==',0,'',7214,3905803083858320430),(3001,859255092,506966883,261651550,135,0,1695901620,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222759,3690472519061693991),(3002,926037556,506963283,261656117,119,0,1695901659,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7143,3977301017887775719),(3003,808858678,428337500,256379000,215,0,1695901665,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337832,3474021569096132520),(3004,842151993,506962967,261654350,109,0,1695901652,0,1,22,0,0,0,_binary 'EAAGmAXhAAD4ABgAAASnAAAAAAAEcOIAAA==',0,'',11525,3617015268196232453),(3006,909719600,503905167,307952950,186,0,1695901675,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOiBlEAAAAAAAIsosAAA==',0,'',270478,3907215930530472078),(3007,909390646,506965233,261659067,212,0,1695901667,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc5AAAAAAAEOMIAAA==',0,'',7215,3905803083858320431),(3008,859255092,506966883,261651550,135,0,1695901680,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222760,3690472519061693992),(3009,926037556,506963283,261656117,119,0,1695901719,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7144,3977301017887775720),(3010,808858678,428337500,256379000,215,0,1695901725,0,1,16,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337833,3474021569096132521),(3011,842151993,506962967,261654350,109,0,1695901712,0,1,22,0,0,0,_binary 'EAAGmAXhAAD4ABgAAASnAAAAAAAEcOIAAA==',0,'',11526,3617015268196232454),(3017,909719600,503905167,307952950,186,0,1695901735,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOihlEAAAAAAAIsosAAA==',0,'',270479,3907215930530472079),(3018,909390646,506965233,261659067,212,0,1695901727,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc6AAAAAAAEOMIAAA==',0,'',7216,3905803083858320432),(3019,859255092,506966883,261651550,135,0,1695901740,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222761,3690472519061693993),(3020,926037556,506963283,261656117,119,0,1695901779,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7145,3977301017887775721),(3021,808858678,428337500,256379000,215,0,1695901785,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337834,3474021569096132522),(3022,842151993,506962967,261654350,109,0,1695901772,0,1,22,0,0,0,_binary 'EAAGmAXhAAD4ABsAAASnAAAAAAAEcOIAAA==',0,'',11527,3617015268196232455),(3023,842151993,506965317,261652133,175,0,1695901804,50,1,22,0,0,0,_binary 'EAAGmAXrAAD4ABwAAASnAAAAAAAEcOIbsg==',0,'',11528,3617015268196232456),(3025,909719600,503905167,307952950,186,0,1695901795,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhxlEAAAAAAAIsosAAA==',0,'',270480,3907215930530472080),(3026,909390646,506965233,261659067,212,0,1695901787,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc6AAAAAAAEOMIAAA==',0,'',7217,3905803083858320433),(3027,859255092,506966883,261651550,135,0,1695901800,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222762,3690472519061693994),(3028,926037556,506963283,261656117,119,0,1695901839,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7146,3977301017887775722),(3029,808858678,428337500,256379000,215,0,1695901845,0,1,16,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337835,3474021569096132523),(3030,842151993,506964983,261650733,168,127,1695901811,0,1,22,0,0,0,_binary 'EAAGmAXtAAD4ABwAAASnAAAAAAAEcOIUPA==',0,'',11529,3617015268196232457),(3032,959983669,506965983,261648867,134,0,1695901767,0,1,19,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280354,4123098463049369378),(3033,959983669,506965983,261648867,134,0,1695901827,0,1,19,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280355,4123098463049369379),(3036,909719600,503905167,307952950,186,0,1695901855,0,1,19,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlEAAAAAAAIsosAAA==',0,'',270481,3907215930530472081),(3037,909390646,506965233,261659067,212,0,1695901847,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc6AAAAAAAEOMIAAA==',0,'',7218,3905803083858320434),(3038,859255092,506966883,261651550,135,0,1695901860,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222763,3690472519061693995),(3039,926037556,506963283,261656117,119,0,1695901899,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7147,3977301017887775723),(3040,808858678,428337500,256379000,215,0,1695901905,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337836,3474021569096132524),(3041,842151993,506964983,261650733,168,0,1695901871,0,1,22,0,0,0,_binary 'EAAGmAX2AAD4ABwAAASnAAAAAAAEcOIVRg==',0,'',11530,3617015268196232458),(3042,842151993,506964733,261654583,87,0,1695901906,50,1,22,0,0,0,_binary 'EAAGmAX7AAD4ABwAAASnAAAAAAAEcOIUcA==',0,'',11531,3617015268196232459),(3043,842151993,506964567,261655017,77,0,1695901908,60,1,22,0,0,0,_binary 'EAAGmAX8AAD4ABwAAASnAAAAAAAEcOIWhg==',0,'',11532,3617015268196232460),(3044,842151993,506964000,261656600,102,0,1695901915,60,1,22,0,0,0,_binary 'EAAGmAX/AAD4AB0AAASnAAAAAAAEcOMWxA==',0,'',11533,3617015268196232461),(3045,842151993,506963700,261656750,115,127,1695901917,50,1,22,0,0,0,_binary 'EAAGmAX/AAD4ABwAAASnAAAAAAAEcOMRpA==',0,'',11534,3617015268196232462),(3046,842151993,506963483,261656733,123,127,1695901921,0,1,22,0,0,0,_binary 'EAAGmAYAAAD4ABsAAASnAAAAAAAEcOMQxg==',0,'',11535,3617015268196232463),(3049,909719600,503905167,307952950,186,0,1695901915,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlEAAAAAAAIsosAAA==',0,'',270482,3907215930530472082),(3050,909390646,506965233,261659067,212,0,1695901907,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc6AAAAAAAEOMIAAA==',0,'',7219,3905803083858320435),(3051,859255092,506966883,261651550,135,0,1695901920,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222764,3690472519061693996),(3052,926037556,506963283,261656117,119,0,1695901959,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7148,3977301017887775724),(3053,808858678,428337500,256379000,215,0,1695901965,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337837,3474021569096132525),(3054,842151993,506963483,261656733,123,0,1695901981,0,1,22,0,0,0,_binary 'EAAGmAYAAAD4ABkAAASkAAAAAAAEcOMAAA==',0,'',11536,3617015268196232464),(3055,808793396,511722233,237005333,38,0,1695901980,220,1,20,0,0,0,_binary 'EAAHiBZiAABmABwAABRdAAAAAAAF4b4joA==',0,'',366282,3473741185041143498),(3056,959983669,506965983,261648867,134,0,1695901887,0,1,20,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280356,4123098463049369380),(3057,959983669,506965983,261648867,134,0,1695901947,0,1,19,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280357,4123098463049369381),(3060,909719600,503905167,307952950,186,0,1695901975,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlEAAAAAAAIsosAAA==',0,'',270483,3907215930530472083),(3061,909390646,506965233,261659067,212,0,1695901967,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc6AAAAAAAEOMIAAA==',0,'',7220,3905803083858320436),(3062,859255092,506966883,261651550,135,0,1695901980,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222765,3690472519061693997),(3063,926037556,506963283,261656117,119,0,1695902019,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7149,3977301017887775725),(3064,808858678,428337500,256379000,215,0,1695902025,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337838,3474021569096132526),(3065,842151993,506963483,261656733,123,0,1695902041,0,1,22,0,0,0,_binary 'EAAGmAYAAAD4ABkAAASOAAAAAAAEcOMAAA==',0,'',11537,3617015268196232465),(3066,808793396,511729000,237022033,37,127,1695902008,0,1,21,0,0,0,_binary 'EAAHiBZ9AABmABwAABRfAAAAAAAF4b4RRA==',0,'',366283,3473741185041143499),(3067,909719600,503905167,307952950,186,0,1695902035,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlEAAAAAAAIsosAAA==',0,'',270484,3907215930530472084),(3068,909390646,506965233,261659067,212,0,1695902027,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc6AAAAAAAEOMIAAA==',0,'',7221,3905803083858320437),(3069,859255092,506966883,261651550,135,0,1695902040,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222766,3690472519061693998),(3070,926037556,506963283,261656117,119,0,1695902079,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7150,3977301017887775726),(3071,808858678,428337500,256379000,215,0,1695902085,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337839,3474021569096132527),(3072,842151993,506963483,261656733,123,0,1695902101,0,1,22,0,0,0,_binary 'EAAGmAYAAAD4ABkAAASMAAAAAAAEcOMAAA==',0,'',11538,3617015268196232466),(3073,808793396,511729000,237022033,37,0,1695902068,0,1,22,0,0,0,_binary 'EAAHiBaMAABmABwAABRjAAAAAAAF4b4Upg==',0,'',366284,3473741185041143500),(3074,808793396,511734400,237034717,36,0,1695902094,80,1,22,0,0,0,_binary 'EAAHiBaSAABmABwAABRjAAAAAAAF4b4mag==',0,'',366285,3473741185041143501),(3075,959983669,506965983,261648867,134,0,1695902007,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280358,4123098463049369382),(3076,959983669,506965983,261648867,134,0,1695902067,0,1,18,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280359,4123098463049369383),(3079,909719600,503905167,307952950,186,0,1695902095,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhhlEAAAAAAAIsosAAA==',0,'',270485,3907215930530472085),(3080,909390646,506965233,261659067,212,0,1695902087,0,1,21,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc7AAAAAAAEOMIAAA==',0,'',7222,3905803083858320438),(3081,859255092,506966883,261651550,135,0,1695902100,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222767,3690472519061693999),(3082,926037556,506963283,261656117,119,0,1695902139,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7151,3977301017887775727),(3083,808858678,428337500,256379000,215,0,1695902145,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337840,3474021569096132528),(3084,842151993,506963483,261656733,123,0,1695902161,0,1,22,0,0,0,_binary 'EAAGmAYAAAD4ABgAAASSAAAAAAAEcOMAAA==',0,'',11539,3617015268196232467),(3085,808793396,511742717,237059817,43,127,1695902146,0,1,22,0,0,0,_binary 'EAAHiBa5AABmABwAABRjAAAAAAAF4b4ROg==',0,'',366286,3473741185041143502),(3086,808793396,511743283,237061183,38,0,1695902161,80,1,22,0,0,0,_binary 'EAAHiBa8AABlABwAABRjAAAAAAAF4b4Zhg==',0,'',366287,3473741185041143503),(3087,909719600,503905167,307952950,186,0,1695902155,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOihlEAAAAAAAIsosAAA==',0,'',270486,3907215930530472086),(3088,909390646,506965233,261659067,212,0,1695902147,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc7AAAAAAAEOMIAAA==',0,'',7223,3905803083858320439),(3089,859255092,506966883,261651550,135,0,1695902160,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222768,3690472519061694000),(3090,926037556,506963283,261656117,119,0,1695902199,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7152,3977301017887775728),(3091,808858678,428337500,256379000,215,0,1695902205,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337841,3474021569096132529),(3092,842151993,506963483,261656733,123,0,1695902221,0,1,22,0,0,0,_binary 'EAAGmAYAAAD4ABgAAASWAAAAAAAEcOMAAA==',0,'',11540,3617015268196232468),(3093,808793396,511746833,237073617,51,0,1695902189,100,1,22,0,0,0,_binary 'EAAHiBbPAABlABwAABRjAAAAAAAF4b4RRA==',0,'',366288,3473741185041143504),(3094,808793396,511746833,237074367,61,127,1695902191,90,1,22,0,0,0,_binary 'EAAHiBbQAABlABwAABRjAAAAAAAF4b4RMg==',0,'',366289,3473741185041143505),(3095,808793396,511746867,237075733,47,127,1695902196,70,1,22,0,0,0,_binary 'EAAHiBbSAABlABwAABRjAAAAAAAF4b4RTA==',0,'',366290,3473741185041143506),(3096,808793396,511747033,237076417,41,127,1695902201,0,1,22,0,0,0,_binary 'EAAHiBbTAABlABwAABRjAAAAAAAF4b4RPg==',0,'',366291,3473741185041143507),(3097,959983669,506965983,261648867,134,0,1695902127,0,1,20,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280360,4123098463049369384),(3098,959983669,506965983,261648867,134,0,1695902187,0,1,20,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280361,4123098463049369385),(3101,909719600,503905167,307952950,186,0,1695902215,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOihlEAAAAAAAIsosAAA==',0,'',270487,3907215930530472087),(3102,909390646,506965233,261659067,212,0,1695902207,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc8AAAAAAAEOMIAAA==',0,'',7224,3905803083858320440),(3103,859255092,506966883,261651550,135,0,1695902220,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222769,3690472519061694001),(3104,926037556,506963283,261656117,119,0,1695902259,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7153,3977301017887775729),(3105,808858678,428337500,256379000,215,0,1695902265,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337842,3474021569096132530),(3106,842151993,506963483,261656733,123,0,1695902281,0,1,22,0,0,0,_binary 'EAAGmAYAAAD4ABgAAASXAAAAAAAEcOMAAA==',0,'',11541,3617015268196232469),(3107,808793396,511747033,237076417,41,0,1695902261,0,1,22,0,0,0,_binary 'EAAHiBbTAABkABwAABRjAAAAAAAF4b4RNg==',0,'',366292,3473741185041143508),(3108,909719600,503905167,307952950,186,0,1695902275,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlEAAAAAAAIsosAAA==',0,'',270488,3907215930530472088),(3109,909390646,506965233,261659067,212,0,1695902267,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc9AAAAAAAEOMIAAA==',0,'',7225,3905803083858320441),(3110,859255092,506966883,261651550,135,0,1695902280,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222770,3690472519061694002),(3111,926037556,506963283,261656117,119,0,1695902319,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7154,3977301017887775730),(3112,808858678,428337500,256379000,215,0,1695902325,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337843,3474021569096132531),(3113,842151993,506963483,261656733,123,0,1695902341,0,1,22,0,0,0,_binary 'EAAGmAYAAAD4ABgAAASXAAAAAAAEcOMAAA==',0,'',11542,3617015268196232470),(3114,808793396,511747417,237077700,47,0,1695902290,60,1,22,0,0,0,_binary 'EAAHiBbVAABjABwAABRkAAAAAAAF4b8bCA==',0,'',366293,3473741185041143509),(3115,808793396,511748467,237084500,45,127,1695902319,0,1,22,0,0,0,_binary 'EAAHiBbeAAAAABwAABRlAAAAAAAF4b8ROA==',0,'',366294,3473741185041143510),(3116,959983669,506965983,261648867,134,0,1695902247,0,1,18,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280362,4123098463049369386),(3117,959983669,506965983,261648867,134,0,1695902307,0,1,19,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280363,4123098463049369387),(3120,909719600,503905167,307952950,186,0,1695902335,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOghlEAAAAAAAIsosAAA==',0,'',270489,3907215930530472089),(3121,909390646,506965233,261659067,212,0,1695902327,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc9AAAAAAAEOMIAAA==',0,'',7226,3905803083858320442),(3122,859255092,506966883,261651550,135,0,1695902340,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222771,3690472519061694003),(3123,926037556,506963283,261656117,119,0,1695902379,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7155,3977301017887775731),(3124,808858678,428337500,256379000,215,0,1695902385,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337844,3474021569096132532),(3125,842151993,506963483,261656733,123,0,1695902401,0,1,22,0,0,0,_binary 'EAAGmAYAAAD4ABgAAASXAAAAAAAEcOMAAA==',0,'',11543,3617015268196232471),(3126,808793396,511748467,237084500,45,0,1695902379,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABsAABRlAAAAAAAF4b8AAA==',0,'',366295,3473741185041143511),(3127,909719600,503905167,307952950,186,0,1695902395,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOghlEAAAAAAAIsosAAA==',0,'',270490,3907215930530472090),(3128,909390646,506965233,261659067,212,0,1695902387,0,1,22,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc9AAAAAAAEOMIAAA==',0,'',7227,3905803083858320443),(3129,859255092,506966883,261651550,135,0,1695902400,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222772,3690472519061694004),(3130,926037556,506963283,261656117,119,0,1695902439,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7156,3977301017887775732),(3131,808858678,428337500,256379000,215,0,1695902445,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337845,3474021569096132533),(3132,842151993,506963483,261656733,123,0,1695902461,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASXAAAAAAAEcOMAAA==',0,'',11544,3617015268196232472),(3133,808793396,511748467,237084500,45,0,1695902439,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRiAAAAAAAF4b8AAA==',0,'',366296,3473741185041143512),(3134,959983669,506965983,261648867,134,0,1695902367,0,1,18,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280364,4123098463049369388),(3135,959983669,506965983,261648867,134,0,1695902427,0,1,20,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280365,4123098463049369389),(3138,909719600,503905167,307952950,186,0,1695902455,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlEAAAAAAAIsosAAA==',0,'',270491,3907215930530472091),(3139,909390646,506965233,261659067,212,0,1695902447,0,1,21,0,0,0,_binary 'AAAGaLmBAAD4ABgAAAc9AAAAAAAEOMIAAA==',0,'',7228,3905803083858320444),(3140,859255092,506966883,261651550,135,0,1695902460,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222773,3690472519061694005),(3141,926037556,506963283,261656117,119,0,1695902499,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7157,3977301017887775733),(3142,808858678,428337500,256379000,215,0,1695902505,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337846,3474021569096132534),(3143,842151993,506963483,261656733,123,0,1695902521,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASeAAAAAAAEcOMAAA==',0,'',11545,3617015268196232473),(3144,909719600,503905167,307952950,186,0,1695902515,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOghlEAAAAAAAIsosAAA==',0,'',270492,3907215930530472092),(3145,909390646,506965233,261659067,212,0,1695902507,0,1,22,0,0,0,_binary 'EAAGaLmBAAD4ABgAAAc+AAAAAAAEOMIAAA==',0,'',7229,3905803083858320445),(3146,859255092,506966883,261651550,135,0,1695902520,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222774,3690472519061694006),(3147,926037556,506963283,261656117,119,0,1695902559,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7158,3977301017887775734),(3148,808858678,428337500,256379000,215,0,1695902565,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337847,3474021569096132535),(3149,842151993,506963483,261656733,123,0,1695902581,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASgAAAAAAAEcOMAAA==',0,'',11546,3617015268196232474),(3150,959983669,506965983,261648867,134,0,1695902487,0,1,20,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280366,4123098463049369390),(3151,959983669,506965983,261648867,134,0,1695902547,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280367,4123098463049369391),(3152,808793396,511748467,237084500,45,0,1695902499,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRiAAAAAAAF4b8AAA==',0,'',366297,3473741185041143513),(3153,808793396,511748467,237084500,45,0,1695902559,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRiAAAAAAAF4b8AAA==',0,'',366298,3473741185041143514),(3156,909719600,503905167,307952950,186,0,1695902575,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgBlEAAAAAAAIsosAAA==',0,'',270493,3907215930530472093),(3157,909390646,506965233,261659067,212,0,1695902567,0,1,22,0,0,0,_binary 'EAAGaLmBAAD4ABgAAAc+AAAAAAAEOMIAAA==',0,'',7230,3905803083858320446),(3158,859255092,506966883,261651550,135,0,1695902580,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222775,3690472519061694007),(3159,926037556,506963283,261656117,119,0,1695902619,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7159,3977301017887775735),(3160,808858678,428337500,256379000,215,0,1695902625,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337848,3474021569096132536),(3161,842151993,506963483,261656733,123,0,1695902641,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASgAAAAAAAEcOMAAA==',0,'',11547,3617015268196232475),(3162,808793396,511748467,237084500,45,0,1695902619,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRiAAAAAAAF4b8AAA==',0,'',366299,3473741185041143515),(3163,909719600,503905167,307952950,186,0,1695902635,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOgBlEAAAAAAAIsosAAA==',0,'',270494,3907215930530472094),(3164,909390646,506965233,261659067,212,0,1695902627,0,1,22,0,0,0,_binary 'EAAGaLmBAAD4ABkAAAc+AAAAAAAEOMIAAA==',0,'',7231,3905803083858320447),(3165,859255092,506966883,261651550,135,0,1695902640,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222776,3690472519061694008),(3166,926037556,506963283,261656117,119,0,1695902679,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7160,3977301017887775736),(3167,808858678,428337500,256379000,215,0,1695902685,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337849,3474021569096132537),(3168,842151993,506963483,261656733,123,0,1695902701,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASgAAAAAAAEcOMAAA==',0,'',11548,3617015268196232476),(3169,808793396,511748467,237084500,45,0,1695902679,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRkAAAAAAAF4b8AAA==',0,'',366300,3473741185041143516),(3172,909719600,503905167,307952950,186,0,1695902695,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOiRlEAAAAAAAIsosAAA==',0,'',270495,3907215930530472095),(3173,959983669,506965983,261648867,134,0,1695902607,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280368,4123098463049369392),(3174,959983669,506965983,261648867,134,0,1695902667,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280369,4123098463049369393),(3175,959983669,506965983,261648867,134,0,1695902727,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280370,4123098463049369394),(3176,909390646,506965233,261659067,212,0,1695902687,0,1,21,0,0,0,_binary 'EAAGaLmBAAD4ABsAAAc/AAAAAAAEOMIAAA==',0,'',7232,3905803083858320448),(3177,909390646,506964950,261651917,170,0,1695902732,50,1,22,0,0,0,_binary 'EAAGaLmMAAD4ABwAAAdBAAAAAAAEOMMXrA==',0,'',7233,3905803083858320449),(3178,859255092,506966883,261651550,135,0,1695902700,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222777,3690472519061694009),(3179,926037556,506963283,261656117,119,0,1695902739,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7161,3977301017887775737),(3180,808858678,428337500,256379000,215,0,1695902745,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337850,3474021569096132538),(3181,842151993,506963483,261656733,123,0,1695902761,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASgAAAAAAAEcOMAAA==',0,'',11549,3617015268196232477),(3182,808793396,511748467,237084500,45,0,1695902739,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRlAAAAAAAF4b8AAA==',0,'',366301,3473741185041143517),(3183,909719600,503905167,307952950,186,0,1695902755,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOixlEAAAAAAAIsosAAA==',0,'',270496,3907215930530472096),(3184,909390646,506964500,261648750,193,127,1695902750,0,1,22,0,0,0,_binary 'EAAGaLmMAAD4ABsAAAdBAAAAAAAEOMMAAA==',0,'',7234,3905803083858320450),(3185,859255092,506966883,261651550,135,0,1695902760,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222778,3690472519061694010),(3186,926037556,506963283,261656117,119,0,1695902799,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7162,3977301017887775738),(3187,808858678,428337500,256379000,215,0,1695902805,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337851,3474021569096132539),(3188,842151993,506963483,261656733,123,0,1695902821,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAAShAAAAAAAEcOMAAA==',0,'',11550,3617015268196232478),(3189,808793396,511748467,237084500,45,0,1695902799,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRlAAAAAAAF4b8AAA==',0,'',366302,3473741185041143518),(3190,959983669,506965983,261648867,134,0,1695902787,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280371,4123098463049369395),(3193,909719600,503905167,307952950,186,0,1695902815,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhhlEAAAAAAAIsosAAA==',0,'',270497,3907215930530472097),(3194,909390646,506964500,261648750,193,0,1695902810,0,1,22,0,0,0,_binary 'EAAGaLmMAAD4ABsAAAc/AAAAAAAEOMMAAA==',0,'',7235,3905803083858320451),(3195,859255092,506966883,261651550,135,0,1695902820,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222779,3690472519061694011),(3196,926037556,506963283,261656117,119,0,1695902859,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7163,3977301017887775739),(3197,808858678,428337500,256379000,215,0,1695902865,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337852,3474021569096132540),(3198,842151993,506963483,261656733,123,0,1695902881,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAAShAAAAAAAEcOMAAA==',0,'',11551,3617015268196232479),(3199,808793396,511748467,237084500,45,0,1695902859,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRlAAAAAAAF4b8AAA==',0,'',366303,3473741185041143519),(3200,909719600,503905167,307952950,186,0,1695902875,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlEAAAAAAAIsosAAA==',0,'',270498,3907215930530472098),(3201,909390646,506964500,261648750,193,0,1695902870,0,1,22,0,0,0,_binary 'EAAGaLmMAAD4ABsAAAc7AAAAAAAEOMMAAA==',0,'',7236,3905803083858320452),(3202,859255092,506966883,261651550,135,0,1695902880,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222780,3690472519061694012),(3203,926037556,506963283,261656117,119,0,1695902919,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7164,3977301017887775740),(3204,808858678,428337500,256379000,215,0,1695902925,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337853,3474021569096132541),(3205,842151993,506963483,261656733,123,0,1695902941,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAAShAAAAAAAEcOMAAA==',0,'',11552,3617015268196232480),(3206,808793396,511748467,237084500,45,0,1695902919,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRlAAAAAAAF4b8AAA==',0,'',366304,3473741185041143520),(3207,959983669,506965983,261648867,134,0,1695902847,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280372,4123098463049369396),(3208,959983669,506965983,261648867,134,0,1695902907,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280373,4123098463049369397),(3211,909719600,503905167,307952950,186,0,1695902935,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlEAAAAAAAIsosAAA==',0,'',270499,3907215930530472099),(3212,909390646,506964500,261648750,193,0,1695902930,0,1,22,0,0,0,_binary 'EAAGaLmMAAD4ABsAAAc2AAAAAAAEOMMAAA==',0,'',7237,3905803083858320453),(3213,859255092,506966883,261651550,135,0,1695902940,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222781,3690472519061694013),(3214,926037556,506963283,261656117,119,0,1695902979,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7165,3977301017887775741),(3215,808858678,428337500,256379000,215,0,1695902985,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337854,3474021569096132542),(3216,842151993,506963483,261656733,123,0,1695903001,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAAShAAAAAAAEcOMAAA==',0,'',11553,3617015268196232481),(3217,808793396,511748467,237084500,45,0,1695902979,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRlAAAAAAAF4b8AAA==',0,'',366305,3473741185041143521),(3218,909719600,503905167,307952950,186,0,1695902995,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlEAAAAAAAIsosAAA==',0,'',270500,3907215930530472100),(3219,909390646,506964500,261648750,193,0,1695902990,0,1,22,0,0,0,_binary 'EAAGaLmMAAD4ABsAAAc2AAAAAAAEOMMAAA==',0,'',7238,3905803083858320454),(3220,859255092,506966883,261651550,135,0,1695903000,0,1,21,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222782,3690472519061694014),(3221,926037556,506963283,261656117,119,0,1695903039,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7166,3977301017887775742),(3222,808858678,428337500,256379000,215,0,1695903045,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337855,3474021569096132543),(3223,842151993,506963483,261656733,123,0,1695903061,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASiAAAAAAAEcOMAAA==',0,'',11554,3617015268196232482),(3224,808793396,511748467,237084500,45,0,1695903039,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRlAAAAAAAF4b8AAA==',0,'',366306,3473741185041143522),(3225,959983669,506965983,261648867,134,0,1695902967,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280374,4123098463049369398),(3226,959983669,506965983,261648867,134,0,1695903027,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280375,4123098463049369399),(3229,909719600,503905167,307952950,186,0,1695903055,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlEAAAAAAAIsosAAA==',0,'',270501,3907215930530472101),(3230,909390646,506964500,261648750,193,0,1695903050,0,1,22,0,0,0,_binary 'EAAGaLmfAAD4ABsAAAc1AAAAAAAEOMMQ1A==',0,'',7239,3905803083858320455),(3231,859255092,506966883,261651550,135,0,1695903060,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222783,3690472519061694015),(3232,926037556,506963283,261656117,119,0,1695903099,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7167,3977301017887775743),(3233,808858678,428337500,256379000,215,0,1695903105,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337856,3474021569096132544),(3234,842151993,506963483,261656733,123,0,1695903121,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASiAAAAAAAEcOMAAA==',0,'',11555,3617015268196232483),(3235,808793396,511748467,237084500,45,0,1695903099,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABoAABRlAAAAAAAF4b8AAA==',0,'',366307,3473741185041143523),(3236,909719600,503905167,307952950,186,0,1695903115,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlEAAAAAAAIsosAAA==',0,'',270502,3907215930530472102),(3237,909390646,506964500,261648750,193,0,1695903110,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAczAAAAAAAEOMMAAA==',0,'',7240,3905803083858320456),(3238,859255092,506966883,261651550,135,0,1695903120,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222784,3690472519061694016),(3239,926037556,506963283,261656117,119,0,1695903159,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7168,3977301017887775744),(3240,808858678,428337500,256379000,215,0,1695903165,0,1,21,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337857,3474021569096132545),(3241,842151993,506963483,261656733,123,0,1695903181,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASiAAAAAAAEcOMAAA==',0,'',11556,3617015268196232484),(3242,808793396,511748467,237084500,45,0,1695903159,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABoAABRlAAAAAAAF4b8AAA==',0,'',366308,3473741185041143524),(3243,959983669,506965983,261648867,134,0,1695903087,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280376,4123098463049369400),(3244,959983669,506965983,261648867,134,0,1695903147,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280377,4123098463049369401),(3247,909719600,503905167,307952950,186,0,1695903175,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlEAAAAAAAIsosAAA==',0,'',270503,3907215930530472103),(3248,909390646,506964500,261648750,193,0,1695903170,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAccAAAAAAAEOMMAAA==',0,'',7241,3905803083858320457),(3249,859255092,506966883,261651550,135,0,1695903180,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222785,3690472519061694017),(3250,926037556,506963283,261656117,119,0,1695903219,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7169,3977301017887775745),(3251,808858678,428337500,256379000,215,0,1695903225,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337858,3474021569096132546),(3252,842151993,506963483,261656733,123,0,1695903241,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASiAAAAAAAEcOMAAA==',0,'',11557,3617015268196232485),(3253,808793396,511748467,237084500,45,0,1695903219,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABoAABRlAAAAAAAF4b8AAA==',0,'',366309,3473741185041143525),(3254,909719600,503905167,307952950,186,0,1695903235,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOghlFAAAAAAAIsosAAA==',0,'',270504,3907215930530472104),(3255,909390646,506964500,261648750,193,0,1695903230,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcYAAAAAAAEOMMAAA==',0,'',7242,3905803083858320458),(3256,859255092,506966883,261651550,135,0,1695903240,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222786,3690472519061694018),(3257,926037556,506963283,261656117,119,0,1695903279,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7170,3977301017887775746),(3258,808858678,428337500,256379000,215,0,1695903285,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337859,3474021569096132547),(3259,842151993,506963483,261656733,123,0,1695903301,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASiAAAAAAAEcOMAAA==',0,'',11558,3617015268196232486),(3260,909719600,503905167,307952950,186,0,1695903295,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270505,3907215930530472105),(3261,808793396,511748467,237084500,45,0,1695903279,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366310,3473741185041143526),(3262,959983669,506965983,261648867,134,0,1695903207,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280378,4123098463049369402),(3263,959983669,506965983,261648867,134,0,1695903267,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280379,4123098463049369403),(3266,909390646,506964500,261648750,193,0,1695903290,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcYAAAAAAAEOMMAAA==',0,'',7243,3905803083858320459),(3267,859255092,506966883,261651550,135,0,1695903300,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222787,3690472519061694019),(3268,959983669,506965983,261648867,134,0,1695903327,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280380,4123098463049369404),(3269,926037556,506963283,261656117,119,0,1695903339,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7171,3977301017887775747),(3270,808858678,428337500,256379000,215,0,1695903345,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337860,3474021569096132548),(3271,842151993,506963483,261656733,123,0,1695903361,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASiAAAAAAAEcOMAAA==',0,'',11559,3617015268196232487),(3272,808793396,511748467,237084500,45,0,1695903339,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366311,3473741185041143527),(3273,909719600,503905167,307952950,186,0,1695903355,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270506,3907215930530472106),(3274,909390646,506964500,261648750,193,0,1695903350,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcYAAAAAAAEOMMAAA==',0,'',7244,3905803083858320460),(3275,859255092,506966883,261651550,135,0,1695903360,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222788,3690472519061694020),(3276,926037556,506963283,261656117,119,0,1695903399,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7172,3977301017887775748),(3277,808858678,428337500,256379000,215,0,1695903405,0,1,21,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337861,3474021569096132549),(3278,959983669,506965983,261648867,134,0,1695903387,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280381,4123098463049369405),(3279,842151993,506963483,261656733,123,0,1695903421,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASiAAAAAAAEcOMAAA==',0,'',11560,3617015268196232488),(3280,808793396,511748467,237084500,45,0,1695903399,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366312,3473741185041143528),(3283,909719600,503905167,307952950,186,0,1695903415,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270507,3907215930530472107),(3284,909390646,506964500,261648750,193,0,1695903410,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcfAAAAAAAEOMMAAA==',0,'',7245,3905803083858320461),(3285,859255092,506966883,261651550,135,0,1695903420,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222789,3690472519061694021),(3286,959983669,506965983,261648867,134,0,1695903447,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280382,4123098463049369406),(3287,926037556,506963283,261656117,119,0,1695903459,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7173,3977301017887775749),(3288,808858678,428337500,256379000,215,0,1695903465,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337862,3474021569096132550),(3289,842151993,506963483,261656733,123,0,1695903481,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASjAAAAAAAEcOMAAA==',0,'',11561,3617015268196232489),(3290,808793396,511748467,237084500,45,0,1695903459,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366313,3473741185041143529),(3291,909719600,503905167,307952950,186,0,1695903475,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270508,3907215930530472108),(3292,909390646,506964500,261648750,193,0,1695903470,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcgAAAAAAAEOMMAAA==',0,'',7246,3905803083858320462),(3293,859255092,506966883,261651550,135,0,1695903480,0,1,21,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222790,3690472519061694022),(3294,959983669,506965983,261648867,134,0,1695903507,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280383,4123098463049369407),(3295,926037556,506963283,261656117,119,0,1695903519,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7174,3977301017887775750),(3296,808858678,428337500,256379000,215,0,1695903525,0,1,22,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337863,3474021569096132551),(3297,842151993,506963483,261656733,123,0,1695903541,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASjAAAAAAAEcOMAAA==',0,'',11562,3617015268196232490),(3298,808793396,511748467,237084500,45,0,1695903519,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366314,3473741185041143530),(3301,909719600,503905167,307952950,186,0,1695903535,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270509,3907215930530472109),(3302,909390646,506964500,261648750,193,0,1695903530,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcgAAAAAAAEOMMAAA==',0,'',7247,3905803083858320463),(3303,859255092,506966883,261651550,135,0,1695903540,0,1,21,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222791,3690472519061694023),(3304,959983669,506965983,261648867,134,0,1695903567,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280384,4123098463049369408),(3305,926037556,506963283,261656117,119,0,1695903579,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7175,3977301017887775751),(3306,808858678,428337500,256379000,215,0,1695903585,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABkKlRqUAAAAAAAI5HUAAA==',0,'',337864,3474021569096132552),(3307,842151993,506963483,261656733,123,0,1695903601,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASjAAAAAAAEcOMAAA==',0,'',11563,3617015268196232491),(3308,808793396,511748467,237084500,45,0,1695903579,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366315,3473741185041143531),(3309,909719600,503905167,307952950,186,0,1695903595,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270510,3907215930530472110),(3310,909390646,506964500,261648750,193,0,1695903590,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcgAAAAAAAEOMMAAA==',0,'',7248,3905803083858320464),(3311,859255092,506966883,261651550,135,0,1695903600,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222792,3690472519061694024),(3312,959983669,506965983,261648867,134,0,1695903627,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280385,4123098463049369409),(3313,926037556,506963283,261656117,119,0,1695903639,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7176,3977301017887775752),(3314,808858678,428337500,256379000,215,0,1695903645,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlRqUAAAAAAAI5HUAAA==',0,'',337865,3474021569096132553),(3315,842151993,506963483,261656733,123,0,1695903661,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASjAAAAAAAEcOMAAA==',0,'',11564,3617015268196232492),(3316,808793396,511748467,237084500,45,0,1695903639,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366316,3473741185041143532),(3319,909719600,503905167,307952950,186,0,1695903655,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhhlFAAAAAAAIsosAAA==',0,'',270511,3907215930530472111),(3320,909390646,506964500,261648750,193,0,1695903650,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcgAAAAAAAEOMMAAA==',0,'',7249,3905803083858320465),(3321,859255092,506966883,261651550,135,0,1695903660,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222793,3690472519061694025),(3322,959983669,506965983,261648867,134,0,1695903687,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAsAAAAAAAML6oAAA==',0,'',280386,4123098463049369410),(3323,926037556,506963283,261656117,119,0,1695903699,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7177,3977301017887775753),(3324,808858678,428337500,256379000,215,0,1695903705,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337866,3474021569096132554),(3325,842151993,506963483,261656733,123,0,1695903721,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASjAAAAAAAEcOMAAA==',0,'',11565,3617015268196232493),(3326,808793396,511748467,237084500,45,0,1695903699,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366317,3473741185041143533),(3327,909719600,503905167,307952950,186,0,1695903715,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270512,3907215930530472112),(3328,909390646,506964500,261648750,193,0,1695903710,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcgAAAAAAAEOMMAAA==',0,'',7250,3905803083858320466),(3329,859255092,506966883,261651550,135,0,1695903720,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222794,3690472519061694026),(3330,959983669,506965983,261648867,134,0,1695903747,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAsAAAAAAAML6oAAA==',0,'',280387,4123098463049369411),(3331,926037556,506963283,261656117,119,0,1695903759,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7178,3977301017887775754),(3332,808858678,428337500,256379000,215,0,1695903765,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337867,3474021569096132555),(3333,842151993,506963483,261656733,123,0,1695903781,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASjAAAAAAAEcOMAAA==',0,'',11566,3617015268196232494),(3334,808793396,511748467,237084500,45,0,1695903759,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366318,3473741185041143534),(3337,909719600,503905167,307952950,186,0,1695903775,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270513,3907215930530472113),(3338,909390646,506964500,261648750,193,0,1695903770,0,1,20,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcfAAAAAAAEOMMAAA==',0,'',7251,3905803083858320467),(3339,859255092,506966883,261651550,135,0,1695903780,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222795,3690472519061694027),(3340,959983669,506965983,261648867,134,0,1695903807,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAsAAAAAAAML6oAAA==',0,'',280388,4123098463049369412),(3341,926037556,506963283,261656117,119,0,1695903819,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7179,3977301017887775755),(3342,808858678,428337500,256379000,215,0,1695903825,0,1,21,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337868,3474021569096132556),(3343,842151993,506963483,261656733,123,0,1695903841,0,1,19,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASjAAAAAAAEcOMAAA==',0,'',11567,3617015268196232495),(3344,808793396,511748467,237084500,45,0,1695903819,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366319,3473741185041143535),(3345,909719600,503905167,307952950,186,0,1695903835,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270514,3907215930530472114),(3346,909390646,506964500,261648750,193,0,1695903830,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAciAAAAAAAEOMMAAA==',0,'',7252,3905803083858320468),(3347,859255092,506966883,261651550,135,0,1695903840,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222796,3690472519061694028),(3348,959983669,506965983,261648867,134,0,1695903867,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAsAAAAAAAML6oAAA==',0,'',280389,4123098463049369413),(3349,926037556,506963283,261656117,119,0,1695903879,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7180,3977301017887775756),(3350,808858678,428337500,256379000,215,0,1695903885,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337869,3474021569096132557),(3351,842151993,506963483,261656733,123,0,1695903901,0,1,19,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASjAAAAAAAEcOMAAA==',0,'',11568,3617015268196232496),(3352,808793396,511748467,237084500,45,0,1695903879,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366320,3473741185041143536),(3355,909719600,503905167,307952950,186,0,1695903895,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270515,3907215930530472115),(3356,909390646,506964500,261648750,193,0,1695903890,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAckAAAAAAAEOMMAAA==',0,'',7253,3905803083858320469),(3357,859255092,506966883,261651550,135,0,1695903900,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222797,3690472519061694029),(3358,959983669,506965983,261648867,134,0,1695903927,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAsAAAAAAAML6oAAA==',0,'',280390,4123098463049369414),(3359,926037556,506963283,261656117,119,0,1695903939,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7181,3977301017887775757),(3360,808858678,428337500,256379000,215,0,1695903945,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337870,3474021569096132558),(3361,842151993,506963483,261656733,123,0,1695903961,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASkAAAAAAAEcOMAAA==',0,'',11569,3617015268196232497),(3362,808793396,511748467,237084500,45,0,1695903939,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366321,3473741185041143537),(3363,909719600,503905167,307952950,186,0,1695903955,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270516,3907215930530472116),(3364,909390646,506964500,261648750,193,0,1695903950,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAclAAAAAAAEOMMAAA==',0,'',7254,3905803083858320470),(3365,859255092,506966883,261651550,135,0,1695903960,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222798,3690472519061694030),(3366,959983669,506965983,261648867,134,0,1695903987,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280391,4123098463049369415),(3367,926037556,506963283,261656117,119,0,1695903999,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7182,3977301017887775758),(3368,808858678,428337500,256379000,215,0,1695904005,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337871,3474021569096132559),(3369,842151993,506963483,261656733,123,0,1695904021,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASkAAAAAAAEcOMAAA==',0,'',11570,3617015268196232498),(3370,808793396,511748467,237084500,45,0,1695903999,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366322,3473741185041143538),(3373,909719600,503905167,307952950,186,0,1695904015,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270517,3907215930530472117),(3374,909390646,506964500,261648750,193,0,1695904010,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcmAAAAAAAEOMMAAA==',0,'',7255,3905803083858320471),(3375,859255092,506966883,261651550,135,0,1695904020,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222799,3690472519061694031),(3376,959983669,506965983,261648867,134,0,1695904047,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280392,4123098463049369416),(3377,926037556,506963283,261656117,119,0,1695904059,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7183,3977301017887775759),(3378,808858678,428337500,256379000,215,0,1695904065,0,1,21,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337872,3474021569096132560),(3379,842151993,506963483,261656733,123,0,1695904081,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASkAAAAAAAEcOMAAA==',0,'',11571,3617015268196232499),(3380,909719600,503905167,307952950,186,0,1695904075,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270518,3907215930530472118),(3381,808793396,511748467,237084500,45,0,1695904059,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366323,3473741185041143539),(3382,909390646,506964500,261648750,193,0,1695904070,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcmAAAAAAAEOMMAAA==',0,'',7256,3905803083858320472),(3383,859255092,506966883,261651550,135,0,1695904080,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222800,3690472519061694032),(3384,959983669,506965983,261648867,134,0,1695904107,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280393,4123098463049369417),(3385,926037556,506963283,261656117,119,0,1695904119,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7184,3977301017887775760),(3386,808858678,428337500,256379000,215,0,1695904125,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337873,3474021569096132561),(3387,842151993,506963483,261656733,123,0,1695904141,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASkAAAAAAAEcOMAAA==',0,'',11572,3617015268196232500),(3388,808793396,511748467,237084500,45,0,1695904119,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366324,3473741185041143540),(3391,909719600,503905167,307952950,186,0,1695904135,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270519,3907215930530472119),(3392,909390646,506964500,261648750,193,0,1695904130,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcmAAAAAAAEOMMAAA==',0,'',7257,3905803083858320473),(3393,859255092,506966883,261651550,135,0,1695904140,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222801,3690472519061694033),(3394,959983669,506965983,261648867,134,0,1695904167,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280394,4123098463049369418),(3395,926037556,506963283,261656117,119,0,1695904179,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7185,3977301017887775761),(3396,808858678,428337500,256379000,215,0,1695904185,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337874,3474021569096132562),(3397,842151993,506963483,261656733,123,0,1695904201,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASlAAAAAAAEcOMAAA==',0,'',11573,3617015268196232501),(3398,808793396,511748467,237084500,45,0,1695904179,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366325,3473741185041143541),(3399,909719600,503905167,307952950,186,0,1695904195,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270520,3907215930530472120),(3400,909390646,506964500,261648750,193,0,1695904190,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAckAAAAAAAEOMMAAA==',0,'',7258,3905803083858320474),(3401,859255092,506966883,261651550,135,0,1695904200,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222802,3690472519061694034),(3402,959983669,506965983,261648867,134,0,1695904227,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280395,4123098463049369419),(3403,926037556,506963283,261656117,119,0,1695904239,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7186,3977301017887775762),(3404,808858678,428337500,256379000,215,0,1695904245,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337875,3474021569096132563),(3405,842151993,506963483,261656733,123,0,1695904261,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASlAAAAAAAEcOMAAA==',0,'',11574,3617015268196232502),(3406,808793396,511748467,237084500,45,0,1695904239,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366326,3473741185041143542),(3409,909719600,503905167,307952950,186,0,1695904255,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270521,3907215930530472121),(3410,909390646,506964500,261648750,193,0,1695904250,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAckAAAAAAAEOMMAAA==',0,'',7259,3905803083858320475),(3411,859255092,506966883,261651550,135,0,1695904260,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222803,3690472519061694035),(3412,959983669,506965983,261648867,134,0,1695904287,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280396,4123098463049369420),(3413,926037556,506963283,261656117,119,0,1695904299,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7187,3977301017887775763),(3414,808858678,428337500,256379000,215,0,1695904305,0,1,21,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337876,3474021569096132564),(3415,842151993,506963483,261656733,123,0,1695904321,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASlAAAAAAAEcOMAAA==',0,'',11575,3617015268196232503),(3416,808793396,511748467,237084500,45,0,1695904299,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366327,3473741185041143543),(3417,909719600,503905167,307952950,186,0,1695904315,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270522,3907215930530472122),(3418,909390646,506964500,261648750,193,0,1695904310,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAclAAAAAAAEOMMAAA==',0,'',7260,3905803083858320476),(3419,859255092,506966883,261651550,135,0,1695904320,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222804,3690472519061694036),(3420,959983669,506965983,261648867,134,0,1695904347,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280397,4123098463049369421),(3421,926037556,506963283,261656117,119,0,1695904359,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7188,3977301017887775764),(3422,808858678,428337500,256379000,215,0,1695904365,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337877,3474021569096132565),(3423,842151993,506963483,261656733,123,0,1695904381,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASlAAAAAAAEcOMAAA==',0,'',11576,3617015268196232504),(3424,808793396,511748467,237084500,45,0,1695904359,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366328,3473741185041143544),(3427,909719600,503905167,307952950,186,0,1695904375,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270523,3907215930530472123),(3428,909390646,506964500,261648750,193,0,1695904370,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcmAAAAAAAEOMMAAA==',0,'',7261,3905803083858320477),(3429,859255092,506966883,261651550,135,0,1695904380,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222805,3690472519061694037),(3430,959983669,506965983,261648867,134,0,1695904407,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280398,4123098463049369422),(3431,926037556,506963283,261656117,119,0,1695904419,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7189,3977301017887775765),(3432,808858678,428337500,256379000,215,0,1695904425,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337878,3474021569096132566),(3433,842151993,506963483,261656733,123,0,1695904441,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASlAAAAAAAEcOMAAA==',0,'',11577,3617015268196232505),(3434,808793396,511748467,237084500,45,0,1695904419,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRlAAAAAAAF4b8AAA==',0,'',366329,3473741185041143545),(3435,909719600,503905167,307952950,186,0,1695904435,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270524,3907215930530472124),(3436,909390646,506964500,261648750,193,0,1695904430,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcmAAAAAAAEOMMAAA==',0,'',7262,3905803083858320478),(3437,859255092,506966883,261651550,135,0,1695904440,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222806,3690472519061694038),(3438,959983669,506965983,261648867,134,0,1695904467,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280399,4123098463049369423),(3439,926037556,506963283,261656117,119,0,1695904479,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7190,3977301017887775766),(3440,808858678,428337500,256379000,215,0,1695904485,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337879,3474021569096132567),(3441,842151993,506963483,261656733,123,0,1695904501,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASlAAAAAAAEcOMAAA==',0,'',11578,3617015268196232506),(3442,808793396,511748467,237084500,45,0,1695904479,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366330,3473741185041143546),(3445,909719600,503905167,307952950,186,0,1695904495,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270525,3907215930530472125),(3446,909390646,506964500,261648750,193,0,1695904490,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcnAAAAAAAEOMMAAA==',0,'',7263,3905803083858320479),(3447,859255092,506966883,261651550,135,0,1695904500,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222807,3690472519061694039),(3448,959983669,506965983,261648867,134,0,1695904527,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280400,4123098463049369424),(3449,926037556,506963283,261656117,119,0,1695904539,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7191,3977301017887775767),(3450,808858678,428337500,256379000,215,0,1695904545,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337880,3474021569096132568),(3451,842151993,506963483,261656733,123,0,1695904561,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASlAAAAAAAEcOMAAA==',0,'',11579,3617015268196232507),(3452,808793396,511748467,237084500,45,0,1695904539,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366331,3473741185041143547),(3453,909719600,503905167,307952950,186,0,1695904555,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270526,3907215930530472126),(3454,909390646,506964500,261648750,193,0,1695904550,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcnAAAAAAAEOMMAAA==',0,'',7264,3905803083858320480),(3455,859255092,506966883,261651550,135,0,1695904560,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222808,3690472519061694040),(3456,959983669,506965983,261648867,134,0,1695904587,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280401,4123098463049369425),(3457,926037556,506963283,261656117,119,0,1695904599,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7192,3977301017887775768),(3458,808858678,428337500,256379000,215,0,1695904605,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337881,3474021569096132569),(3459,842151993,506963483,261656733,123,0,1695904621,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASlAAAAAAAEcOMAAA==',0,'',11580,3617015268196232508),(3460,808793396,511748467,237084500,45,0,1695904599,0,1,18,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366332,3473741185041143548),(3463,909719600,503905167,307952950,186,0,1695904615,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270527,3907215930530472127),(3464,909390646,506964500,261648750,193,0,1695904610,0,1,20,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7265,3905803083858320481),(3465,859255092,506966883,261651550,135,0,1695904620,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222809,3690472519061694041),(3466,959983669,506965983,261648867,134,0,1695904647,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280402,4123098463049369426),(3467,926037556,506963283,261656117,119,0,1695904659,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7193,3977301017887775769),(3468,808858678,428337500,256379000,215,0,1695904665,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337882,3474021569096132570),(3469,842151993,506963483,261656733,123,0,1695904681,0,1,20,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASmAAAAAAAEcOMAAA==',0,'',11581,3617015268196232509),(3470,808793396,511748467,237084500,45,0,1695904659,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366333,3473741185041143549),(3471,909719600,503905167,307952950,186,0,1695904675,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270528,3907215930530472128),(3472,909390646,506964500,261648750,193,0,1695904670,0,1,19,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7266,3905803083858320482),(3473,859255092,506966883,261651550,135,0,1695904680,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222810,3690472519061694042),(3474,959983669,506965983,261648867,134,0,1695904707,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280403,4123098463049369427),(3475,926037556,506963283,261656117,119,0,1695904719,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7194,3977301017887775770),(3476,808858678,428337500,256379000,215,0,1695904725,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337883,3474021569096132571),(3477,842151993,506963483,261656733,123,0,1695904741,0,1,20,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASmAAAAAAAEcOMAAA==',0,'',11582,3617015268196232510),(3478,808793396,511748467,237084500,45,0,1695904719,0,1,19,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366334,3473741185041143550),(3481,909719600,503905167,307952950,186,0,1695904735,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270529,3907215930530472129),(3482,909390646,506964500,261648750,193,0,1695904730,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7267,3905803083858320483),(3483,959983669,506965983,261648867,134,0,1695904767,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280404,4123098463049369428),(3484,859255092,506966883,261651550,135,0,1695904740,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222811,3690472519061694043),(3485,926037556,506963283,261656117,119,0,1695904779,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7195,3977301017887775771),(3486,808858678,428337500,256379000,215,0,1695904785,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337884,3474021569096132572),(3487,842151993,506963483,261656733,123,0,1695904801,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASmAAAAAAAEcOMAAA==',0,'',11583,3617015268196232511),(3488,808793396,511748467,237084500,45,0,1695904779,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366335,3473741185041143551),(3489,909719600,503905167,307952950,186,0,1695904795,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270530,3907215930530472130),(3490,909390646,506964500,261648750,193,0,1695904790,0,1,20,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7268,3905803083858320484),(3491,859255092,506966883,261651550,135,0,1695904800,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222812,3690472519061694044),(3492,959983669,506965983,261648867,134,0,1695904827,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280405,4123098463049369429),(3493,926037556,506963283,261656117,119,0,1695904839,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbyAAAAAAAFEvwAAA==',0,'',7196,3977301017887775772),(3494,808858678,428337500,256379000,215,0,1695904845,0,1,20,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337885,3474021569096132573),(3495,842151993,506963483,261656733,123,0,1695904861,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASmAAAAAAAEcOMAAA==',0,'',11584,3617015268196232512),(3496,808793396,511748467,237084500,45,0,1695904839,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366336,3473741185041143552),(3499,909719600,503905167,307952950,186,0,1695904855,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270531,3907215930530472131),(3500,909390646,506964500,261648750,193,0,1695904850,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7269,3905803083858320485),(3501,859255092,506966883,261651550,135,0,1695904860,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222813,3690472519061694045),(3502,959983669,506965983,261648867,134,0,1695904887,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280406,4123098463049369430),(3503,926037556,506963283,261656117,119,0,1695904899,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7197,3977301017887775773),(3504,808858678,428337500,256379000,215,0,1695904905,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337886,3474021569096132574),(3505,842151993,506963483,261656733,123,0,1695904921,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASmAAAAAAAEcOMAAA==',0,'',11585,3617015268196232513),(3506,808793396,511748467,237084500,45,0,1695904899,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366337,3473741185041143553),(3507,909719600,503905167,307952950,186,0,1695904915,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270532,3907215930530472132),(3508,909390646,506964500,261648750,193,0,1695904910,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7270,3905803083858320486),(3509,859255092,506966883,261651550,135,0,1695904920,0,1,16,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222814,3690472519061694046),(3510,959983669,506965983,261648867,134,0,1695904947,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280407,4123098463049369431),(3511,926037556,506963283,261656117,119,0,1695904959,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7198,3977301017887775774),(3512,808858678,428337500,256379000,215,0,1695904965,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABkKkxqUAAAAAAAI5HUAAA==',0,'',337887,3474021569096132575),(3513,842151993,506963483,261656733,123,0,1695904981,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASmAAAAAAAEcOMAAA==',0,'',11586,3617015268196232514),(3514,808793396,511748467,237084500,45,0,1695904959,0,1,19,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366338,3473741185041143554),(3517,909719600,503905167,307952950,186,0,1695904975,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270533,3907215930530472133),(3518,909390646,506964500,261648750,193,0,1695904970,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7271,3905803083858320487),(3519,859255092,506966883,261651550,135,0,1695904980,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222815,3690472519061694047),(3520,959983669,506965983,261648867,134,0,1695905007,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280408,4123098463049369432),(3521,926037556,506963283,261656117,119,0,1695905019,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7199,3977301017887775775),(3522,808858678,428337500,256379000,215,0,1695905025,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKkxqUAAAAAAAI5HUAAA==',0,'',337888,3474021569096132576),(3523,842151993,506963483,261656733,123,0,1695905041,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASmAAAAAAAEcOMAAA==',0,'',11587,3617015268196232515),(3524,808793396,511748467,237084500,45,0,1695905019,0,1,19,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366339,3473741185041143555),(3525,909719600,503905167,307952950,186,0,1695905035,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270534,3907215930530472134),(3526,909390646,506964500,261648750,193,0,1695905030,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7272,3905803083858320488),(3527,859255092,506966883,261651550,135,0,1695905040,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222816,3690472519061694048),(3528,959983669,506965983,261648867,134,0,1695905067,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280409,4123098463049369433),(3529,926037556,506963283,261656117,119,0,1695905079,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7200,3977301017887775776),(3530,808858678,428337500,256379000,215,0,1695905085,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKkxqUAAAAAAAI5HUAAA==',0,'',337889,3474021569096132577),(3531,842151993,506963483,261656733,123,0,1695905101,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASnAAAAAAAEcOMAAA==',0,'',11588,3617015268196232516),(3532,808793396,511748467,237084500,45,0,1695905079,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366340,3473741185041143556),(3535,909719600,503905167,307952950,186,0,1695905095,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270535,3907215930530472135),(3536,909390646,506964500,261648750,193,0,1695905090,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7273,3905803083858320489),(3537,859255092,506966883,261651550,135,0,1695905100,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222817,3690472519061694049),(3538,959983669,506965983,261648867,134,0,1695905127,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280410,4123098463049369434),(3539,926037556,506963283,261656117,119,0,1695905139,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7201,3977301017887775777),(3540,808858678,428337500,256379000,215,0,1695905145,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKkxqUAAAAAAAI5HUAAA==',0,'',337890,3474021569096132578),(3541,842151993,506963483,261656733,123,0,1695905161,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASnAAAAAAAEcOMAAA==',0,'',11589,3617015268196232517),(3542,808793396,511748467,237084500,45,0,1695905139,0,1,19,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366341,3473741185041143557),(3543,909719600,503905167,307952950,186,0,1695905155,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270536,3907215930530472136),(3544,909390646,506964500,261648750,193,0,1695905150,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7274,3905803083858320490),(3545,959983669,506965983,261648867,134,0,1695905187,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280411,4123098463049369435),(3546,859255092,506966883,261651550,135,0,1695905160,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ9AAAAAAAKnqQAAA==',0,'',222818,3690472519061694050),(3547,926037556,506963283,261656117,119,0,1695905199,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7202,3977301017887775778),(3548,808858678,428337500,256379000,215,0,1695905205,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKkxqUAAAAAAAI5HUAAA==',0,'',337891,3474021569096132579),(3549,842151993,506963483,261656733,123,0,1695905221,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASnAAAAAAAEcOMAAA==',0,'',11590,3617015268196232518),(3550,808793396,511748467,237084500,45,0,1695905199,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366342,3473741185041143558),(3553,909719600,503905167,307952950,186,0,1695905215,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270537,3907215930530472137),(3554,909390646,506964500,261648750,193,0,1695905210,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7275,3905803083858320491),(3555,959983669,506965983,261648867,134,0,1695905247,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280412,4123098463049369436),(3556,859255092,506966883,261651550,135,0,1695905220,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222819,3690472519061694051),(3557,926037556,506963283,261656117,119,0,1695905259,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7203,3977301017887775779),(3558,808858678,428337500,256379000,215,0,1695905265,0,1,16,0,0,0,_binary 'AAAMZ32RAADvABkKkxqUAAAAAAAI5HUAAA==',0,'',337892,3474021569096132580),(3559,842151993,506963483,261656733,123,0,1695905281,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASnAAAAAAAEcOMAAA==',0,'',11591,3617015268196232519),(3560,808793396,511748467,237084500,45,0,1695905259,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366343,3473741185041143559),(3561,909719600,503905167,307952950,186,0,1695905275,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270538,3907215930530472138),(3562,909390646,506964500,261648750,193,0,1695905270,0,1,20,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7276,3905803083858320492),(3563,859255092,506966883,261651550,135,0,1695905280,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222820,3690472519061694052),(3564,959983669,506965983,261648867,134,0,1695905307,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280413,4123098463049369437),(3565,926037556,506963283,261656117,119,0,1695905319,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7204,3977301017887775780),(3566,808858678,428337500,256379000,215,0,1695905325,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABkKkxqUAAAAAAAI5HUAAA==',0,'',337893,3474021569096132581),(3567,842151993,506963483,261656733,123,0,1695905341,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASnAAAAAAAEcOMAAA==',0,'',11592,3617015268196232520),(3568,808793396,511748467,237084500,45,0,1695905319,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366344,3473741185041143560),(3571,909719600,503905167,307952950,186,0,1695905335,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270539,3907215930530472139),(3572,909390646,506964500,261648750,193,0,1695905330,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7277,3905803083858320493),(3573,859255092,506966883,261651550,135,0,1695905340,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222821,3690472519061694053),(3574,959983669,506965983,261648867,134,0,1695905367,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280414,4123098463049369438),(3575,926037556,506963283,261656117,119,0,1695905379,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7205,3977301017887775781),(3576,808858678,428337500,256379000,215,0,1695905385,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKkxqUAAAAAAAI5HUAAA==',0,'',337894,3474021569096132582),(3577,842151993,506963483,261656733,123,0,1695905401,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASnAAAAAAAEcOMAAA==',0,'',11593,3617015268196232521),(3578,808793396,511748467,237084500,45,0,1695905379,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366345,3473741185041143561),(3579,909719600,503905167,307952950,186,0,1695905395,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270540,3907215930530472140),(3580,909390646,506964500,261648750,193,0,1695905390,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7278,3905803083858320494),(3581,859255092,506966883,261651550,135,0,1695905400,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222822,3690472519061694054),(3582,959983669,506965983,261648867,134,0,1695905427,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280415,4123098463049369439),(3583,926037556,506963283,261656117,119,0,1695905439,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7206,3977301017887775782),(3584,808858678,428337500,256379000,215,0,1695905445,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKkxqUAAAAAAAI5HUAAA==',0,'',337895,3474021569096132583),(3585,842151993,506963483,261656733,123,0,1695905461,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASnAAAAAAAEcOMAAA==',0,'',11594,3617015268196232522),(3586,808793396,511748467,237084500,45,0,1695905439,0,1,18,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366346,3473741185041143562),(3589,909719600,503905167,307952950,186,0,1695905455,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270541,3907215930530472141),(3590,909390646,506964500,261648750,193,0,1695905450,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7279,3905803083858320495),(3591,859255092,506966883,261651550,135,0,1695905460,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222823,3690472519061694055),(3592,959983669,506965983,261648867,134,0,1695905487,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280416,4123098463049369440),(3593,926037556,506963283,261656117,119,0,1695905499,0,1,19,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7207,3977301017887775783),(3594,808858678,428337500,256379000,215,0,1695905505,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337896,3474021569096132584),(3595,842151993,506963483,261656733,123,0,1695905521,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASnAAAAAAAEcOMAAA==',0,'',11595,3617015268196232523),(3596,808793396,511748467,237084500,45,0,1695905499,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366347,3473741185041143563),(3597,909719600,503905167,307952950,186,0,1695905515,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270542,3907215930530472142),(3598,909390646,506964500,261648750,193,0,1695905510,0,1,19,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7280,3905803083858320496),(3599,859255092,506966883,261651550,135,0,1695905520,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222824,3690472519061694056),(3600,959983669,506965983,261648867,134,0,1695905547,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280417,4123098463049369441),(3601,926037556,506963283,261656117,119,0,1695905559,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7208,3977301017887775784),(3602,808858678,428337500,256379000,215,0,1695905565,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337897,3474021569096132585),(3603,842151993,506963483,261656733,123,0,1695905581,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASnAAAAAAAEcOMAAA==',0,'',11596,3617015268196232524),(3604,808793396,511748467,237084500,45,0,1695905559,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366348,3473741185041143564),(3607,909719600,503905167,307952950,186,0,1695905575,0,1,19,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270543,3907215930530472143),(3608,909390646,506964500,261648750,193,0,1695905570,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7281,3905803083858320497),(3609,859255092,506966883,261651550,135,0,1695905580,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222825,3690472519061694057),(3610,959983669,506965983,261648867,134,0,1695905607,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280418,4123098463049369442),(3611,926037556,506963283,261656117,119,0,1695905619,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7209,3977301017887775785),(3612,808858678,428337500,256379000,215,0,1695905625,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337898,3474021569096132586),(3613,842151993,506963483,261656733,123,0,1695905641,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASnAAAAAAAEcOMAAA==',0,'',11597,3617015268196232525),(3614,808793396,511748467,237084500,45,0,1695905619,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366349,3473741185041143565),(3615,909719600,503905167,307952950,186,0,1695905635,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOghlFAAAAAAAIsosAAA==',0,'',270544,3907215930530472144),(3616,909390646,506964500,261648750,193,0,1695905630,0,1,19,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcnAAAAAAAEOMMAAA==',0,'',7282,3905803083858320498),(3617,859255092,506966883,261651550,135,0,1695905640,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222826,3690472519061694058),(3618,959983669,506965983,261648867,134,0,1695905667,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280419,4123098463049369443),(3619,926037556,506963283,261656117,119,0,1695905679,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7210,3977301017887775786),(3620,808858678,428337500,256379000,215,0,1695905685,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337899,3474021569096132587),(3621,842151993,506963483,261656733,123,0,1695905701,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASnAAAAAAAEcOMAAA==',0,'',11598,3617015268196232526),(3622,808793396,511748467,237084500,45,0,1695905679,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366350,3473741185041143566),(3625,909719600,503905167,307952950,186,0,1695905695,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlFAAAAAAAIsosAAA==',0,'',270545,3907215930530472145),(3626,909390646,506964500,261648750,193,0,1695905690,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7283,3905803083858320499),(3627,959983669,506965983,261648867,134,0,1695905727,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280420,4123098463049369444),(3628,859255092,506966883,261651550,135,0,1695905700,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222827,3690472519061694059),(3629,926037556,506963283,261656117,119,0,1695905739,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7211,3977301017887775787),(3630,808858678,428337500,256379000,215,0,1695905745,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337900,3474021569096132588),(3631,842151993,506963483,261656733,123,0,1695905761,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASnAAAAAAAEcOMAAA==',0,'',11599,3617015268196232527),(3632,808793396,511748467,237084500,45,0,1695905739,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366351,3473741185041143567),(3633,909719600,503905167,307952950,186,0,1695905755,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlFAAAAAAAIsosAAA==',0,'',270546,3907215930530472146),(3634,909390646,506964500,261648750,193,0,1695905750,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7284,3905803083858320500),(3635,959983669,506965983,261648867,134,0,1695905787,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280421,4123098463049369445),(3636,859255092,506966883,261651550,135,0,1695905760,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222828,3690472519061694060),(3637,926037556,506963283,261656117,119,0,1695905799,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7212,3977301017887775788),(3638,808858678,428337500,256379000,215,0,1695905805,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337901,3474021569096132589),(3639,842151993,506963483,261656733,123,0,1695905821,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASnAAAAAAAEcOMAAA==',0,'',11600,3617015268196232528),(3640,808793396,511748467,237084500,45,0,1695905799,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366352,3473741185041143568),(3641,926364214,544020517,186859333,160,0,1695905753,0,1,22,0,0,0,_binary 'EAAKLHgvAAAAABwAAAwbAAAAAAAJTMYRNg==',0,'',333807,3978704003315079151),(3642,926364214,544020517,186859333,160,0,1695905813,0,1,21,0,0,0,_binary 'EAAKLHgvAAAAABwAAAwcAAAAAAAJTMYRJA==',0,'',333808,3978704003315079152),(3643,909719600,503905167,307952950,186,0,1695905815,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlFAAAAAAAIsosAAA==',0,'',270547,3907215930530472147),(3644,909390646,506964500,261648750,193,0,1695905810,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7285,3905803083858320501),(3645,859255092,506966883,261651550,135,0,1695905820,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222829,3690472519061694061),(3646,959983669,506965983,261648867,134,0,1695905847,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280422,4123098463049369446),(3647,926037556,506963283,261656117,119,0,1695905859,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7213,3977301017887775789),(3648,808858678,428337500,256379000,215,0,1695905865,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337902,3474021569096132590),(3649,842151993,506963483,261656733,123,0,1695905881,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASnAAAAAAAEcOMAAA==',0,'',11601,3617015268196232529),(3650,808793396,511748467,237084500,45,0,1695905859,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366353,3473741185041143569),(3651,909719600,503905167,307952950,186,0,1695905875,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270548,3907215930530472148),(3652,909390646,506964500,261648750,193,0,1695905870,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7286,3905803083858320502),(3653,859255092,506966883,261651550,135,0,1695905880,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222830,3690472519061694062),(3654,959983669,506965983,261648867,134,0,1695905907,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280423,4123098463049369447),(3655,926037556,506963283,261656117,119,0,1695905919,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7214,3977301017887775790),(3656,808858678,428337500,256379000,215,0,1695905925,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337903,3474021569096132591),(3657,842151993,506963483,261656733,123,0,1695905941,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASnAAAAAAAEcOMAAA==',0,'',11602,3617015268196232530),(3658,808793396,511748467,237084500,45,0,1695905919,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366354,3473741185041143570),(3659,926364214,544020517,186859333,160,0,1695905873,0,1,22,0,0,0,_binary 'EAAKLHgvAAAAABwAAAwcAAAAAAAJTMYRKA==',0,'',333809,3978704003315079153),(3660,926364214,544020517,186859333,160,0,1695905933,0,1,21,0,0,0,_binary 'EAAKLHgvAAAAABwAAAwdAAAAAAAJTMYRMg==',0,'',333810,3978704003315079154),(3661,909719600,503905167,307952950,186,0,1695905935,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhhlFAAAAAAAIsosAAA==',0,'',270549,3907215930530472149),(3662,909390646,506964500,261648750,193,0,1695905930,0,1,20,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7287,3905803083858320503),(3663,859255092,506966883,261651550,135,0,1695905940,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222831,3690472519061694063),(3664,959983669,506965983,261648867,134,0,1695905967,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280424,4123098463049369448),(3665,926037556,506963283,261656117,119,0,1695905979,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7215,3977301017887775791),(3666,808858678,428337500,256379000,215,0,1695905985,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337904,3474021569096132592),(3667,842151993,506963483,261656733,123,0,1695906001,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASoAAAAAAAEcOMAAA==',0,'',11603,3617015268196232531),(3668,909719600,503905167,307952950,186,0,1695905995,0,1,19,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270550,3907215930530472150),(3669,909390646,506964500,261648750,193,0,1695905990,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7288,3905803083858320504),(3670,808793396,511748467,237084500,45,0,1695905979,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366355,3473741185041143571),(3671,808793396,511748467,237084500,45,0,1695906039,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366356,3473741185041143572),(3672,859255092,506966883,261651550,135,0,1695906000,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222832,3690472519061694064),(3673,959983669,506965983,261648867,134,0,1695906027,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280425,4123098463049369449),(3674,926037556,506963283,261656117,119,0,1695906039,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7216,3977301017887775792),(3675,808858678,428337500,256379000,215,0,1695906045,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337905,3474021569096132593),(3676,842151993,506963483,261656733,123,0,1695906061,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABkAAASsAAAAAAAEcOMAAA==',0,'',11604,3617015268196232532),(3677,926364214,544020517,186859333,160,0,1695905993,0,1,21,0,0,0,_binary 'EAAKLHgvAAAAABwAAAwdAAAAAAAJTMYRPg==',0,'',333811,3978704003315079155),(3678,926364214,544020517,186859333,160,0,1695906053,0,1,22,0,0,0,_binary 'EAAKLHgvAAAAABwAAAwdAAAAAAAJTMYRFA==',0,'',333812,3978704003315079156),(3679,909719600,503905167,307952950,186,0,1695906055,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270551,3907215930530472151),(3680,909390646,506964500,261648750,193,0,1695906050,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7289,3905803083858320505),(3681,859255092,506966883,261651550,135,0,1695906060,0,1,21,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222833,3690472519061694065),(3682,959983669,506965983,261648867,134,0,1695906087,0,1,21,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280426,4123098463049369450),(3683,926037556,506963283,261656117,119,0,1695906099,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7217,3977301017887775793),(3684,808858678,428337500,256379000,215,0,1695906105,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337906,3474021569096132594),(3685,842151993,506963483,261656733,123,0,1695906121,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11605,3617015268196232533),(3686,808793396,511748467,237084500,45,0,1695906099,0,1,20,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366357,3473741185041143573),(3687,909719600,503905167,307952950,186,0,1695906115,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhRlFAAAAAAAIsosAAA==',0,'',270552,3907215930530472152),(3688,909390646,506964500,261648750,193,0,1695906110,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7290,3905803083858320506),(3689,859255092,506966883,261651550,135,0,1695906120,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222834,3690472519061694066),(3690,959983669,506965983,261648867,134,0,1695906147,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280427,4123098463049369451),(3691,926037556,506963283,261656117,119,0,1695906159,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7218,3977301017887775794),(3692,808858678,428337500,256379000,215,0,1695906165,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337907,3474021569096132595),(3693,842151993,506963483,261656733,123,0,1695906181,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11606,3617015268196232534),(3694,808793396,511748467,237084500,45,0,1695906159,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366358,3473741185041143574),(3695,926364214,544020517,186859333,160,0,1695906113,0,1,21,0,0,0,_binary 'EAAKLHgzAAAAABwAAAweAAAAAAAJTMYQnA==',0,'',333813,3978704003315079157),(3696,926364214,544020517,186859333,160,0,1695906173,0,1,21,0,0,0,_binary 'EAAKLHg4AAAAABwAAAweAAAAAAAJTMYRNA==',0,'',333814,3978704003315079158),(3697,926364214,544021767,186864567,33,0,1695906188,110,1,21,0,0,0,_binary 'EAAKLHg7AAAAABwAAAweAAAAAAAJTMYeCA==',0,'',333815,3978704003315079159),(3698,926364214,544022083,186865400,46,0,1695906190,110,1,21,0,0,0,_binary 'EAAKLHg8AAAAABwAAAweAAAAAAAJTMYeZg==',0,'',333816,3978704003315079160),(3699,926364214,544022517,186867017,32,127,1695906194,90,1,21,0,0,0,_binary 'EAAKLHg/AAAAABwAAAweAAAAAAAJTMYaXA==',0,'',333817,3978704003315079161),(3700,926364214,544022967,186867467,12,0,1695906196,120,1,21,0,0,0,_binary 'EAAKLHhAAAAAABwAAAweAAAAAAAJTMYhFg==',0,'',333818,3978704003315079162),(3701,926364214,544023283,186867600,1,0,1695906197,130,1,21,0,0,0,_binary 'EAAKLHhBAAAAABwAAAweAAAAAAAJTMYdlA==',0,'',333819,3978704003315079163),(3702,909719600,503905167,307952950,186,0,1695906175,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOhBlFAAAAAAAIsosAAA==',0,'',270553,3907215930530472153),(3703,926364214,544025633,186866917,225,127,1695906207,60,1,21,0,0,0,_binary 'EAAKLHhGAAAAABwAAAweAAAAAAAJTMYh6g==',0,'',333820,3978704003315079164),(3704,909390646,506964500,261648750,193,0,1695906170,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7291,3905803083858320507),(3705,859255092,506966883,261651550,135,0,1695906180,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222835,3690472519061694067),(3706,959983669,506965983,261648867,134,0,1695906207,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAuAAAAAAAML6oAAA==',0,'',280428,4123098463049369452),(3707,926037556,506963283,261656117,119,0,1695906219,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7219,3977301017887775795),(3708,808858678,428337500,256379000,215,0,1695906225,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337908,3474021569096132596),(3709,842151993,506963483,261656733,123,0,1695906241,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11607,3617015268196232535),(3710,808793396,511748467,237084500,45,0,1695906219,0,1,21,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366359,3473741185041143575),(3711,909719600,503905167,307952950,186,0,1695906235,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270554,3907215930530472154),(3712,909390646,506964500,261648750,193,0,1695906230,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7292,3905803083858320508),(3713,959983669,506965983,261648867,134,0,1695906267,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280429,4123098463049369453),(3714,859255092,506966883,261651550,135,0,1695906240,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222836,3690472519061694068),(3715,926037556,506963283,261656117,119,0,1695906279,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7220,3977301017887775796),(3716,808858678,428337500,256379000,215,0,1695906285,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337909,3474021569096132597),(3717,842151993,506963483,261656733,123,0,1695906301,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11608,3617015268196232536),(3718,808793396,511748467,237084500,45,0,1695906279,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366360,3473741185041143576),(3719,909719600,503905167,307952950,186,0,1695906295,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270555,3907215930530472155),(3720,926364214,544026017,186866483,207,1,1695906209,150,1,21,0,0,0,_binary 'EAAKLHhHAAAAABwAAAweAAAAAAAJTMYfEA==',0,'',333821,3978704003315079165),(3721,926364214,544026167,186866050,194,127,1695906210,140,1,21,0,0,0,_binary 'EAAKLHhIAAAAABwAAAweAAAAAAAJTMYgKg==',0,'',333822,3978704003315079166),(3722,926364214,544026317,186864667,177,1,1695906212,200,1,21,0,0,0,_binary 'EAAKLHhKAAAAABwAAAweAAAAAAAJTMcwag==',0,'',333823,3978704003315079167),(3723,926364214,544023567,186837150,160,127,1695906232,160,1,21,0,0,0,_binary 'EAAKLHhuAAAAABwAAAweAAAAAAAJTMcc8A==',0,'',333824,3978704003315079168),(3724,926364214,544023283,186836683,146,127,1695906233,150,1,21,0,0,0,_binary 'EAAKLHhvAAAAABwAAAweAAAAAAAJTMceNA==',0,'',333825,3978704003315079169),(3725,926364214,544022917,186836400,133,0,1695906234,150,1,21,0,0,0,_binary 'EAAKLHhwAAAAABwAAAweAAAAAAAJTMcfbA==',0,'',333826,3978704003315079170),(3726,926364214,544022517,186836350,120,0,1695906235,160,1,21,0,0,0,_binary 'EAAKLHhwAAAAABwAAAweAAAAAAAJTMchbg==',0,'',333827,3978704003315079171),(3727,926364214,544021567,186836800,106,0,1695906237,190,1,21,0,0,0,_binary 'EAAKLHhyAAAAABwAAAweAAAAAAAJTMcpKA==',0,'',333828,3978704003315079172),(3728,926364214,543999100,186851250,96,0,1695906262,570,1,21,0,0,0,_binary 'EAAKLHioAAAAABwAAAweAAAAAAAJTMchUA==',0,'',333829,3978704003315079173),(3729,926364214,543971333,186883267,107,0,1695906282,680,1,18,0,0,0,_binary 'EAAKLHj0AAAAABwAAAweAAAAAAAJTMcezA==',0,'',333830,3978704003315079174),(3730,926364214,543964767,186885350,119,0,1695906286,700,1,17,0,0,0,_binary 'EAAKLHkDAAAAABwAAAweAAAAAAAJTMcf1A==',0,'',333831,3978704003315079175),(3731,926364214,543900733,186875817,129,127,1695906325,590,1,21,0,0,0,_binary 'EAAKLHmSAAAAABwAAAweAAAAAAAJTMghog==',0,'',333832,3978704003315079176),(3732,909390646,506964500,261648750,193,0,1695906290,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcoAAAAAAAEOMMAAA==',0,'',7293,3905803083858320509),(3733,859255092,506966883,261651550,135,0,1695906300,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222837,3690472519061694069),(3734,959983669,506965983,261648867,134,0,1695906327,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280430,4123098463049369454),(3735,926037556,506963283,261656117,119,0,1695906339,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7221,3977301017887775797),(3736,808858678,428337500,256379000,215,0,1695906345,0,1,16,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337910,3474021569096132598),(3737,842151993,506963483,261656733,123,0,1695906361,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11609,3617015268196232537),(3738,808793396,511748467,237084500,45,0,1695906339,0,1,22,0,0,0,_binary 'AAAHiBbeAAAAABkAABRmAAAAAAAF4b8AAA==',0,'',366361,3473741185041143577),(3739,808793396,511749183,237085667,47,0,1695906370,80,1,20,0,0,0,_binary 'EAAHiBbhAABhABwAABRmAAAAAAAF4b8rig==',0,'',366362,3473741185041143578),(3740,909719600,503905167,307952950,186,0,1695906355,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270556,3907215930530472156),(3741,909390646,506964500,261648750,193,0,1695906350,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcpAAAAAAAEOMMAAA==',0,'',7294,3905803083858320510),(3742,859255092,506966883,261651550,135,0,1695906360,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222838,3690472519061694070),(3743,959983669,506965983,261648867,134,0,1695906387,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280431,4123098463049369455),(3744,926037556,506963283,261656117,119,0,1695906399,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7222,3977301017887775798),(3745,808858678,428337500,256379000,215,0,1695906405,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337911,3474021569096132599),(3746,842151993,506963483,261656733,123,0,1695906421,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11610,3617015268196232538),(3747,808793396,511753117,237109700,60,0,1695906405,180,1,21,0,0,0,_binary 'EAAHiBcDAABhABwAABRmAAAAAAAF4b8RGg==',0,'',366363,3473741185041143579),(3748,808793396,511753600,237115383,49,127,1695906416,100,1,22,0,0,0,_binary 'EAAHiBcLAABhABwAABRmAAAAAAAF4b8RWg==',0,'',366364,3473741185041143580),(3749,909719600,503905167,307952950,186,0,1695906415,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOgxlFAAAAAAAIsosAAA==',0,'',270557,3907215930530472157),(3750,926364214,543878317,186860100,116,127,1695906346,250,1,22,0,0,0,_binary 'EAAKLHnIAAAAABwAAAweAAAAAAAJTMgbMA==',0,'',333833,3978704003315079177),(3751,926364214,543877700,186860500,103,127,1695906347,240,1,22,0,0,0,_binary 'EAAKLHnJAAAAABwAAAweAAAAAAAJTMgckg==',0,'',333834,3978704003315079178),(3752,926364214,543877183,186861100,93,0,1695906348,250,1,22,0,0,0,_binary 'EAAKLHnKAAAAABwAAAweAAAAAAAJTMgcbg==',0,'',333835,3978704003315079179),(3753,926364214,543876850,186862017,79,127,1695906349,230,1,22,0,0,0,_binary 'EAAKLHnMAAAAABwAAAweAAAAAAAJTMgedg==',0,'',333836,3978704003315079180),(3754,926364214,543867317,186901417,92,127,1695906379,200,1,21,0,0,0,_binary 'EAAKLHoEAAAAABwAAAweAAAAAAAJTMgTeg==',0,'',333837,3978704003315079181),(3755,926364214,543866433,186902267,106,0,1695906381,210,1,21,0,0,0,_binary 'EAAKLHoGAAAAABwAAAweAAAAAAAJTMgaZA==',0,'',333838,3978704003315079182),(3756,926364214,543864833,186903200,116,0,1695906384,220,1,21,0,0,0,_binary 'EAAKLHoKAAAAABwAAAweAAAAAAAJTMge3g==',0,'',333839,3978704003315079183),(3757,926364214,543800300,186909933,113,127,1695906444,0,1,22,0,0,0,_binary 'EAAKLHqaAAAAABwAAAweAAAAAAAJTMgRWg==',0,'',333840,3978704003315079184),(3758,926364214,543800283,186909883,113,0,1695906446,0,1,22,0,0,0,_binary 'EAAKLHqaAAAAABwAAAweAAAAAAAJTMgRRA==',0,'',333841,3978704003315079185),(3759,909390646,506964500,261648750,193,0,1695906410,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcqAAAAAAAEOMMAAA==',0,'',7295,3905803083858320511),(3760,859255092,506966883,261651550,135,0,1695906420,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222839,3690472519061694071),(3761,959983669,506965983,261648867,134,0,1695906447,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280432,4123098463049369456),(3762,926037556,506963283,261656117,119,0,1695906459,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAbzAAAAAAAFEvwAAA==',0,'',7223,3977301017887775799),(3763,808858678,428337500,256379000,215,0,1695906465,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337912,3474021569096132600),(3764,842151993,506963483,261656733,123,0,1695906481,0,1,19,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11611,3617015268196232539),(3765,808793396,511754883,237126917,59,0,1695906433,150,1,22,0,0,0,_binary 'EAAHiBccAABhABwAABRmAAAAAAAF4b8RMA==',0,'',366365,3473741185041143581),(3766,808793396,511754800,237131167,49,127,1695906441,80,1,22,0,0,0,_binary 'EAAHiBciAABhABwAABRmAAAAAAAF4b8RbA==',0,'',366366,3473741185041143582),(3767,808793396,511754833,237131467,59,127,1695906442,70,1,22,0,0,0,_binary 'EAAHiBciAABhABwAABRmAAAAAAAF4b8ReA==',0,'',366367,3473741185041143583),(3768,808793396,511754833,237132350,63,127,1695906447,0,1,22,0,0,0,_binary 'EAAHiBcjAABhABwAABRmAAAAAAAF4b8Rcg==',0,'',366368,3473741185041143584),(3769,909719600,503905167,307952950,186,0,1695906475,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOghlFAAAAAAAIsosAAA==',0,'',270558,3907215930530472158),(3770,909390646,506964500,261648750,193,0,1695906470,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcrAAAAAAAEOMMAAA==',0,'',7296,3905803083858320512),(3771,859255092,506966883,261651550,135,0,1695906480,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222840,3690472519061694072),(3772,959983669,506965983,261648867,134,0,1695906507,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280433,4123098463049369457),(3773,926037556,506963283,261656117,119,0,1695906519,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7224,3977301017887775800),(3774,808858678,428337500,256379000,215,0,1695906525,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337913,3474021569096132601),(3775,842151993,506963483,261656733,123,0,1695906541,0,1,20,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11612,3617015268196232540),(3776,808793396,511754833,237132350,63,0,1695906507,0,1,22,0,0,0,_binary 'EAAHiBcrAABhABwAABRmAAAAAAAF4b8RIA==',0,'',366369,3473741185041143585),(3777,909719600,503905167,307952950,186,0,1695906535,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOghlFAAAAAAAIsosAAA==',0,'',270559,3907215930530472159),(3778,926364214,543798917,186910217,113,0,1695906471,130,1,22,0,0,0,_binary 'EAAKLHqdAAAAABwAAAweAAAAAAAJTMgb+A==',0,'',333842,3978704003315079186),(3779,926364214,543797850,186910750,97,0,1695906474,180,1,22,0,0,0,_binary 'EAAKLHqgAAAAABwAAAweAAAAAAAJTMgnZA==',0,'',333843,3978704003315079187),(3780,926364214,543797150,186911833,80,1,1695906476,220,1,22,0,0,0,_binary 'EAAKLHqiAAAAABwAAAweAAAAAAAJTMgvjg==',0,'',333844,3978704003315079188),(3781,926364214,543796933,186912667,69,1,1695906477,240,1,22,0,0,0,_binary 'EAAKLHqjAAAAABwAAAweAAAAAAAJTMgjdA==',0,'',333845,3978704003315079189),(3782,926364214,543796850,186913617,59,127,1695906478,220,1,22,0,0,0,_binary 'EAAKLHqlAAAAABwAAAweAAAAAAAJTMgcMg==',0,'',333846,3978704003315079190),(3783,926364214,543803667,186961550,47,0,1695906505,520,1,20,0,0,0,_binary 'EAAKLHrlAAAAABwAAAweAAAAAAAJTMkeyg==',0,'',333847,3978704003315079191),(3784,926364214,543806283,186969183,37,0,1695906509,530,1,21,0,0,0,_binary 'EAAKLHrxAAAAABwAAAweAAAAAAAJTMkeeA==',0,'',333848,3978704003315079192),(3785,926364214,543810600,186977733,26,127,1695906514,500,1,22,0,0,0,_binary 'EAAKLHsAAAAAABwAAAweAAAAAAAJTMkdVA==',0,'',333849,3978704003315079193),(3786,926364214,543820533,186992633,38,127,1695906525,400,1,22,0,0,0,_binary 'EAAKLHsdAAAAABwAAAweAAAAAAAJTMkcGA==',0,'',333850,3978704003315079194),(3787,926364214,543822600,186999483,48,127,1695906531,190,1,21,0,0,0,_binary 'EAAKLHsnAAAAABwAAAweAAAAAAAJTMkRUA==',0,'',333851,3978704003315079195),(3788,926364214,543822533,187000900,73,127,1695906533,170,1,22,0,0,0,_binary 'EAAKLHspAAAAABwAAAweAAAAAAAJTMkd5A==',0,'',333852,3978704003315079196),(3789,926364214,543822250,187001583,84,0,1695906534,180,1,22,0,0,0,_binary 'EAAKLHsqAAAAABwAAAweAAAAAAAJTMkS6A==',0,'',333853,3978704003315079197),(3790,926364214,543821500,187002650,95,0,1695906536,190,1,22,0,0,0,_binary 'EAAKLHssAAAAABwAAAweAAAAAAAJTMkRzg==',0,'',333854,3978704003315079198),(3791,926364214,543819917,187005383,83,127,1695906541,180,1,22,0,0,0,_binary 'EAAKLHsxAAAAABwAAAweAAAAAAAJTMkRNg==',0,'',333855,3978704003315079199),(3792,926364214,543819500,187006800,69,0,1695906543,190,1,21,0,0,0,_binary 'EAAKLHszAAAAABwAAAweAAAAAAAJTMkRDg==',0,'',333856,3978704003315079200),(3793,926364214,543819450,187007617,58,0,1695906544,190,1,22,0,0,0,_binary 'EAAKLHs0AAAAABwAAAweAAAAAAAJTMkRQA==',0,'',333857,3978704003315079201),(3794,926364214,543819567,187008383,47,127,1695906545,170,1,22,0,0,0,_binary 'EAAKLHs1AAAAABwAAAweAAAAAAAJTMkRPA==',0,'',333858,3978704003315079202),(3795,926364214,543820417,187010883,36,127,1695906554,50,1,22,0,0,0,_binary 'EAAKLHs4AAAAABwAAAweAAAAAAAJTMkRfg==',0,'',333859,3978704003315079203),(3796,909390646,506964500,261648750,193,0,1695906530,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcrAAAAAAAEOMMAAA==',0,'',7297,3905803083858320513),(3797,859255092,506966883,261651550,135,0,1695906540,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222841,3690472519061694073),(3798,959983669,506965983,261648867,134,0,1695906567,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280434,4123098463049369458),(3799,926037556,506963283,261656117,119,0,1695906579,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7225,3977301017887775801),(3800,808858678,428337500,256379000,215,0,1695906585,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337914,3474021569096132602),(3801,842151993,506963483,261656733,123,0,1695906601,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11613,3617015268196232541),(3802,808793396,511754833,237132350,63,0,1695906567,0,1,21,0,0,0,_binary 'EAAHiBcrAABhABwAABRmAAAAAAAF4b8RPA==',0,'',366370,3473741185041143586),(3803,909719600,503905167,307952950,186,0,1695906595,0,1,22,0,0,0,_binary 'AAAJgQdtAAAAABoOghlFAAAAAAAIsosAAA==',0,'',270560,3907215930530472160),(3804,909390646,506964500,261648750,193,0,1695906590,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcsAAAAAAAEOMMAAA==',0,'',7298,3905803083858320514),(3805,859255092,506966883,261651550,135,0,1695906600,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222842,3690472519061694074),(3806,959983669,506965983,261648867,134,0,1695906627,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280435,4123098463049369459),(3807,926037556,506963283,261656117,119,0,1695906639,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7226,3977301017887775802),(3808,808858678,428337500,256379000,215,0,1695906645,0,1,16,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337915,3474021569096132603),(3809,842151993,506963483,261656733,123,0,1695906661,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11614,3617015268196232542),(3810,808793396,511754833,237132350,63,0,1695906627,0,1,21,0,0,0,_binary 'EAAHiBcrAABhABwAABRmAAAAAAAF4b8RMA==',0,'',366371,3473741185041143587),(3811,926364214,543822183,187016667,47,0,1695906573,130,1,22,0,0,0,_binary 'EAAKLHtCAAAAABwAAAweAAAAAAAJTMkffg==',0,'',333860,3978704003315079204),(3812,926364214,543827433,187037767,57,0,1695906596,190,1,22,0,0,0,_binary 'EAAKLHtfAAAAABwAAAweAAAAAAAJTMkW0A==',0,'',333861,3978704003315079205),(3813,926364214,543827233,187045050,63,127,1695906611,0,1,21,0,0,0,_binary 'EAAKLHtoAAAAABwAAAweAAAAAAAJTMkRQA==',0,'',333862,3978704003315079206),(3814,926364214,543827183,187047150,58,0,1695906632,70,1,21,0,0,0,_binary 'EAAKLHtrAAAAABwAAAweAAAAAAAJTMkaRg==',0,'',333863,3978704003315079207),(3815,926364214,543827400,187054733,45,0,1695906652,110,1,19,0,0,0,_binary 'EAAKLHt1AAAAABwAAAweAAAAAAAJTMkeSA==',0,'',333864,3978704003315079208),(3816,926364214,543827950,187056483,34,127,1695906656,100,1,20,0,0,0,_binary 'EAAKLHt4AAAAABwAAAweAAAAAAAJTMkZ3A==',0,'',333865,3978704003315079209),(3817,926364214,543830000,187060000,27,127,1695906671,0,1,21,0,0,0,_binary 'EAAKLHt+AAAAABwAAAweAAAAAAAJTMkPOA==',0,'',333866,3978704003315079210),(3818,926364214,543830300,187060417,30,0,1695906674,50,1,21,0,0,0,_binary 'EAAKLHt/AAAAABwAAAweAAAAAAAJTMkQbA==',0,'',333867,3978704003315079211),(3819,926364214,543830400,187060567,30,127,1695906675,0,1,21,0,0,0,_binary 'EAAKLHt/AAAAABwAAAweAAAAAAAJTMkQ7A==',0,'',333868,3978704003315079212),(3820,926364214,543830650,187061000,30,0,1695906678,50,1,22,0,0,0,_binary 'EAAKLHuAAAAAABwAAAweAAAAAAAJTMkRJA==',0,'',333869,3978704003315079213),(3821,909719600,503905167,307952950,186,0,1695906655,0,1,21,0,0,0,_binary 'AAAJgQdtAAAAABoOghlGAAAAAAAIsosAAA==',0,'',270561,3907215930530472161),(3822,909390646,506964500,261648750,193,0,1695906650,0,1,21,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcsAAAAAAAEOMMAAA==',0,'',7299,3905803083858320515),(3823,859255092,506966883,261651550,135,0,1695906660,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222843,3690472519061694075),(3824,959983669,506965983,261648867,134,0,1695906687,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280436,4123098463049369460),(3825,926037556,506963283,261656117,119,0,1695906699,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7227,3977301017887775803),(3826,808858678,428337500,256379000,215,0,1695906705,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337916,3474021569096132604),(3827,842151993,506963483,261656733,123,0,1695906721,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11615,3617015268196232543),(3828,808793396,511754833,237132350,63,0,1695906687,0,1,21,0,0,0,_binary 'AAAHiBcrAABhABsAABRmAAAAAAAF4b8AAA==',0,'',366372,3473741185041143588),(3829,909719600,503905167,307952950,186,0,1695906715,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlGAAAAAAAIsosAAA==',0,'',270562,3907215930530472162),(3830,909390646,506964500,261648750,193,0,1695906710,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcsAAAAAAAEOMMAAA==',0,'',7300,3905803083858320516),(3831,859255092,506966883,261651550,135,0,1695906720,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222844,3690472519061694076),(3832,959983669,506965983,261648867,134,0,1695906747,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280437,4123098463049369461),(3833,926037556,506963283,261656117,119,0,1695906759,0,1,21,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7228,3977301017887775804),(3834,808858678,428337500,256379000,215,0,1695906765,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337917,3474021569096132605),(3835,842151993,506963483,261656733,123,0,1695906781,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11616,3617015268196232544),(3836,808793396,511754833,237132350,63,0,1695906747,0,1,22,0,0,0,_binary 'AAAHiBcrAABhABoAABRmAAAAAAAF4b8AAA==',0,'',366373,3473741185041143589),(3837,909719600,503905167,307952950,186,0,1695906775,0,1,19,0,0,0,_binary 'AAAJgQdtAAAAABoOfxlGAAAAAAAIsosAAA==',0,'',270563,3907215930530472163),(3838,926364214,543832300,187064033,41,0,1695906695,70,1,22,0,0,0,_binary 'EAAKLHuGAAAAABwAAAweAAAAAAAJTMkYeA==',0,'',333870,3978704003315079214),(3839,926364214,543832900,187066167,51,127,1695906703,50,1,21,0,0,0,_binary 'EAAKLHuJAAAAABwAAAweAAAAAAAJTMkUyA==',0,'',333871,3978704003315079215),(3840,926364214,543832950,187067550,61,0,1695906709,50,1,21,0,0,0,_binary 'EAAKLHuLAAAAABwAAAweAAAAAAAJTMkVag==',0,'',333872,3978704003315079216),(3841,926364214,543832733,187070900,51,0,1695906717,120,1,21,0,0,0,_binary 'EAAKLHuPAAAAABwAAAweAAAAAAAJTMkbpg==',0,'',333873,3978704003315079217),(3842,926364214,543833067,187072050,36,0,1695906719,150,1,21,0,0,0,_binary 'EAAKLHuRAAAAABwAAAweAAAAAAAJTMkg7g==',0,'',333874,3978704003315079218),(3843,926364214,543833950,187074417,50,127,1695906723,140,1,21,0,0,0,_binary 'EAAKLHuUAAAAABwAAAweAAAAAAAJTMkcOg==',0,'',333875,3978704003315079219),(3844,926364214,543834033,187075467,60,127,1695906725,120,1,21,0,0,0,_binary 'EAAKLHuWAAAAABwAAAweAAAAAAAJTMkW/g==',0,'',333876,3978704003315079220),(3845,926364214,543833633,187079683,61,127,1695906739,0,1,21,0,0,0,_binary 'EAAKLHubAAAAABwAAAweAAAAAAAJTMkRFg==',0,'',333877,3978704003315079221),(3846,926364214,543833633,187079683,61,0,1695906799,0,1,19,0,0,0,_binary 'EAAKLHubAAAAABwAAAwsAAAAAAAJTMkROA==',0,'',333878,3978704003315079222),(3847,909390646,506964500,261648750,193,0,1695906770,0,1,22,0,0,0,_binary 'AAAGaLmfAAD4ABgAAAcsAAAAAAAEOMMAAA==',0,'',7301,3905803083858320517),(3848,859255092,506966883,261651550,135,0,1695906780,0,1,20,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222845,3690472519061694077),(3849,959983669,506965983,261648867,134,0,1695906807,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280438,4123098463049369462),(3850,926037556,506963283,261656117,119,0,1695906819,0,1,22,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7229,3977301017887775805),(3851,808858678,428337500,256379000,215,0,1695906825,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337918,3474021569096132606),(3852,842151993,506963483,261656733,123,0,1695906841,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11617,3617015268196232545),(3853,808793396,511754833,237132350,63,0,1695906807,0,1,21,0,0,0,_binary 'AAAHiBcrAABhABoAABRmAAAAAAAF4b8AAA==',0,'',366374,3473741185041143590),(3854,909719600,503905167,307952950,186,0,1695906835,0,1,19,0,0,0,_binary 'AAAJgQdtAAAAABoOfxlGAAAAAAAIsosAAA==',0,'',270564,3907215930530472164),(3855,909390646,506964500,261648750,193,0,1695906830,0,1,21,0,0,0,_binary 'EAAGaLmfAAD4ABoAAAcsAAAAAAAEOMMAAA==',0,'',7302,3905803083858320518),(3856,859255092,506966883,261651550,135,0,1695906840,0,1,19,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222846,3690472519061694078),(3857,959983669,506965983,261648867,134,0,1695906867,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280439,4123098463049369463),(3858,926037556,506963283,261656117,119,0,1695906879,0,1,19,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7230,3977301017887775806),(3859,808858678,428337500,256379000,215,0,1695906885,0,1,19,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337919,3474021569096132607),(3860,842151993,506963483,261656733,123,0,1695906901,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11618,3617015268196232546),(3861,808793396,511754833,237132350,63,0,1695906867,0,1,22,0,0,0,_binary 'AAAHiBcrAABhABoAABRnAAAAAAAF4b8AAA==',0,'',366375,3473741185041143591),(3862,926364214,543833517,187080933,65,0,1695906818,70,1,21,0,0,0,_binary 'EAAKLHudAAAAABwAAAw2AAAAAAAJTMkZpA==',0,'',333879,3978704003315079223),(3863,926364214,543833267,187084267,63,127,1695906830,0,1,21,0,0,0,_binary 'EAAKLHuhAAAAABwAAAw5AAAAAAAJTMkRIA==',0,'',333880,3978704003315079224),(3864,926364214,543833050,187086117,66,0,1695906888,80,1,21,0,0,0,_binary 'EAAKLHukAAAAABwAAAw7AAAAAAAJTMkWDg==',0,'',333881,3978704003315079225),(3865,926364214,543831283,187097967,53,0,1695906913,110,1,20,0,0,0,_binary 'EAAKLHu0AAAAABwAAAw4AAAAAAAJTMkVFg==',0,'',333882,3978704003315079226),(3866,926364214,543831783,187100400,50,127,1695906922,0,1,21,0,0,0,_binary 'EAAKLHu3AAAAABwAAAw2AAAAAAAJTMkRGg==',0,'',333883,3978704003315079227),(3867,909719600,503905167,307952950,186,0,1695906895,0,1,18,0,0,0,_binary 'AAAJgQdtAAAAABoOgBlGAAAAAAAIsosAAA==',0,'',270565,3907215930530472165),(3868,909390646,506964500,261648750,193,0,1695906890,0,1,21,0,0,0,_binary 'EAAGaLmfAAD4ABsAAAcrAAAAAAAEOMMAAA==',0,'',7303,3905803083858320519),(3869,859255092,506966883,261651550,135,0,1695906900,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222847,3690472519061694079),(3870,959983669,506965983,261648867,134,0,1695906927,0,1,22,0,0,0,_binary 'AAAOt68RAAAAABkAABAtAAAAAAAML6oAAA==',0,'',280440,4123098463049369464),(3871,926037556,506963283,261656117,119,0,1695906939,0,1,18,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7231,3977301017887775807),(3872,808858678,428337500,256379000,215,0,1695906945,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337920,3474021569096132608),(3873,842151993,506963483,261656733,123,0,1695906961,0,1,22,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11619,3617015268196232547),(3874,808793396,511754833,237132350,63,0,1695906927,0,1,21,0,0,0,_binary 'AAAHiBcrAABhABoAABRnAAAAAAAF4b8AAA==',0,'',366376,3473741185041143592),(3875,909719600,503905167,307952950,186,0,1695906955,0,1,19,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlGAAAAAAAIsosAAA==',0,'',270566,3907215930530472166),(3876,909390646,506964500,261648750,193,0,1695906950,0,1,20,0,0,0,_binary 'EAAGaLmfAAD4ABoAAAcpAAAAAAAEOMMAAA==',0,'',7304,3905803083858320520),(3877,859255092,506966883,261651550,135,0,1695906960,0,1,18,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222848,3690472519061694080),(3878,959983669,506965983,261648867,134,0,1695906987,0,1,22,0,0,0,_binary 'EAAOt68RAAAAABwAABAtAAAAAAAML6oV8A==',0,'',280441,4123098463049369465),(3879,926037556,506963283,261656117,119,0,1695906999,0,1,19,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7232,3977301017887775808),(3880,808858678,428337500,256379000,215,0,1695907005,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337921,3474021569096132609),(3881,842151993,506963483,261656733,123,0,1695907021,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11620,3617015268196232548),(3882,808793396,511754833,237132350,63,0,1695906987,0,1,20,0,0,0,_binary 'AAAHiBcrAABhABoAABRnAAAAAAAF4b8AAA==',0,'',366377,3473741185041143593),(3883,926364214,543831783,187100400,50,0,1695906982,0,1,20,0,0,0,_binary 'EAAKLHu5AAAAABwAAAwzAAAAAAAJTMkRNg==',0,'',333884,3978704003315079228),(3884,926364214,543831500,187101550,65,0,1695907013,100,1,22,0,0,0,_binary 'EAAKLHu+AAAAABwAAAw2AAAAAAAJTMoi7g==',0,'',333885,3978704003315079229),(3885,909719600,503905167,307952950,186,0,1695907015,0,1,19,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlGAAAAAAAIsosAAA==',0,'',270567,3907215930530472167),(3886,909390646,506964500,261648750,193,0,1695907010,0,1,19,0,0,0,_binary 'AAAGaLmfAAD4ABkAAAcrAAAAAAAEOMMAAA==',0,'',7305,3905803083858320521),(3887,859255092,506966883,261651550,135,0,1695907020,0,1,17,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222849,3690472519061694081),(3888,959983669,506965983,261648867,134,0,1695907047,0,1,22,0,0,0,_binary 'EAAOt68RAAAAABwAABAtAAAAAAAML6oV2A==',0,'',280442,4123098463049369466),(3889,926037556,506963283,261656117,119,0,1695907059,0,1,18,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7233,3977301017887775809),(3890,808858678,428337500,256379000,215,0,1695907065,0,1,16,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337922,3474021569096132610),(3891,842151993,506963483,261656733,123,0,1695907081,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11621,3617015268196232549),(3892,808793396,511754833,237132350,63,0,1695907047,0,1,19,0,0,0,_binary 'AAAHiBcrAABhABoAABRnAAAAAAAF4b8AAA==',0,'',366378,3473741185041143594),(3893,909719600,503905167,307952950,186,0,1695907075,0,1,18,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlGAAAAAAAIsosAAA==',0,'',270568,3907215930530472168),(3894,909390646,506964500,261648750,193,0,1695907070,0,1,19,0,0,0,_binary 'AAAGaLmfAAD4ABkAAActAAAAAAAEOMMAAA==',0,'',7306,3905803083858320522),(3895,859255092,506966883,261651550,135,0,1695907080,0,1,13,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222850,3690472519061694082),(3896,959983669,506965983,261648867,134,0,1695907107,0,1,22,0,0,0,_binary 'EAAOt68TAAAAABwAABAuAAAAAAAML6sWSA==',0,'',280443,4123098463049369467),(3897,926037556,506963283,261656117,119,0,1695907119,0,1,20,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7234,3977301017887775810),(3898,808858678,428337500,256379000,215,0,1695907125,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABkKlBqUAAAAAAAI5HUAAA==',0,'',337923,3474021569096132611),(3899,842151993,506963483,261656733,123,0,1695907141,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11622,3617015268196232550),(3900,808793396,511754833,237132350,63,0,1695907107,0,1,19,0,0,0,_binary 'AAAHiBcrAABhABoAABRnAAAAAAAF4b8AAA==',0,'',366379,3473741185041143595),(3901,909719600,503905167,307952950,186,0,1695907135,0,1,19,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlGAAAAAAAIsosAAA==',0,'',270569,3907215930530472169),(3902,926364214,543830367,187111883,57,127,1695907051,0,1,21,0,0,0,_binary 'EAAKLHvMAAAAABwAAAw6AAAAAAAJTMoROg==',0,'',333886,3978704003315079230),(3903,926364214,543830367,187111883,57,0,1695907111,0,1,17,0,0,0,_binary 'EAAKLHvRAAAAABwAAAw7AAAAAAAJTMoRMg==',0,'',333887,3978704003315079231),(3904,926364214,543829950,187118117,63,0,1695907132,100,1,20,0,0,0,_binary 'EAAKLHvVAAAAABwAAAw7AAAAAAAJTMol8g==',0,'',333888,3978704003315079232),(3905,926364214,543829783,187124133,52,0,1695907141,200,1,20,0,0,0,_binary 'EAAKLHvdAAAAABwAAAw7AAAAAAAJTMohsg==',0,'',333889,3978704003315079233),(3906,926364214,543831533,187133467,37,127,1695907153,150,1,22,0,0,0,_binary 'EAAKLHvpAAAAABwAAAw6AAAAAAAJTMoebA==',0,'',333890,3978704003315079234),(3907,926364214,543832100,187134267,18,127,1695907155,140,1,22,0,0,0,_binary 'EAAKLHvqAAAAABwAAAw6AAAAAAAJTMofoA==',0,'',333891,3978704003315079235),(3908,926364214,543832450,187134450,5,0,1695907156,140,1,21,0,0,0,_binary 'EAAKLHvrAAAAABwAAAw6AAAAAAAJTMohNA==',0,'',333892,3978704003315079236),(3909,926364214,543832817,187134383,229,1,1695907157,160,1,20,0,0,0,_binary 'EAAKLHvsAAAAABwAAAw6AAAAAAAJTMoiqA==',0,'',333893,3978704003315079237),(3910,926364214,543833200,187134067,219,0,1695907158,170,1,22,0,0,0,_binary 'EAAKLHvtAAAAABwAAAw6AAAAAAAJTMokng==',0,'',333894,3978704003315079238),(3911,926364214,543833567,187133533,209,1,1695907159,190,1,22,0,0,0,_binary 'EAAKLHvuAAAAABwAAAw6AAAAAAAJTMofyA==',0,'',333895,3978704003315079239),(3912,909390646,506964500,261648750,193,0,1695907130,0,1,18,0,0,0,_binary 'AAAGaLmfAAD4ABkAAActAAAAAAAEOMMAAA==',0,'',7307,3905803083858320523),(3913,859255092,506966883,261651550,135,0,1695907140,0,1,15,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222851,3690472519061694083),(3914,959983669,506964383,261648850,107,0,1695907135,50,1,22,0,0,0,_binary 'EAAOt68YAAAAABwAABAuAAAAAAAML6sdYA==',0,'',280444,4123098463049369468),(3915,959983669,506963933,261649167,89,0,1695907138,50,1,21,0,0,0,_binary 'EAAOt68ZAAAAABwAABAuAAAAAAAML6seIA==',0,'',280445,4123098463049369469),(3916,959983669,506963750,261649600,63,0,1695907140,50,1,22,0,0,0,_binary 'EAAOt68aAAAAABwAABAuAAAAAAAML6saYA==',0,'',280446,4123098463049369470),(3917,959983669,506963783,261650100,46,0,1695907142,50,1,22,0,0,0,_binary 'EAAOt68aAAAAABwAABAuAAAAAAAML6sYqA==',0,'',280447,4123098463049369471),(3918,959983669,506963967,261650933,29,0,1695907146,50,1,22,0,0,0,_binary 'EAAOt68bAAAAABwAABAuAAAAAAAML6sYeA==',0,'',280448,4123098463049369472),(3919,959983669,506964333,261651517,18,0,1695907151,50,1,22,0,0,0,_binary 'EAAOt68dAAAAABwAABAuAAAAAAAML6sY4A==',0,'',280449,4123098463049369473),(3920,959983669,506964550,261652133,47,127,1695907155,0,1,22,0,0,0,_binary 'EAAOt68eAAAAABwAABAuAAAAAAAML6sfMA==',0,'',280450,4123098463049369474),(3921,959983669,506964750,261653383,47,0,1695907160,50,1,22,0,0,0,_binary 'EAAOt68gAAAAABwAABAuAAAAAAAML6sW+A==',0,'',280451,4123098463049369475),(3922,959983669,506964833,261654233,64,127,1695907167,0,1,21,0,0,0,_binary 'EAAOt68hAAAAABwAABAuAAAAAAAML6sWMA==',0,'',280452,4123098463049369476),(3923,926037556,506963283,261656117,119,0,1695907179,0,1,18,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7235,3977301017887775811),(3924,808858678,428337500,256379000,215,0,1695907185,0,1,17,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337924,3474021569096132612),(3925,842151993,506963483,261656733,123,0,1695907201,0,1,21,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11623,3617015268196232551),(3926,808793396,511754833,237132350,63,0,1695907167,0,1,22,0,0,0,_binary 'AAAHiBcrAABhABoAABRnAAAAAAAF4b8AAA==',0,'',366380,3473741185041143596),(3927,909719600,503905167,307952950,186,0,1695907195,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlGAAAAAAAIsosAAA==',0,'',270570,3907215930530472170),(3928,808793396,511754833,237132350,63,0,1695907227,0,1,22,0,0,0,_binary 'AAAHiBcrAABhABoAABRnAAAAAAAF4b8AAA==',0,'',366381,3473741185041143597),(3929,909390646,506964500,261648750,193,0,1695907190,0,1,18,0,0,0,_binary 'AAAGaLmfAAD4ABkAAActAAAAAAAEOMMAAA==',0,'',7308,3905803083858320524),(3930,959983669,506964833,261654233,64,0,1695907227,0,1,22,0,0,0,_binary 'EAAOt68jAAAAABwAABArAAAAAAAML6sV6A==',0,'',280453,4123098463049369477),(3931,859255092,506966883,261651550,135,0,1695907200,0,1,16,0,0,0,_binary 'AAAODmPmAAB5ABkAABJ+AAAAAAAKnqQAAA==',0,'',222852,3690472519061694084),(3932,926037556,506963283,261656117,119,0,1695907239,0,1,19,0,0,0,_binary 'AAAHb8WTAAD3ABoAAAb0AAAAAAAFEvwAAA==',0,'',7236,3977301017887775812),(3933,808858678,428337500,256379000,215,0,1695907245,0,1,18,0,0,0,_binary 'AAAMZ32RAADvABoKlBqUAAAAAAAI5HUAAA==',0,'',337925,3474021569096132613),(3934,842151993,506963483,261656733,123,0,1695907261,0,1,20,0,0,0,_binary 'AAAGmAYAAAD4ABgAAASsAAAAAAAEcOMAAA==',0,'',11624,3617015268196232552),(3935,909719600,503905167,307952950,186,0,1695907255,0,1,20,0,0,0,_binary 'AAAJgQdtAAAAABoOgRlGAAAAAAAIsosAAA==',0,'',270571,3907215930530472171),(3936,926364214,543842633,187115200,195,0,1695907184,230,1,21,0,0,0,_binary 'EAAKLHwNAAAAABwAAAw6AAAAAAAJTModCg==',0,'',333896,3978704003315079240),(3937,926364214,543843017,187111983,185,0,1695907187,240,1,20,0,0,0,_binary 'EAAKLHwRAAAAABwAAAw6AAAAAAAJTMobbg==',0,'',333897,3978704003315079241),(3938,926364214,543843267,187101967,171,127,1695907200,160,1,19,0,0,0,_binary 'EAAKLHweAAAAABwAAAw6AAAAAAAJTMojXg==',0,'',333898,3978704003315079242),(3939,926364214,543842633,187099267,159,0,1695907204,180,1,21,0,0,0,_binary 'EAAKLHwiAAAAABwAAAw6AAAAAAAJTModqg==',0,'',333899,3978704003315079243),(3940,926364214,543841317,187095133,170,127,1695907210,160,1,21,0,0,0,_binary 'EAAKLHwoAAAAABwAAAw6AAAAAAAJTMoYtA==',0,'',333900,3978704003315079244),(3941,926364214,543841350,187093767,181,127,1695907212,150,1,21,0,0,0,_binary 'EAAKLHwqAAAAABwAAAw6AAAAAAAJTMoYmg==',0,'',333901,3978704003315079245),(3942,926364214,543841533,187092367,194,0,1695907214,160,1,21,0,0,0,_binary 'EAAKLHwsAAAAABwAAAw6AAAAAAAJTMobFA==',0,'',333902,3978704003315079246),(3943,926364214,543842017,187091100,209,0,1695907216,170,1,20,0,0,0,_binary 'EAAKLHwuAAAAABwAAAw6AAAAAAAJTModIA==',0,'',333903,3978704003315079247),(3944,926364214,543842733,187090183,219,0,1695907218,180,1,20,0,0,0,_binary 'EAAKLHwwAAAAABwAAAw6AAAAAAAJTMobPg==',0,'',333904,3978704003315079248),(3945,926364214,543844367,187088233,218,127,1695907227,0,1,19,0,0,0,_binary 'EAAKLHw0AAAAABwAAAw6AAAAAAAJTMoRMg==',0,'',333905,3978704003315079249),(3946,926364214,543844367,187088233,218,0,1695907287,0,1,20,0,0,0,_binary 'EAAKLHw0AAAAABwAAAw3AAAAAAAJTMoYNA==',0,'',333906,3978704003315079250);
/*!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,'fcbae5c6-4908-4f9b-9820-c7f87794291f'),(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,' %',9,0,0),(16,'оберти двигуна',0.125,0,16,'',19,' rpm',5,0,0),(17,'витрата',0.5,16,64,'',19,' л',27,0,0),(18,'бортмережа',1,112,16,'',19,' В',4,0,0),(19,'пробіг за тахографом',0.005,152,32,'',19,' км',6,0,0),(20,'запалювання',1,196,1,'',19,' ',2,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=76 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,10,2),(3,5,3),(4,27,4),(5,4,5),(6,6,6),(7,2,7),(9,7,9),(10,9,10),(11,5,11),(12,27,12),(13,4,13),(14,6,14),(15,2,15),(16,7,16),(17,7,17),(18,9,18),(19,5,19),(20,27,20),(21,4,21),(22,6,22),(23,2,23),(24,7,25),(25,9,26),(26,5,27),(27,27,28),(28,4,29),(29,6,30),(30,2,31),(31,7,32),(32,9,33),(33,5,34),(34,27,35),(35,4,36),(36,6,37),(37,2,38),(38,7,39),(39,7,40),(40,9,41),(41,5,42),(42,27,43),(43,4,44),(44,6,45),(45,2,46),(46,7,47),(47,9,48),(48,5,49),(49,27,50),(50,4,51),(51,6,52),(52,2,53),(54,7,55),(55,9,56),(56,5,57),(57,27,58),(58,4,59),(59,6,60),(60,2,61),(62,7,63),(63,9,64),(64,5,65),(65,27,66),(66,4,67),(67,6,68),(68,2,69),(69,7,70),(70,9,71),(71,5,72),(72,27,73),(73,4,74),(74,6,75),(75,2,76);
/*!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=494 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,0.00000,0.00000,0.58686,0),(2,1,1.00000,7648.00000,-0.06376,488.6241610738255),(3,1,20.00000,7350.00000,-0.06376,488.6241610738255),(4,1,40.00000,7083.00000,-0.07491,570.561797752809),(5,1,60.00000,6817.00000,-0.07519,572.5563909774436),(6,1,80.00000,6559.00000,-0.07752,588.4496124031008),(7,1,100.00000,6307.00000,-0.07937,600.5555555555555),(8,1,120.00000,6060.00000,-0.08097,610.6882591093117),(9,1,140.00000,5815.00000,-0.08163,614.6938775510204),(10,1,160.00000,5563.00000,-0.07937,601.5079365079365),(11,1,180.00000,5314.00000,-0.08032,606.8273092369477),(12,1,200.00000,5064.00000,-0.08000,605.12),(13,1,220.00000,4815.00000,-0.08032,606.7469879518072),(14,1,240.00000,4576.00000,-0.08368,622.928870292887),(15,1,260.00000,4327.00000,-0.08032,607.5502008032129),(16,1,280.00000,4079.00000,-0.08065,608.9516129032259),(17,1,300.00000,3830.00000,-0.08032,607.6305220883535),(18,1,320.00000,3584.00000,-0.08130,611.3821138211382),(19,1,340.00000,3340.00000,-0.08197,613.7704918032787),(20,1,360.00000,3088.00000,-0.07937,605.0793650793651),(21,1,380.00000,2835.00000,-0.07905,604.1106719367589),(22,1,400.00000,2582.00000,-0.07905,604.1106719367589),(23,1,420.00000,2327.00000,-0.07843,602.5098039215686),(24,1,440.00000,2076.00000,-0.07968,605.4183266932271),(25,1,460.00000,1816.00000,-0.07692,599.6923076923077),(26,1,480.00000,1550.00000,-0.07519,596.5413533834586),(27,1,490.00000,1414.00000,-0.07353,593.9705882352941),(28,1,500.00000,1271.00000,-0.06993,588.8811188811189),(29,1,507.00000,1168.00000,-0.06796,586.3786407766991),(30,1,527.00000,898.00000,-0.07407,593.5185185185185),(31,9,0.00000,0.00000,0.50147,0),(32,9,1.00000,7097.00000,-0.03462,246.66538461538462),(33,9,10.00000,6837.00000,-0.03462,246.66538461538462),(34,9,20.00000,6622.00000,-0.04651,328),(35,9,40.00000,6220.00000,-0.04975,349.452736318408),(36,9,60.00000,5850.00000,-0.05405,376.21621621621625),(37,9,80.00000,5482.00000,-0.05435,377.9347826086956),(38,9,100.00000,5120.00000,-0.05525,382.87292817679554),(39,9,120.00000,4769.00000,-0.05698,391.73789173789174),(40,9,140.00000,4414.00000,-0.05634,388.67605633802816),(41,9,160.00000,4058.00000,-0.05618,387.97752808988764),(42,9,180.00000,3704.00000,-0.05650,389.26553672316385),(43,9,200.00000,3359.00000,-0.05797,394.72463768115944),(44,9,220.00000,3000.00000,-0.05571,387.1309192200557),(45,9,240.00000,2636.00000,-0.05495,384.83516483516485),(46,9,260.00000,2271.00000,-0.05479,384.43835616438355),(47,9,280.00000,1905.00000,-0.05464,384.0983606557377),(48,9,300.00000,1515.00000,-0.05128,377.6923076923077),(49,9,320.00000,1078.00000,-0.04577,369.3363844393593),(50,9,340.00000,678.00000,-0.05000,373.9),(51,16,0.00000,0.00000,1.15332,0),(52,16,1.00000,6881.00000,-0.10497,723.3149171270718),(53,16,20.00000,6700.00000,-0.10497,723.3149171270718),(54,16,40.00000,6543.00000,-0.12739,873.5031847133758),(55,16,60.00000,6395.00000,-0.13514,924.1891891891893),(56,16,80.00000,6247.00000,-0.13514,924.1891891891893),(57,16,100.00000,6104.00000,-0.13986,953.7062937062938),(58,16,120.00000,5964.00000,-0.14286,972),(59,16,140.00000,5822.00000,-0.14085,960),(60,16,160.00000,5680.00000,-0.14085,960),(61,16,180.00000,5539.00000,-0.14184,965.6737588652483),(62,16,200.00000,5402.00000,-0.14599,988.6131386861314),(63,16,220.00000,5260.00000,-0.14085,960.8450704225353),(64,16,240.00000,5120.00000,-0.14286,971.4285714285713),(65,16,260.00000,4980.00000,-0.14286,971.4285714285714),(66,16,280.00000,4848.00000,-0.15152,1014.5454545454546),(67,16,300.00000,4710.00000,-0.14493,982.608695652174),(68,16,320.00000,4577.00000,-0.15038,1008.2706766917292),(69,16,340.00000,4439.00000,-0.14493,983.3333333333334),(70,16,360.00000,4302.00000,-0.14599,988.029197080292),(71,16,380.00000,4165.00000,-0.14599,988.029197080292),(72,16,400.00000,4027.00000,-0.14493,983.6231884057971),(73,16,420.00000,3891.00000,-0.14706,992.2058823529412),(74,16,440.00000,3754.00000,-0.14599,988.029197080292),(75,16,460.00000,3615.00000,-0.14388,980.1438848920864),(76,16,480.00000,3486.00000,-0.15504,1020.4651162790698),(77,16,500.00000,3351.00000,-0.14815,996.4444444444443),(78,16,520.00000,3220.00000,-0.15267,1011.6030534351146),(79,16,540.00000,3081.00000,-0.14388,983.3093525179856),(80,16,560.00000,2942.00000,-0.14388,983.3093525179856),(81,16,580.00000,2802.00000,-0.14286,980.2857142857142),(82,16,600.00000,2663.00000,-0.14388,983.1654676258993),(83,16,620.00000,2523.00000,-0.14286,980.4285714285713),(84,16,640.00000,2382.00000,-0.14184,977.872340425532),(85,16,660.00000,2244.00000,-0.14493,985.2173913043478),(86,16,680.00000,2106.00000,-0.14493,985.2173913043478),(87,16,700.00000,1968.00000,-0.14493,985.2173913043478),(88,16,720.00000,1822.00000,-0.13699,969.5890410958904),(89,16,740.00000,1680.00000,-0.14085,976.6197183098592),(90,16,760.00000,1529.00000,-0.13245,962.5165562913908),(91,16,780.00000,1377.00000,-0.13158,961.1842105263158),(92,16,800.00000,1214.00000,-0.12270,948.9570552147239),(93,16,810.00000,1125.00000,-0.11236,936.4044943820224),(94,16,820.00000,1034.00000,-0.10989,933.6263736263736),(95,16,830.00000,917.00000,-0.08547,908.3760683760684),(96,16,850.00000,737.00000,-0.11111,931.8888888888889),(97,17,0.00000,0.00000,0.70560,0),(98,17,1.00000,7119.00000,-0.34615,2465.2692307692305),(99,17,10.00000,7093.00000,-0.34615,2465.2692307692305),(100,17,20.00000,6991.00000,-0.09804,705.3921568627451),(101,17,40.00000,6780.00000,-0.09479,682.654028436019),(102,17,60.00000,6619.00000,-0.12422,882.2360248447205),(103,17,80.00000,6435.00000,-0.10870,779.4565217391304),(104,17,100.00000,6267.00000,-0.11905,846.0714285714286),(105,17,120.00000,6090.00000,-0.11299,808.1355932203389),(106,17,140.00000,5932.00000,-0.12658,890.8860759493672),(107,17,160.00000,5770.00000,-0.12346,872.3456790123456),(108,17,180.00000,5603.00000,-0.11976,851.0179640718563),(109,17,200.00000,5442.00000,-0.12422,876.0248447204968),(110,17,220.00000,5285.00000,-0.12739,893.2484076433121),(111,17,240.00000,5125.00000,-0.12500,880.625),(112,17,260.00000,4974.00000,-0.13245,918.8079470198676),(113,17,280.00000,4820.00000,-0.12987,905.974025974026),(114,17,300.00000,4661.00000,-0.12579,886.2893081761006),(115,17,320.00000,4503.00000,-0.12658,890),(116,17,340.00000,4346.00000,-0.12739,893.6305732484076),(117,17,360.00000,4189.00000,-0.12739,893.6305732484076),(118,17,380.00000,4031.00000,-0.12658,890.253164556962),(119,17,400.00000,3872.00000,-0.12579,887.0440251572327),(120,17,420.00000,3720.00000,-0.13158,909.4736842105262),(121,17,440.00000,3566.00000,-0.12987,903.1168831168831),(122,17,460.00000,3411.00000,-0.12903,900.1290322580645),(123,17,480.00000,3252.00000,-0.12579,889.0566037735849),(124,17,500.00000,3093.00000,-0.12579,889.0566037735849),(125,17,520.00000,2936.00000,-0.12739,894.0127388535032),(126,17,540.00000,2777.00000,-0.12579,889.308176100629),(127,17,560.00000,2619.00000,-0.12658,891.5189873417721),(128,17,580.00000,2457.00000,-0.12346,883.3333333333333),(129,17,600.00000,2306.00000,-0.13245,905.4304635761589),(130,17,620.00000,2148.00000,-0.12658,891.8987341772151),(131,17,640.00000,1986.00000,-0.12346,885.1851851851852),(132,17,660.00000,1821.00000,-0.12121,880.7272727272727),(133,17,670.00000,1737.00000,-0.11905,876.7857142857142),(134,17,680.00000,1651.00000,-0.11628,871.9767441860465),(135,17,690.00000,1564.00000,-0.11494,869.7701149425287),(136,17,700.00000,1472.00000,-0.10870,860),(137,17,710.00000,1375.00000,-0.10309,851.7525773195877),(138,17,713.00000,1344.00000,-0.09677,843.0645161290322),(139,17,743.00000,1053.00000,-0.10309,851.5567010309278),(175,32,0.00000,0.00000,0.36364,0),(176,32,1.00000,6914.00000,-0.03673,254.98367346938778),(177,32,10.00000,6669.00000,-0.03673,254.98367346938778),(178,32,20.00000,6326.00000,-0.02915,204.43148688046645),(179,32,40.00000,5689.00000,-0.03140,218.61852433281004),(180,32,60.00000,5049.00000,-0.03125,217.78125),(181,32,80.00000,4421.00000,-0.03185,220.79617834394904),(182,32,100.00000,3790.00000,-0.03170,220.12678288431061),(183,32,120.00000,3157.00000,-0.03160,219.7472353870458),(184,32,140.00000,2522.00000,-0.03150,219.43307086614175),(185,32,160.00000,1892.00000,-0.03175,220.06349206349205),(186,32,180.00000,1246.00000,-0.03096,218.57585139318886),(187,32,190.00000,897.00000,-0.02865,215.70200573065904),(188,32,200.00000,550.00000,-0.02882,215.850144092219),(189,39,0.00000,0.00000,1.26374,0),(190,39,1.00000,6527.00000,-0.10976,717.3780487804878),(191,39,10.00000,6445.00000,-0.10976,717.3780487804878),(192,39,20.00000,6365.00000,-0.12500,815.625),(193,39,40.00000,6215.00000,-0.13333,868.6666666666666),(194,39,60.00000,6064.00000,-0.13245,863.1788079470199),(195,39,80.00000,5921.00000,-0.13986,908.1118881118882),(196,39,100.00000,5771.00000,-0.13333,869.4666666666667),(197,39,120.00000,5631.00000,-0.14286,924.4285714285713),(198,39,140.00000,5488.00000,-0.13986,907.5524475524476),(199,39,160.00000,5337.00000,-0.13245,866.8874172185431),(200,39,180.00000,5193.00000,-0.13889,901.25),(201,39,200.00000,5049.00000,-0.13889,901.25),(202,39,220.00000,4909.00000,-0.14286,921.2857142857142),(203,39,240.00000,4766.00000,-0.13986,906.5734265734267),(204,39,260.00000,4616.00000,-0.13333,875.4666666666667),(205,39,280.00000,4483.00000,-0.15038,954.1353383458646),(206,39,300.00000,4342.00000,-0.14184,915.886524822695),(207,39,320.00000,4202.00000,-0.14286,920.2857142857142),(208,39,340.00000,4064.00000,-0.14493,928.9855072463769),(209,39,360.00000,3919.00000,-0.13793,900.551724137931),(210,39,380.00000,3775.00000,-0.13889,904.3055555555555),(211,39,400.00000,3652.00000,-0.16260,993.821138211382),(212,39,420.00000,3485.00000,-0.11976,837.3652694610778),(213,39,440.00000,3342.00000,-0.13986,907.4125874125875),(214,39,460.00000,3201.00000,-0.14184,914.0425531914893),(215,39,480.00000,3059.00000,-0.14085,910.8450704225352),(216,39,500.00000,2917.00000,-0.14085,910.8450704225352),(217,39,520.00000,2773.00000,-0.13889,905.1388888888889),(218,39,540.00000,2630.00000,-0.13986,907.8321678321679),(219,39,560.00000,2488.00000,-0.14085,910.4225352112676),(220,39,580.00000,2342.00000,-0.13699,900.8219178082192),(221,39,600.00000,2201.00000,-0.14184,912.1985815602836),(222,39,620.00000,2057.00000,-0.13889,905.6944444444445),(223,39,640.00000,1915.00000,-0.14085,909.7183098591549),(224,39,660.00000,1767.00000,-0.13514,898.7837837837837),(225,39,680.00000,1621.00000,-0.13699,902.054794520548),(226,39,700.00000,1472.00000,-0.13423,897.5838926174497),(227,39,720.00000,1319.00000,-0.13072,892.4183006535948),(228,39,740.00000,1170.00000,-0.13423,897.0469798657718),(229,39,750.00000,1086.00000,-0.11905,879.2857142857142),(230,39,760.00000,1005.00000,-0.12346,884.074074074074),(231,39,770.00000,918.00000,-0.11494,875.5172413793103),(232,39,780.00000,829.00000,-0.11236,873.1460674157304),(233,39,785.00000,787.00000,-0.11905,878.6904761904761),(234,39,805.00000,637.00000,-0.13333,889.9333333333334),(235,40,0.00000,0.00000,1.31356,0),(236,40,1.00000,6957.00000,-0.05233,365.02906976744185),(237,40,10.00000,6785.00000,-0.05233,365.02906976744185),(238,40,20.00000,6633.00000,-0.06579,456.3815789473684),(239,40,40.00000,6387.00000,-0.08130,559.2682926829268),(240,40,60.00000,6170.00000,-0.09217,628.6635944700461),(241,40,80.00000,5966.00000,-0.09804,664.9019607843137),(242,40,100.00000,5758.00000,-0.09615,653.6538461538462),(243,40,120.00000,5553.00000,-0.09756,661.7560975609756),(244,40,140.00000,5355.00000,-0.10101,680.9090909090909),(245,40,160.00000,5153.00000,-0.09901,670.1980198019802),(246,40,180.00000,4951.00000,-0.09901,670.1980198019802),(247,40,200.00000,4758.00000,-0.10363,693.0569948186528),(248,40,220.00000,4565.00000,-0.10363,693.0569948186528),(249,40,240.00000,4368.00000,-0.10152,683.4517766497462),(250,40,260.00000,4173.00000,-0.10256,688),(251,40,280.00000,3977.00000,-0.10204,685.8163265306123),(252,40,300.00000,3779.00000,-0.10101,681.7171717171717),(253,40,320.00000,3587.00000,-0.10417,693.6458333333334),(254,40,340.00000,3390.00000,-0.10152,684.1624365482234),(255,40,360.00000,3193.00000,-0.10152,684.1624365482234),(256,40,380.00000,3000.00000,-0.10363,690.880829015544),(257,40,400.00000,2802.00000,-0.10101,683.030303030303),(258,40,420.00000,2604.00000,-0.10101,683.030303030303),(259,40,440.00000,2408.00000,-0.10204,685.7142857142858),(260,40,460.00000,2208.00000,-0.10000,680.8),(261,40,480.00000,2008.00000,-0.10000,680.8),(262,40,500.00000,1807.00000,-0.09950,679.8009950248756),(263,40,520.00000,1602.00000,-0.09756,676.2926829268292),(264,40,540.00000,1398.00000,-0.09804,677.0588235294117),(265,40,560.00000,1183.00000,-0.09302,670.046511627907),(266,40,580.00000,960.00000,-0.08969,666.0986547085201),(267,40,590.00000,843.00000,-0.08547,662.0512820512821),(268,40,600.00000,729.00000,-0.08772,663.9473684210526),(269,40,602.00000,702.00000,-0.07407,654),(270,40,620.00000,472.00000,-0.07826,656.9391304347826),(271,63,0.00000,0.00000,1.12290,0),(272,63,1.00000,6234.00000,-0.09677,604.2903225806451),(273,63,10.00000,6141.00000,-0.09677,604.2903225806451),(274,63,20.00000,6049.00000,-0.10870,677.5),(275,63,40.00000,5872.00000,-0.11299,703.5028248587571),(276,63,60.00000,5695.00000,-0.11299,703.5028248587571),(277,63,80.00000,5533.00000,-0.12346,763.0864197530864),(278,63,100.00000,5363.00000,-0.11765,730.9411764705882),(279,63,120.00000,5197.00000,-0.12048,746.144578313253),(280,63,140.00000,5033.00000,-0.12195,753.780487804878),(281,63,160.00000,4863.00000,-0.11765,732.1176470588235),(282,63,180.00000,4717.00000,-0.13699,826.1643835616438),(283,63,200.00000,4558.00000,-0.12579,773.3333333333334),(284,63,220.00000,4403.00000,-0.12903,788.1290322580645),(285,63,240.00000,4248.00000,-0.12903,788.1290322580645),(286,63,260.00000,4089.00000,-0.12579,774.3396226415094),(287,63,280.00000,3926.00000,-0.12270,761.717791411043),(288,63,300.00000,3771.00000,-0.12903,786.5806451612902),(289,63,320.00000,3613.00000,-0.12658,777.3417721518988),(290,63,340.00000,3449.00000,-0.12195,760.609756097561),(291,63,360.00000,3291.00000,-0.12658,776.5822784810127),(292,63,380.00000,3132.00000,-0.12579,773.9622641509434),(293,63,400.00000,2969.00000,-0.12270,764.2944785276073),(294,63,420.00000,2801.00000,-0.11905,753.452380952381),(295,63,440.00000,2647.00000,-0.12987,783.7662337662337),(296,63,460.00000,2486.00000,-0.12422,768.8198757763976),(297,63,480.00000,2325.00000,-0.12422,768.8198757763976),(298,63,500.00000,2165.00000,-0.12500,770.625),(299,63,520.00000,2007.00000,-0.12658,774.0506329113924),(300,63,540.00000,1842.00000,-0.12121,763.2727272727273),(301,63,560.00000,1677.00000,-0.12121,763.2727272727273),(302,63,580.00000,1521.00000,-0.12821,775),(303,63,590.00000,1437.00000,-0.11905,761.0714285714286),(304,63,600.00000,1347.00000,-0.11111,749.6666666666666),(305,63,610.00000,1257.00000,-0.11111,749.6666666666666),(306,63,620.00000,1163.00000,-0.10638,743.7234042553191),(307,63,630.00000,1065.00000,-0.10204,738.6734693877551),(308,63,640.00000,954.00000,-0.09009,725.9459459459459),(309,63,650.00000,835.00000,-0.08403,720.1680672268908),(310,63,657.00000,714.00000,-0.05785,698.305785123967),(311,63,667.00000,594.00000,-0.08333,716.5),(312,47,0.00000,0.00000,1.16753,0),(313,47,1.00000,6228.00000,-0.10000,623.8000000000001),(314,47,10.00000,6138.00000,-0.10000,623.8000000000001),(315,47,20.00000,6046.00000,-0.10870,677.1739130434783),(316,47,40.00000,5870.00000,-0.11364,707.0454545454545),(317,47,60.00000,5699.00000,-0.11696,726.5497076023391),(318,47,80.00000,5535.00000,-0.12195,755),(319,47,100.00000,5367.00000,-0.11905,738.9285714285714),(320,47,120.00000,5200.00000,-0.11976,742.754491017964),(321,47,140.00000,5038.00000,-0.12346,761.9753086419753),(322,47,160.00000,4873.00000,-0.12121,750.6666666666666),(323,47,180.00000,4730.00000,-0.13986,841.5384615384615),(324,47,200.00000,4559.00000,-0.11696,733.2163742690058),(325,47,220.00000,4404.00000,-0.12903,788.258064516129),(326,47,240.00000,4244.00000,-0.12500,770.5),(327,47,260.00000,4083.00000,-0.12422,767.2049689440994),(328,47,280.00000,3925.00000,-0.12658,776.8354430379748),(329,47,300.00000,3766.00000,-0.12579,773.7106918238994),(330,47,320.00000,3607.00000,-0.12579,773.7106918238994),(331,47,340.00000,3447.00000,-0.12500,770.875),(332,47,360.00000,3292.00000,-0.12903,784.7741935483871),(333,47,380.00000,3132.00000,-0.12500,771.5),(334,47,400.00000,2971.00000,-0.12422,769.0683229813665),(335,47,420.00000,2811.00000,-0.12500,771.375),(336,47,440.00000,2654.00000,-0.12739,778.0891719745223),(337,47,460.00000,2492.00000,-0.12346,767.6543209876543),(338,47,480.00000,2330.00000,-0.12346,767.6543209876543),(339,47,500.00000,2172.00000,-0.12658,774.9367088607595),(340,47,520.00000,2009.00000,-0.12270,766.5030674846626),(341,47,540.00000,1844.00000,-0.12121,763.5151515151515),(342,47,560.00000,1683.00000,-0.12422,769.0683229813665),(343,47,580.00000,1513.00000,-0.11765,758),(344,47,600.00000,1344.00000,-0.11834,759.0532544378698),(345,47,620.00000,1161.00000,-0.10929,746.8852459016393),(346,47,640.00000,967.00000,-0.10309,739.6907216494845),(347,47,656.00000,774.00000,-0.08290,720.1658031088083),(348,47,676.00000,579.00000,-0.10256,735.3846153846154),(349,55,0.00000,0.00000,0.90970,0),(350,55,1.00000,6443.00000,-0.08411,542.9345794392523),(351,55,10.00000,6336.00000,-0.08411,542.9345794392523),(352,55,20.00000,6239.00000,-0.10309,663.1958762886597),(353,55,40.00000,6059.00000,-0.11111,713.2222222222222),(354,55,75.00000,5752.00000,-0.11401,730.7654723127035),(355,55,80.00000,5710.00000,-0.11905,759.7619047619047),(356,55,100.00000,5536.00000,-0.11494,736.3218390804598),(357,55,120.00000,5368.00000,-0.11905,759.047619047619),(358,55,140.00000,5201.00000,-0.11976,762.874251497006),(359,55,160.00000,5039.00000,-0.12346,782.0987654320987),(360,55,180.00000,4872.00000,-0.11976,763.4730538922156),(361,55,200.00000,4706.00000,-0.12048,766.9879518072289),(362,55,220.00000,4541.00000,-0.12121,770.4242424242425),(363,55,240.00000,4378.00000,-0.12270,777.1779141104295),(364,55,260.00000,4217.00000,-0.12422,783.8509316770186),(365,55,280.00000,4052.00000,-0.12121,771.1515151515152),(366,55,300.00000,3891.00000,-0.12422,783.3540372670807),(367,55,320.00000,3729.00000,-0.12346,780.3703703703703),(368,55,340.00000,3567.00000,-0.12346,780.3703703703703),(369,55,360.00000,3400.00000,-0.11976,767.185628742515),(370,55,380.00000,3245.00000,-0.12903,798.7096774193549),(371,55,400.00000,3083.00000,-0.12346,780.6172839506173),(372,55,420.00000,2919.00000,-0.12195,775.9756097560976),(373,55,440.00000,2754.00000,-0.12121,773.8181818181818),(374,55,460.00000,2598.00000,-0.12821,793.0769230769231),(375,55,480.00000,2434.00000,-0.12195,776.8292682926829),(376,55,500.00000,2268.00000,-0.12048,773.2530120481928),(377,55,520.00000,2108.00000,-0.12500,783.5),(378,55,540.00000,1942.00000,-0.12048,773.9759036144578),(379,55,560.00000,1774.00000,-0.11905,771.1904761904761),(380,55,580.00000,1608.00000,-0.12048,773.7349397590361),(381,55,600.00000,1437.00000,-0.11696,768.0701754385965),(382,55,620.00000,1261.00000,-0.11364,763.2954545454545),(383,55,630.00000,1172.00000,-0.11236,761.685393258427),(384,55,640.00000,1075.00000,-0.10309,750.8247422680413),(385,55,650.00000,979.00000,-0.10417,751.9791666666666),(386,55,655.00000,942.00000,-0.13514,782.2972972972973),(387,55,675.00000,742.00000,-0.10000,749.2),(423,25,0.00000,0.00000,0.83766,0),(424,25,1.00000,7146.00000,-0.06618,473.8970588235294),(425,25,10.00000,7010.00000,-0.06618,473.8970588235294),(426,25,20.00000,6888.00000,-0.08197,584.5901639344262),(427,25,40.00000,6675.00000,-0.09390,666.7605633802816),(428,25,60.00000,6502.00000,-0.11561,811.6763005780347),(429,25,80.00000,6305.00000,-0.10152,720.1015228426396),(430,25,100.00000,6107.00000,-0.10101,716.8686868686868),(431,25,120.00000,5907.00000,-0.10000,710.7),(432,25,140.00000,5690.00000,-0.09217,664.4239631336405),(433,25,160.00000,5503.00000,-0.10695,748.5561497326203),(434,25,180.00000,5303.00000,-0.10000,710.3000000000001),(435,25,200.00000,5117.00000,-0.10753,750.2150537634409),(436,25,220.00000,4937.00000,-0.11111,768.5555555555555),(437,25,240.00000,4745.00000,-0.10417,734.2708333333334),(438,25,260.00000,4551.00000,-0.10309,729.1752577319587),(439,25,280.00000,4365.00000,-0.10753,749.3548387096774),(440,25,300.00000,4172.00000,-0.10363,732.3316062176166),(441,25,320.00000,3984.00000,-0.10638,743.8297872340426),(442,25,340.00000,3797.00000,-0.10695,746.0962566844919),(443,25,360.00000,3616.00000,-0.11050,759.5580110497237),(444,25,380.00000,3422.00000,-0.10309,732.7835051546392),(445,25,400.00000,3231.00000,-0.10471,738.3246073298429),(446,25,420.00000,3044.00000,-0.10695,745.5614973262032),(447,25,440.00000,2848.00000,-0.10204,730.6122448979593),(448,25,460.00000,2654.00000,-0.10309,733.6082474226804),(449,25,480.00000,2459.00000,-0.10256,732.2051282051282),(450,25,500.00000,2270.00000,-0.10582,740.2116402116402),(451,25,520.00000,2074.00000,-0.10204,731.6326530612245),(452,25,540.00000,1882.00000,-0.10417,736.0416666666667),(453,25,560.00000,1678.00000,-0.09804,724.5098039215686),(454,25,580.00000,1462.00000,-0.09259,715.3703703703703),(455,25,600.00000,1260.00000,-0.09901,724.7524752475248),(456,25,605.00000,1195.00000,-0.07692,696.9230769230769),(457,25,625.00000,985.00000,-0.09524,718.8095238095239),(458,25,645.00000,770.00000,-0.09302,716.6279069767442),(459,70,0.00000,0.00000,1.98077,0),(460,70,1.00000,7895.00000,-0.08571,677.7142857142857),(461,70,10.00000,7790.00000,-0.08571,677.7142857142857),(462,70,20.00000,7700.00000,-0.11111,875.5555555555555),(463,70,40.00000,7530.00000,-0.11765,925.8823529411765),(464,70,60.00000,7377.00000,-0.13072,1024.3137254901962),(465,70,80.00000,7227.00000,-0.13333,1043.6),(466,70,100.00000,7080.00000,-0.13605,1063.2653061224491),(467,70,120.00000,6932.00000,-0.13514,1056.7567567567567),(468,70,140.00000,6786.00000,-0.13699,1069.5890410958905),(469,70,160.00000,6645.00000,-0.14184,1102.5531914893618),(470,70,180.00000,6501.00000,-0.13889,1082.9166666666667),(471,70,200.00000,6358.00000,-0.13986,1089.2307692307693),(472,70,250.00000,6010.00000,-0.14368,1113.5057471264367),(473,70,300.00000,5664.00000,-0.14451,1118.4971098265896),(474,70,350.00000,5324.00000,-0.14706,1132.9411764705883),(475,70,370.00000,5187.00000,-0.14599,1127.2262773722628),(476,70,400.00000,4982.00000,-0.14634,1129.0731707317073),(477,70,450.00000,4643.00000,-0.14749,1134.8082595870205),(478,70,500.00000,4306.00000,-0.14837,1138.8724035608307),(479,70,550.00000,3966.00000,-0.14706,1133.235294117647),(480,70,600.00000,3631.00000,-0.14925,1141.9402985074626),(481,70,650.00000,3290.00000,-0.14663,1132.4046920821115),(482,70,700.00000,2954.00000,-0.14881,1139.5833333333333),(483,70,750.00000,2609.00000,-0.14493,1128.1159420289855),(484,70,800.00000,2270.00000,-0.14749,1134.8082595870205),(485,70,850.00000,1924.00000,-0.14451,1128.034682080925),(486,70,900.00000,1567.00000,-0.14006,1119.467787114846),(487,70,920.00000,1429.00000,-0.14493,1127.1014492753623),(488,70,940.00000,1280.00000,-0.13423,1111.8120805369128),(489,70,960.00000,1127.00000,-0.13072,1107.3202614379086),(490,70,980.00000,965.00000,-0.12346,1099.1358024691358),(491,70,1000.00000,805.00000,-0.12500,1100.625),(492,70,1010.00000,710.00000,-0.10526,1084.7368421052631),(493,70,1030.00000,520.00000,-0.10526,1084.7368421052631);
/*!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=77 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,808793396,'бак','',80,16,' л',1.00000,0,0),(2,808793396,'штатний ДРП','',128,8,' %',0.40000,0,0),(3,808793396,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(4,808793396,'витрата','',16,64,' л',0.50000,0,0),(5,808793396,'бортмережа','',112,16,' В',1.00000,0,0),(6,808793396,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(7,808793396,'запалювання','',196,1,' ',1.00000,0,0),(9,808858678,'правий бак','',80,16,' л',1.00000,0,0),(10,808858678,'штатний ДРП','',128,8,' %',0.40000,0,0),(11,808858678,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(12,808858678,'витрата','',16,64,' л',0.50000,0,0),(13,808858678,'бортмережа','',112,16,' В',1.00000,0,0),(14,808858678,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(15,808858678,'запалювання','',196,1,' ',1.00000,0,0),(16,808858678,'лівий бак','',96,16,'л',1.00000,0,0),(17,959983669,'бак','',80,16,' л',1.00000,0,0),(18,959983669,'штатний ДРП','',128,8,' %',0.40000,0,0),(19,959983669,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(20,959983669,'витрата','',16,64,' л',0.50000,0,0),(21,959983669,'бортмережа','',112,16,' В',1.00000,0,0),(22,959983669,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(23,959983669,'запалювання','',196,1,' ',1.00000,0,0),(25,926364214,'бак','',80,16,' л',1.00000,0,0),(26,926364214,'штатний ДРП','',128,8,' %',0.40000,0,0),(27,926364214,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(28,926364214,'витрата','',16,64,' л',0.50000,0,0),(29,926364214,'бортмережа','',112,16,' В',1.00000,0,0),(30,926364214,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(31,926364214,'запалювання','',196,1,' ',1.00000,0,0),(32,909719600,'правий бак','',80,16,' л',1.00000,0,0),(33,909719600,'штатний ДРП','',128,8,' %',0.40000,0,0),(34,909719600,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(35,909719600,'витрата','',16,64,' л',0.50000,0,0),(36,909719600,'бортмережа','',112,16,' В',1.00000,0,0),(37,909719600,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(38,909719600,'запалювання','',196,1,' ',1.00000,0,0),(39,909719600,'лівий бак','',96,16,'л',1.00000,0,0),(40,859255092,'бак','',80,16,' л',1.00000,0,0),(41,859255092,'штатний ДРП','',128,8,' %',0.40000,0,0),(42,859255092,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(43,859255092,'витрата','',16,64,' л',0.50000,0,0),(44,859255092,'бортмережа','',112,16,' В',1.00000,0,0),(45,859255092,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(46,859255092,'запалювання','',196,1,' ',1.00000,0,0),(47,926037556,'бак','',80,16,' л',1.00000,0,0),(48,926037556,'штатний ДРП','',128,8,' %',0.40000,0,0),(49,926037556,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(50,926037556,'витрата','',16,64,' л',0.50000,0,0),(51,926037556,'бортмережа','',112,16,' В',1.00000,0,0),(52,926037556,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(53,926037556,'запалювання','',196,1,' ',1.00000,0,0),(55,842151993,'бак','',80,16,' л',1.00000,0,0),(56,842151993,'штатний ДРП','',128,8,' %',0.40000,0,0),(57,842151993,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(58,842151993,'витрата','',16,64,' л',0.50000,0,0),(59,842151993,'бортмережа','',112,16,' В',1.00000,0,0),(60,842151993,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(61,842151993,'запалювання','',196,1,' ',1.00000,0,0),(63,909390646,'бак','',80,16,' л',1.00000,0,0),(64,909390646,'штатний ДРП','',128,8,' %',0.40000,0,0),(65,909390646,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(66,909390646,'витрата','',16,64,' л',0.50000,0,0),(67,909390646,'бортмережа','',112,16,' В',1.00000,0,0),(68,909390646,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(69,909390646,'запалювання','',196,1,' ',1.00000,0,0),(70,926497076,'бак','',80,16,' л',1.00000,0,0),(71,926497076,'штатний ДРП','',128,8,' %',0.40000,0,0),(72,926497076,'оберти двигуна','',0,16,' rpm',0.12500,0,0),(73,926497076,'витрата','',16,64,' л',0.50000,0,0),(74,926497076,'бортмережа','',112,16,' В',1.00000,0,0),(75,926497076,'пробіг за тахографом','',152,32,' км',0.00500,0,0),(76,926497076,'запалювання','',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=11 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),(3,'','',3,0,'104',NULL,NULL,NULL,NULL,0,NULL,0),(4,'','',4,0,'105',NULL,NULL,NULL,NULL,0,NULL,0),(5,'','',5,0,'106',NULL,NULL,NULL,NULL,0,NULL,0),(6,'','',6,0,'107',NULL,NULL,NULL,NULL,0,NULL,0),(7,'','',7,0,'109',NULL,NULL,NULL,NULL,0,NULL,0),(8,'','',8,0,'110',NULL,NULL,NULL,NULL,0,NULL,0),(9,'','',9,0,'108',NULL,NULL,NULL,NULL,0,NULL,0),(10,'','',10,0,'111',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=21 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',15),(4,1,1.1,'1',15),(5,0,0.1,'0',23),(6,1,1.1,'1',23),(7,0,0.1,'0',31),(8,1,1.1,'1',31),(9,0,0.1,'0',38),(10,1,1.1,'1',38),(11,0,0.1,'0',46),(12,1,1.1,'1',46),(13,0,0.1,'0',53),(14,1,1.1,'1',53),(15,0,0.1,'0',61),(16,1,1.1,'1',61),(17,0,0.1,'0',69),(18,1,1.1,'1',69),(19,0,0.1,'0',76),(20,1,1.1,'1',76);
/*!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=112 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,'+380500143167'),(103,'rcs','mtel',0,0,'+380500143202'),(104,'rcs','mtel',0,0,'+380500156138'),(105,'rcs','mtel',0,0,'+380500162239'),(106,'rcs','mtel',0,0,'+380500163769'),(107,'rcs','mtel',0,0,'+37257523413'),(108,'rcs','mtel',0,0,'+380673394820'),(109,'rcs','mtel',0,0,'+380673289616'),(110,'rcs','mtel',0,0,'+380675900997'),(111,'rcs','mtel',0,0,'+380671419372');
/*!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=19 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,3,4,'1',15,'Default','Default',0,1),(2,4,3,'0',15,'Default','Default',0,1),(3,1,2,'1',7,'Default','Default',0,1),(4,2,1,'0',7,'Default','Default',0,1),(5,5,6,'1',23,'Default','Default',0,1),(6,6,5,'0',23,'Default','Default',0,1),(7,7,8,'1',31,'Default','Default',0,1),(8,8,7,'0',31,'Default','Default',0,1),(9,11,12,'1',46,'Default','Default',0,1),(10,12,11,'0',46,'Default','Default',0,1),(11,13,14,'1',53,'Default','Default',0,1),(12,14,13,'0',53,'Default','Default',0,1),(13,15,16,'1',61,'Default','Default',0,1),(14,16,15,'0',61,'Default','Default',0,1),(15,17,18,'1',69,'Default','Default',0,1),(16,18,17,'0',69,'Default','Default',0,1),(17,19,20,'1',76,'Default','Default',0,1),(18,20,19,'0',76,'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=103 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,'2023-02-27 09:35:16',0,'25->0 Період згладжування','admin','MNK'),(2,8,'2023-02-27 09:35:16',0,'10->7 Поріг зливу','admin','MNK'),(3,8,'2023-02-27 09:35:16',0,'50->20 Поріг заправки','admin','MNK'),(4,8,'2023-02-27 09:35:16',0,'70->85 Максимальна швидкість руху, км/год','admin','MNK'),(5,8,'2023-02-27 09:35:16',0,'0->1 Не враховувати зливи у витратах','admin','MNK'),(6,9,'2023-02-27 09:52:23',1,'Вхід','admin','MNK'),(7,9,'2023-02-27 09:52:24',1,'Завантижити','admin','MNK'),(8,9,'2023-02-27 10:19:40',9,'Вхід','admin','MNK'),(9,9,'2023-02-27 10:19:41',9,'Завантижити','admin','MNK'),(10,9,'2023-02-27 10:19:50',16,'Вхід','admin','MNK'),(11,9,'2023-02-27 10:19:51',16,'Завантижити','admin','MNK'),(12,9,'2023-03-02 15:15:41',17,'Вхід','admin','MNK'),(13,9,'2023-03-02 15:15:42',17,'Завантижити','admin','MNK'),(14,9,'2023-03-15 10:33:19',25,'Вхід','admin','MNK'),(15,9,'2023-03-15 10:33:20',25,'Завантижити','admin','MNK'),(16,9,'2023-05-24 11:46:04',40,'Вхід','admin','MNK'),(17,9,'2023-05-24 11:46:05',40,'Завантижити','admin','MNK'),(18,9,'2023-09-28 16:06:20',63,'Вхід','admin','MNK_ROG'),(19,9,'2023-09-28 16:06:21',63,'Завантижити','admin','MNK_ROG'),(20,9,'2023-09-28 16:09:01',47,'Вхід','admin','MNK_ROG'),(21,9,'2023-09-28 16:09:03',47,'Завантижити','admin','MNK_ROG'),(22,9,'2023-09-28 16:13:35',55,'Вхід','admin','MNK_ROG'),(23,9,'2023-09-28 16:13:36',55,'Завантижити','admin','MNK_ROG'),(24,9,'2023-09-28 16:14:10',25,'Вхід','admin','MNK_ROG'),(25,9,'2023-09-28 16:14:12',25,'Зберегти як','admin','MNK_ROG'),(26,9,'2023-09-28 16:14:36',25,'Delete record 0','admin','MNK_ROG'),(27,9,'2023-09-28 16:14:36',25,'Delete record 0','admin','MNK_ROG'),(28,9,'2023-09-28 16:14:36',25,'Delete record 0','admin','MNK_ROG'),(29,9,'2023-09-28 16:14:36',25,'Delete record 0','admin','MNK_ROG'),(30,9,'2023-09-28 16:14:36',25,'Delete record 0','admin','MNK_ROG'),(31,9,'2023-09-28 16:14:37',25,'Delete record 0','admin','MNK_ROG'),(32,9,'2023-09-28 16:14:37',25,'Delete record 0','admin','MNK_ROG'),(33,9,'2023-09-28 16:14:37',25,'Delete record 0','admin','MNK_ROG'),(34,9,'2023-09-28 16:14:37',25,'Delete record 0','admin','MNK_ROG'),(35,9,'2023-09-28 16:14:37',25,'Delete record 0','admin','MNK_ROG'),(36,9,'2023-09-28 16:14:38',25,'Delete record 0','admin','MNK_ROG'),(37,9,'2023-09-28 16:14:38',25,'Delete record 0','admin','MNK_ROG'),(38,9,'2023-09-28 16:14:38',25,'Delete record 0','admin','MNK_ROG'),(39,9,'2023-09-28 16:14:38',25,'Delete record 0','admin','MNK_ROG'),(40,9,'2023-09-28 16:14:38',25,'Delete record 0','admin','MNK_ROG'),(41,9,'2023-09-28 16:14:39',25,'Delete record 0','admin','MNK_ROG'),(42,9,'2023-09-28 16:14:39',25,'Delete record 0','admin','MNK_ROG'),(43,9,'2023-09-28 16:14:39',25,'Delete record 0','admin','MNK_ROG'),(44,9,'2023-09-28 16:14:39',25,'Delete record 0','admin','MNK_ROG'),(45,9,'2023-09-28 16:14:39',25,'Delete record 0','admin','MNK_ROG'),(46,9,'2023-09-28 16:14:40',25,'Delete record 0','admin','MNK_ROG'),(47,9,'2023-09-28 16:14:40',25,'Delete record 0','admin','MNK_ROG'),(48,9,'2023-09-28 16:14:40',25,'Delete record 0','admin','MNK_ROG'),(49,9,'2023-09-28 16:14:40',25,'Delete record 0','admin','MNK_ROG'),(50,9,'2023-09-28 16:14:40',25,'Delete record 0','admin','MNK_ROG'),(51,9,'2023-09-28 16:14:41',25,'Delete record 0','admin','MNK_ROG'),(52,9,'2023-09-28 16:14:41',25,'Delete record 0','admin','MNK_ROG'),(53,9,'2023-09-28 16:14:44',25,'Delete record 0','admin','MNK_ROG'),(54,9,'2023-09-28 16:14:44',25,'Delete record 0','admin','MNK_ROG'),(55,9,'2023-09-28 16:14:44',25,'Delete record 0','admin','MNK_ROG'),(56,9,'2023-09-28 16:14:44',25,'Delete record 0','admin','MNK_ROG'),(57,9,'2023-09-28 16:14:44',25,'Delete record 0','admin','MNK_ROG'),(58,9,'2023-09-28 16:14:45',25,'Delete record 0','admin','MNK_ROG'),(59,9,'2023-09-28 16:14:45',25,'Delete record 0','admin','MNK_ROG'),(60,9,'2023-09-28 16:14:45',25,'Delete record 0','admin','MNK_ROG'),(61,9,'2023-09-28 16:17:01',25,'Вхід','admin','MNK_ROG'),(62,9,'2023-09-28 16:17:02',25,'Завантижити','admin','MNK_ROG'),(63,9,'2023-09-28 16:18:04',25,'Вхід','admin','MNK_ROG'),(64,9,'2023-09-28 16:18:07',25,'Delete record 0','admin','MNK_ROG'),(65,9,'2023-09-28 16:18:07',25,'Delete record 0','admin','MNK_ROG'),(66,9,'2023-09-28 16:18:07',25,'Delete record 0','admin','MNK_ROG'),(67,9,'2023-09-28 16:18:08',25,'Delete record 0','admin','MNK_ROG'),(68,9,'2023-09-28 16:18:08',25,'Delete record 0','admin','MNK_ROG'),(69,9,'2023-09-28 16:18:08',25,'Delete record 0','admin','MNK_ROG'),(70,9,'2023-09-28 16:18:08',25,'Delete record 0','admin','MNK_ROG'),(71,9,'2023-09-28 16:18:08',25,'Delete record 0','admin','MNK_ROG'),(72,9,'2023-09-28 16:18:08',25,'Delete record 0','admin','MNK_ROG'),(73,9,'2023-09-28 16:18:09',25,'Delete record 0','admin','MNK_ROG'),(74,9,'2023-09-28 16:18:09',25,'Delete record 0','admin','MNK_ROG'),(75,9,'2023-09-28 16:18:09',25,'Delete record 0','admin','MNK_ROG'),(76,9,'2023-09-28 16:18:09',25,'Delete record 0','admin','MNK_ROG'),(77,9,'2023-09-28 16:18:09',25,'Delete record 0','admin','MNK_ROG'),(78,9,'2023-09-28 16:18:10',25,'Delete record 0','admin','MNK_ROG'),(79,9,'2023-09-28 16:18:10',25,'Delete record 0','admin','MNK_ROG'),(80,9,'2023-09-28 16:18:10',25,'Delete record 0','admin','MNK_ROG'),(81,9,'2023-09-28 16:18:10',25,'Delete record 0','admin','MNK_ROG'),(82,9,'2023-09-28 16:18:10',25,'Delete record 0','admin','MNK_ROG'),(83,9,'2023-09-28 16:18:11',25,'Delete record 0','admin','MNK_ROG'),(84,9,'2023-09-28 16:18:11',25,'Delete record 0','admin','MNK_ROG'),(85,9,'2023-09-28 16:18:11',25,'Delete record 0','admin','MNK_ROG'),(86,9,'2023-09-28 16:18:11',25,'Delete record 0','admin','MNK_ROG'),(87,9,'2023-09-28 16:18:11',25,'Delete record 0','admin','MNK_ROG'),(88,9,'2023-09-28 16:18:12',25,'Delete record 0','admin','MNK_ROG'),(89,9,'2023-09-28 16:18:12',25,'Delete record 0','admin','MNK_ROG'),(90,9,'2023-09-28 16:18:15',25,'Delete record 0','admin','MNK_ROG'),(91,9,'2023-09-28 16:18:15',25,'Delete record 0','admin','MNK_ROG'),(92,9,'2023-09-28 16:18:15',25,'Delete record 0','admin','MNK_ROG'),(93,9,'2023-09-28 16:18:15',25,'Delete record 0','admin','MNK_ROG'),(94,9,'2023-09-28 16:18:15',25,'Delete record 0','admin','MNK_ROG'),(95,9,'2023-09-28 16:18:15',25,'Delete record 0','admin','MNK_ROG'),(96,9,'2023-09-28 16:18:16',25,'Delete record 0','admin','MNK_ROG'),(97,9,'2023-09-28 16:18:16',25,'Delete record 0','admin','MNK_ROG'),(98,9,'2023-09-28 16:18:16',25,'Delete record 0','admin','MNK_ROG'),(99,9,'2023-09-28 16:20:31',25,'Вхід','admin','MNK_ROG'),(100,9,'2023-09-28 16:20:32',25,'Завантижити','admin','MNK_ROG'),(101,9,'2024-02-02 18:39:12',70,'Вхід','admin','MNK_ROG'),(102,9,'2024-02-02 18:39:15',70,'Завантижити','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=11 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,'DAF','BK 2190 IB',6,808858678,0,'',1,NULL,1,'',NULL,NULL,19,NULL,NULL,0,0,0),(2,'DAF','BK 1863 IB',6,808793396,0,'',1,NULL,1,'',NULL,NULL,19,NULL,NULL,0,0,0),(3,'Renault','BK 3608 BA',6,959983669,0,'Magnum',1,NULL,1,'',NULL,NULL,-1,NULL,NULL,0,0,0),(4,'DAF','BK 1892 IB',6,926364214,0,'',1,NULL,1,'',NULL,NULL,19,NULL,NULL,0,0,0),(5,'DAF','BK 0713 HM',6,909719600,0,'',1,NULL,1,'',NULL,NULL,19,NULL,NULL,0,0,0),(6,'DAF','BK 6923 HT',6,859255092,0,'',1,NULL,1,'',NULL,NULL,19,NULL,NULL,0,0,0),(7,'DAF','BK 2673 II',6,909390646,0,'',1,NULL,1,'',NULL,NULL,19,NULL,NULL,0,0,0),(8,'DAF','BK 2593 II',6,926037556,0,'',1,NULL,1,'',NULL,NULL,19,NULL,NULL,0,0,0),(9,'DAF','BK 2639 II',6,842151993,0,'',1,NULL,1,'',NULL,NULL,19,NULL,NULL,0,0,0),(10,'DAF','WGM25211',6,926497076,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 AUTO_INCREMENT=6 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 */;
INSERT INTO `vehicle_commentary` VALUES (1,'+37281478215',808858678),(2,'+37281478239',808793396),(3,'+37281478238',959983669),(4,'+37257523415',926364214),(5,'+37281478214',909719600);
/*!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 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 'denysyuk'
--

--
-- Dumping routines for database 'denysyuk'
--
/*!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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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              = 'STRICT_TRANS_TABLES,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-02-06  9:59:42
