-- MySQL dump 10.13  Distrib 5.7.17, for Win64 (x86_64)
--
-- Host: localhost    Database: xc_data
-- ------------------------------------------------------
-- Server version	5.7.24-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 */;
/*!40101 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 `xc_sitesensorsdecode`
--

DROP TABLE IF EXISTS `xc_sitesensorsdecode`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xc_sitesensorsdecode` (
  `STATION` varchar(30) NOT NULL,
  `SENSOR` varchar(15) NOT NULL,
  `TOPIC` varchar(25) NOT NULL,
  `SEQNUM` int(11) NOT NULL,
  `ENABLED` varchar(1) NOT NULL,
  `FORMAT` varchar(10) DEFAULT NULL,
  `RELATIVE_TIME` varchar(1) DEFAULT NULL,
  `RELATIVE_POS` varchar(1) DEFAULT NULL,
  `ADD_BASE` varchar(1) DEFAULT NULL,
  `BYTE_SIZE` int(11) DEFAULT NULL,
  `BIT_SIZE` int(11) DEFAULT NULL,
  `BOUND1` int(11) DEFAULT NULL,
  `BOUND2` int(11) DEFAULT NULL,
  `BLOCK_ID` varchar(50) DEFAULT NULL,
  `BYTE_POS` int(11) DEFAULT NULL,
  `BIT_POS` int(11) DEFAULT NULL,
  `NEXT` int(11) DEFAULT NULL,
  `BIT_NEXT` int(11) DEFAULT NULL,
  `AMOUNT` int(11) DEFAULT NULL,
  `DELTA_TIME` int(11) DEFAULT NULL,
  `OFFSET_TIME` int(11) DEFAULT NULL,
  `ROUNDOFF_TIME` int(11) DEFAULT NULL,
  `SKIP_BLANK` int(11) DEFAULT NULL,
  `SKIP_COMMA` int(11) DEFAULT NULL,
  `SKIP_LF` int(11) DEFAULT NULL,
  `SKIP_PLUS` int(11) DEFAULT NULL,
  `IGNORE_CASE` varchar(1) DEFAULT NULL,
  `TEMPLATE_NAME` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`STATION`,`SENSOR`,`TOPIC`,`SEQNUM`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xc_sitesensorsdecode`
--

LOCK TABLES `xc_sitesensorsdecode` WRITE;
/*!40000 ALTER TABLE `xc_sitesensorsdecode` DISABLE KEYS */;
/*!40000 ALTER TABLE `xc_sitesensorsdecode` ENABLE KEYS */;
UNLOCK TABLES;
/*!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 2019-01-30 16:30:39
