server_stat 1.1 KB

12345678910111213141516171819
  1. <?php return array (
  2. 'time' => 1450621476,
  3. 'table' => 'server_stat',
  4. 'create' => 'DROP TABLE IF EXISTS `server_stat`;CREATE TABLE `server_stat`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'ID\',`park_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'园区ID\',`device_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'设备\',`system_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'系统ID\',`code_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'名称\',`data_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'名称\',`value` TEXT(255) COMMENT \'当前记录值\',`receive` VARCHAR(255) NOT NULL DEFAULT \'\' COMMENT \'接收到的指令\',`reorder` INT(11) NOT NULL DEFAULT \'1\' COMMENT \'排序-数值越大越靠前\',`state` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'状态\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'时间\')',
  5. 'struct' =>
  6. array (
  7. 'id' => 0,
  8. 'park_id' => 1,
  9. 'device_id' => 2,
  10. 'system_id' => 3,
  11. 'code_id' => 4,
  12. 'data_id' => 5,
  13. 'value' => 6,
  14. 'receive' => 7,
  15. 'reorder' => 8,
  16. 'state' => 9,
  17. 'cdate' => 10,
  18. ),
  19. );