-- --------------------------------------------------------
-- 主机:                           127.0.0.1
-- 服务器版本:                        10.3.2-MariaDB - mariadb.org binary distribution
-- 服务器操作系统:                      Win64
-- HeidiSQL 版本:                  9.4.0.5125
-- --------------------------------------------------------

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!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' */;


-- 导出 oxygen_testsystem 的数据库结构
DROP DATABASE IF EXISTS `oxygen_testsystem`;
CREATE DATABASE IF NOT EXISTS `oxygen_testsystem` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `oxygen_testsystem`;

-- 导出  表 oxygen_testsystem.test_records 结构
DROP TABLE IF EXISTS `test_records`;
CREATE TABLE IF NOT EXISTS `test_records` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Time` varchar(10) NOT NULL,
  `Date` varchar(10) NOT NULL,
  `FlowRate` decimal(10,2) NOT NULL,
  `Duration` varchar(10) NOT NULL,
  `CreateTime` datetime NOT NULL,
  `Type` int(11) NOT NULL,
  `FlowRate2` decimal(10,2) unsigned zerofill DEFAULT NULL,
  `No` varchar(50) NOT NULL,
  PRIMARY KEY (`Id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=139 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

-- 数据导出被取消选择。
-- 导出  表 oxygen_testsystem.test_recordsfornegativepressure 结构
DROP TABLE IF EXISTS `test_recordsfornegativepressure`;
CREATE TABLE IF NOT EXISTS `test_recordsfornegativepressure` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Time` varchar(10) NOT NULL,
  `Date` varchar(10) NOT NULL,
  `StartPress` decimal(10,2) NOT NULL,
  `Duration` varchar(10) DEFAULT NULL,
  `CreateTime` datetime NOT NULL,
  `EndPress` decimal(10,2) NOT NULL,
  `DiffPress` decimal(10,2) NOT NULL,
  `ProtectTime` decimal(10,2) NOT NULL,
  `Type` int(11) NOT NULL,
  `No` varchar(50) NOT NULL,
  PRIMARY KEY (`Id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

-- 数据导出被取消选择。
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
