CREATE TABLE IF NOT EXISTS `M_REALTIME_DATA` (
  `ID` bigint NOT NULL AUTO_INCREMENT COMMENT '自增长',
  `LOT_ID` varchar(20) NOT NULL COMMENT '批次号',
  `RECIPE_NAME` varchar(30) NOT NULL DEFAULT '' COMMENT '配方名称',
  `BATCH_SET` int DEFAULT '0' COMMENT '设定车数',
  `BATCH1_WEIGH_FINISH` int DEFAULT '0' COMMENT '1#称量完成车数',
  `BATCH2_WEIGH_FINISH` int DEFAULT '0' COMMENT '2#称量完成车数',
  `BATCH3_WEIGH_FINISH` int DEFAULT '0' COMMENT '3#称量完成车数',
  `BATCH1_FINISH` int DEFAULT '0' COMMENT '1#输送完成车数',
  `BATCH2_FINISH` int DEFAULT '0' COMMENT '2#输送完成车数',
  `BATCH3_FINISH` int DEFAULT '0' COMMENT '3#输送完成车数',
  `WEIGHT1` decimal(8,3) DEFAULT '0' COMMENT '秤1实时重量',
  `WEIGHT2` decimal(8,3) DEFAULT '0' COMMENT '秤2实时重量',
  `WEIGHT3` decimal(8,3) DEFAULT '0' COMMENT '秤3实时重量',
  `FEED_START_1` tinyint DEFAULT '0' COMMENT '1#输送开始',
  `FEED_START_2` tinyint DEFAULT '0' COMMENT '2#输送开始',
  `FEED_START_3` tinyint DEFAULT '0' COMMENT '3#输送开始',
  `MAX_PRESSURE_1` decimal(8,3) DEFAULT '0' COMMENT '1#加压压力',
  `FEED_PRESSURE_1` decimal(8,3) DEFAULT '0' COMMENT '1#输送压力',
  `MAX_PRESSURE_2` decimal(8,3) DEFAULT '0' COMMENT '2#加压压力',
  `FEED_PRESSURE_2` decimal(8,3) DEFAULT '0' COMMENT '2#输送压力',
  `MAX_PRESSURE_3` decimal(8,3) DEFAULT '0' COMMENT '3#加压压力',
  `FEED_PRESSURE_3` decimal(8,3) DEFAULT '0' COMMENT '3#输送压力',
  `SAVE_TIME` varchar(14) NOT NULL DEFAULT '' COMMENT '修改时间',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='实时数据';
