Coffee_MySQL.sql 65 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262
  1. CREATE DATABASE Coffee DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
  2. use Coffee;
  3. CREATE TABLE IF NOT EXISTS user (
  4. userID int(11) NOT NULL AUTO_INCREMENT,
  5. datetime TIMESTAMP NOT NULL DEFAULT current_timestamp() COMMENT '紀錄時間',
  6. firstname varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '姓氏',
  7. lastname varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '名字',
  8. mail varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '電子郵件',
  9. phone varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '連絡電話',
  10. username varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '使用者名稱',
  11. password varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '密碼',
  12. status int(11) NOT NULL COMMENT '0:Home;1:GlobalUser;2:LocalUser;3:EndUser;8:NewUser;9:DISABLE',
  13. PRIMARY KEY(userID)
  14. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  15. INSERT INTO user (firstname, lastname, mail, phone, username, password, status) VALUES
  16. ('firstname', 'lastname', 'aaa@gmail.com', '0987654321', 'user', '123456', 2);
  17. -- CREATE TABLE IF NOT EXISTS dry_tank_actuator(
  18. -- sn int(11) NOT NULL AUTO_INCREMENT COMMENT '流水號',
  19. -- datetime timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '紀錄時間',
  20. -- tank_num varchar(3) NOT NULL COMMENT '乾燥槽編號(D1~D12)',
  21. -- vacuum tinyint(1) NOT NULL DEFAULT '0' COMMENT '真空吸料機',
  22. -- threewayvalve_input tinyint(1) NOT NULL DEFAULT '0' COMMENT '吸料機三通閥',
  23. -- solenoid_disinfect tinyint(1) NOT NULL DEFAULT '0' COMMENT '消毒閥',
  24. -- motor int(11) NOT NULL DEFAULT '0' COMMENT '馬達',
  25. -- solenoid_outer_water tinyint(1) NOT NULL DEFAULT '0' COMMENT '桶外進水電磁閥',
  26. -- solenoid_water_out tinyint(1) NOT NULL DEFAULT '0' COMMENT '廢水排水電磁閥',
  27. -- heater1 tinyint(1) NOT NULL DEFAULT '0' COMMENT '加熱管 1',
  28. -- heater2 tinyint(1) NOT NULL DEFAULT '0' COMMENT '加熱管 2',
  29. -- temp_enable tinyint(1) NOT NULL DEFAULT '0' COMMENT '溫控開關',
  30. -- temp float NOT NULL DEFAULT '0' COMMENT '設定溫度',
  31. -- diskvalve tinyint(1) NOT NULL DEFAULT '0' COMMENT '蝴蝶閥',
  32. -- switch_magnetic tinyint(1) NOT NULL DEFAULT '0' COMMENT '電磁開關',
  33. -- switch_emergency tinyint(1) NOT NULL DEFAULT '0' COMMENT '緊急開關',
  34. -- camera tinyint(1) NOT NULL DEFAULT '0' COMMENT '攝影機',
  35. -- light_warning tinyint(1) NOT NULL DEFAULT '0' COMMENT '警示燈',
  36. -- PRIMARY KEY (sn)
  37. -- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  38. -- INSERT INTO dry_tank_actuator (tank_num, vacuum, threewayvalve_input, solenoid_disinfect, motor, solenoid_outer_water, solenoid_water_out, heater1, heater2, temp_enable, temp, diskvalve, switch_magnetic, switch_emergency, camera, light_warning)
  39. -- VALUES ('D13', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
  40. -- CREATE TABLE IF NOT EXISTS dry_tank_SHT11(
  41. -- sn int(11) NOT NULL AUTO_INCREMENT COMMENT '流水號',
  42. -- datetime timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '紀錄時間',
  43. -- tank_num varchar(3) NOT NULL COMMENT '乾燥槽編號(D1~D12)',
  44. -- SHT11_Temp varchar(16) NOT NULL DEFAULT '0' COMMENT 'SHT11 溫度 (單位℃)',
  45. -- SHT11_Humidity varchar(16) NOT NULL DEFAULT '0' COMMENT 'SHT11 濕度 (單位%)',
  46. -- PRIMARY KEY (sn)
  47. -- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  48. -- INSERT INTO dry_tank_SHT11 (tank_num, SHT11_Temp, SHT11_Humidity) VALUES ('D13', '0', '0')
  49. --
  50. -- -----------------------------------------------------------------------------------------------------------
  51. --
  52. CREATE DATABASE Sixth DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
  53. use Sixth;
  54. --
  55. -- 資料表結構 `farm_info`
  56. --
  57. CREATE TABLE IF NOT EXISTS `farm_info` (
  58. `sn` int(11) NOT NULL,
  59. `path` text NOT NULL,
  60. `location` text NOT NULL,
  61. `loc_lat` text NOT NULL,
  62. `loc_lng` text NOT NULL,
  63. `user_id` int(11) DEFAULT NULL,
  64. `datetime` datetime NOT NULL
  65. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  66. --
  67. -- 資料表的匯出資料 `farm_info`
  68. --
  69. INSERT INTO `farm_info` (`sn`, `path`, `location`, `loc_lat`, `loc_lng`, `user_id`, `datetime`) VALUES
  70. (6, '0', 'Statue of Liberty', '40.6892500000001', '-74.04445', 1, '2021-01-26 11:32:48');
  71. -- --------------------------------------------------------
  72. --
  73. -- 資料表結構 `item_list`
  74. --
  75. CREATE TABLE `item_list` (
  76. `sn` int(11) NOT NULL,
  77. `ip` text NOT NULL,
  78. `pymysql` int(11) NOT NULL,
  79. `eventlet` int(11) NOT NULL,
  80. `datetime` datetime NOT NULL
  81. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  82. --
  83. -- 資料表的匯出資料 `item_list`
  84. --
  85. INSERT INTO `item_list` (`sn`, `ip`, `pymysql`, `eventlet`, `datetime`) VALUES
  86. (1, '60.250.156.230', 0, 0, '2021-03-25 17:05:44'),
  87. (2, '60.250.156.230', 0, 0, '2021-03-25 17:07:15'),
  88. (3, '60.250.156.230', 0, 0, '2021-03-25 17:08:34'),
  89. (4, '60.250.156.230', 0, 0, '2021-03-25 17:09:25'),
  90. (5, '60.250.156.230', 1, 1, '2021-03-25 17:11:28'),
  91. (6, '60.250.156.230', 1, 1, '2021-03-25 17:12:24'),
  92. (7, '60.250.156.230', 1, 1, '2021-03-25 17:16:58'),
  93. (8, '60.250.156.230', 1, 1, '2021-03-25 17:32:07'),
  94. (9, '60.250.156.230', 1, 1, '2021-03-25 17:35:27'),
  95. (10, '60.250.156.230', 1, 1, '2021-03-25 17:39:41'),
  96. (11, '60.250.156.230', 1, 1, '2021-03-25 17:41:41'),
  97. (12, '60.250.156.230', 1, 0, '2021-03-25 17:43:01'),
  98. (13, '60.250.156.230', 1, 1, '2021-03-25 17:50:05'),
  99. (14, '60.250.156.230', 1, 1, '2021-03-25 17:51:22'),
  100. (15, '60.250.156.230', 0, 0, '2021-03-26 18:00:18'),
  101. (16, '60.250.156.230', 1, 1, '2021-03-26 18:01:30'),
  102. (17, '60.250.156.230', 1, 1, '2021-04-01 10:17:47'),
  103. (18, '60.250.156.230', 1, 1, '2021-04-01 10:49:43'),
  104. (19, '60.250.156.230', 1, 1, '2021-04-01 10:50:41'),
  105. (20, '60.250.156.230', 1, 1, '2021-04-01 10:52:48'),
  106. (21, '60.250.156.230', 0, 1, '2021-04-01 11:01:06'),
  107. (22, '60.250.156.230', 1, 1, '2021-04-01 11:02:16'),
  108. (23, '60.250.156.230', 1, 1, '2021-04-01 11:03:45'),
  109. (24, '60.250.156.230', 1, 1, '2021-04-01 11:06:06'),
  110. (25, '60.250.156.230', 0, 1, '2021-04-01 11:09:01'),
  111. (26, '60.250.156.230', 0, 1, '2021-04-01 11:13:02'),
  112. (27, '60.250.156.230', 0, 1, '2021-04-01 11:13:43'),
  113. (28, '60.250.156.230', 0, 1, '2021-04-01 16:08:52'),
  114. (29, '60.250.156.230', 1, 1, '2021-04-01 16:09:25'),
  115. (30, '60.250.156.230', 1, 1, '2021-04-01 16:44:14'),
  116. (31, '60.250.156.230', 1, 1, '2021-04-07 10:07:01'),
  117. (32, '60.250.156.230', 1, 1, '2021-04-08 15:18:08'),
  118. (33, '60.250.156.230', 1, 1, '2021-04-13 11:58:09'),
  119. (34, '60.250.156.230', 1, 1, '2021-04-13 13:52:41'),
  120. (35, '60.250.156.230', 1, 1, '2021-04-13 16:42:12'),
  121. (36, '60.250.156.230', 1, 1, '2021-04-13 16:53:39'),
  122. (37, '60.250.156.230', 1, 1, '2021-04-13 16:54:23'),
  123. (38, '60.250.156.230', 1, 1, '2021-04-13 16:56:15'),
  124. (39, '60.250.156.230', 1, 1, '2021-04-13 17:04:41'),
  125. (40, '60.250.156.230', 0, 0, '2021-04-13 17:05:50');
  126. -- --------------------------------------------------------
  127. --
  128. -- 資料表結構 `module_sn_number`
  129. --
  130. CREATE TABLE `module_sn_number` (
  131. `sn` int(11) NOT NULL,
  132. `module_name` varchar(30) NOT NULL,
  133. `sn_number` text NOT NULL,
  134. `user_id` int(11) DEFAULT NULL,
  135. `datetime` datetime NOT NULL
  136. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  137. --
  138. -- 資料表的匯出資料 `module_sn_number`
  139. --
  140. INSERT INTO `module_sn_number` (`sn`, `module_name`, `sn_number`, `user_id`, `datetime`) VALUES
  141. (1, 'node1-water-sonic', '', 1, '2021-01-26 11:19:57'),
  142. (2, 'node1-irrigation-soilHum', '', 1, '2021-01-26 11:19:57'),
  143. (3, 'node2-weather-rain', '', 1, '2021-01-26 11:19:57'),
  144. (4, 'node2-water-airTem', '', 1, '2021-01-26 11:19:57'),
  145. (5, 'node1-weather-windDin', '', 1, '2021-01-26 11:19:57'),
  146. (6, 'node2-weather-water level', '', 1, '2021-01-26 11:19:57'),
  147. (7, 'node9-weather-windDin', '', 1, '2021-01-26 11:19:57'),
  148. (8, 'node1-weather-PH', '', 1, '2021-01-26 11:19:57'),
  149. (9, 'node2-water-sonic', '', 1, '2021-01-26 11:19:57'),
  150. (10, 'node9-irrigation-girl', '', 1, '2021-01-26 11:19:57'),
  151. (11, 'node2-irrigation-atmosphere', '', 1, '2021-01-26 11:19:57'),
  152. (12, 'node9-weather-rain', '', 1, '2021-01-26 11:19:57'),
  153. (13, 'node1-weather-atmosphere', '', 1, '2021-01-26 11:19:57'),
  154. (14, 'node1-water-rain', '', 1, '2021-01-26 11:19:57'),
  155. (15, 'node10-water-Statue', '', 1, '2021-01-26 11:19:57'),
  156. (16, 'node5-weather-soilHum', '', 1, '2021-01-26 11:19:57'),
  157. (17, 'node10-water-windDin', '', 1, '2021-01-26 11:19:57'),
  158. (18, 'node6-weather-soilEC', '', 1, '2021-01-26 11:19:57'),
  159. (19, 'node2-weather-atmosphere', '', 1, '2021-01-26 11:19:57'),
  160. (20, 'node2-weather-soilEC', '', 1, '2021-01-26 11:19:57'),
  161. (21, 'node1-weather-girl', '', 1, '2021-01-26 11:19:57'),
  162. (22, 'node11-water-sun', '', 1, '2021-01-26 11:19:57'),
  163. (23, 'node11-water-light', '', 1, '2021-01-26 11:19:57'),
  164. (24, 'node11-water-Statue', '', 1, '2021-01-26 11:19:57'),
  165. (25, 'node10-water-soilEC', '', 1, '2021-01-26 11:19:57'),
  166. (26, 'node8-weather-airTem', '', 1, '2021-01-26 11:19:57'),
  167. (27, 'node10-water-girl', '', 1, '2021-01-26 11:19:57'),
  168. (28, 'node2-irrigation-PH', '', 1, '2021-01-26 11:19:57'),
  169. (29, 'node9-weather-soilTem', '', 1, '2021-01-26 11:19:57'),
  170. (30, 'node10-water-airTem', '', 1, '2021-01-26 11:19:57'),
  171. (31, 'node1-irrigation-windDin', '', 1, '2021-01-26 11:19:57'),
  172. (32, 'node8-weather-soilHum', '', 1, '2021-01-26 11:19:57'),
  173. (33, 'node3-water-atmosphere', '', 1, '2021-01-26 11:19:57'),
  174. (34, 'node8-weather-sun', '', 1, '2021-01-26 11:19:57'),
  175. (35, 'node11-water-airHum', '', 1, '2021-01-26 11:19:57'),
  176. (36, 'node5-weather-airTem', '', 1, '2021-01-26 11:19:57'),
  177. (37, 'node10-water-soilTem', '', 1, '2021-01-26 11:19:57'),
  178. (38, 'node11-water-soilHum', '', 1, '2021-01-26 11:19:57'),
  179. (39, 'node2-weather-light', '', 1, '2021-01-26 11:19:57'),
  180. (40, 'node9-irrigation-atmosphere', '', 1, '2021-01-26 11:19:57'),
  181. (41, 'node2-irrigation-dewPoint', '', 1, '2021-01-26 11:19:57'),
  182. (42, 'node2-water-windSpd', '', 1, '2021-01-26 11:19:57'),
  183. (43, 'node8-weather-dewPoint', '', 1, '2021-01-26 11:19:57'),
  184. (44, 'node1-weather-soilEC', '', 1, '2021-01-26 11:19:57'),
  185. (45, 'node2-irrigation-airHum', '', 1, '2021-01-26 11:19:57'),
  186. (46, 'node1-irrigation-airHum', '', 1, '2021-01-26 11:19:57'),
  187. (47, 'node1-weather-airHum', '', 1, '2021-01-26 11:19:57'),
  188. (48, 'node11-water-airTem', '', 1, '2021-01-26 11:19:57'),
  189. (49, 'node10-water-rain', '', 1, '2021-01-26 11:19:57'),
  190. (50, 'node1-irrigation-soilEC', '', 1, '2021-01-26 11:19:57'),
  191. (51, 'node1-water-airHum', '', 1, '2021-01-26 11:19:57'),
  192. (52, 'node1-water-atmosphere', '', 1, '2021-01-26 11:19:57'),
  193. (53, 'node10-water-water level', '', 1, '2021-01-26 11:19:57'),
  194. (54, 'node1-water-soilEC', '', 1, '2021-01-26 11:19:57'),
  195. (55, 'node2-irrigation-rain', '', 1, '2021-01-26 11:19:57'),
  196. (56, 'node2-water-Statue', '', 1, '2021-01-26 11:19:57'),
  197. (57, 'node2-irrigation-soilEC', '', 1, '2021-01-26 11:19:57'),
  198. (58, 'node2-weather-dewPoint', '', 1, '2021-01-26 11:19:57'),
  199. (59, 'node1-water-girl', '', 1, '2021-01-26 11:19:57'),
  200. (60, 'node2-weather-soilTem', '', 1, '2021-01-26 11:19:57'),
  201. (61, 'node1-water-water level', '', 1, '2021-01-26 11:19:57'),
  202. (62, 'node8-weather-airHum', '', 1, '2021-01-26 11:19:57'),
  203. (63, 'node2-irrigation-soilHum', '', 1, '2021-01-26 11:19:57'),
  204. (64, 'node2-water-atmosphere', '', 1, '2021-01-26 11:19:57'),
  205. (65, 'node11-water-girl', '', 1, '2021-01-26 11:19:57'),
  206. (66, 'node1-irrigation-airTem', '', 1, '2021-01-26 11:19:57'),
  207. (67, 'node2-irrigation-light', '', 1, '2021-01-26 11:19:57'),
  208. (68, 'node2-water-sun', '', 1, '2021-01-26 11:19:57'),
  209. (69, 'node1-weather-soilHum', '', 1, '2021-01-26 11:19:57'),
  210. (70, 'node7-weather-windDin', '', 1, '2021-01-26 11:19:57'),
  211. (71, 'node1-weather-soilTem', '', 1, '2021-01-26 11:19:57'),
  212. (72, 'node8-weather-windSpd', '', 1, '2021-01-26 11:19:57'),
  213. (73, 'node2-weather-sun', '', 1, '2021-01-26 11:19:57'),
  214. (74, 'node10-water-light', '', 1, '2021-01-26 11:19:57'),
  215. (75, 'node1-irrigation-Statue', '', 1, '2021-01-26 11:19:57'),
  216. (76, 'node3-water-sun', '', 1, '2021-01-26 11:19:57'),
  217. (77, 'node3-water-windSpd', '', 1, '2021-01-26 11:19:57'),
  218. (78, 'node2-irrigation-water level', '', 1, '2021-01-26 11:19:57'),
  219. (79, 'node3-water-soilTem', '', 1, '2021-01-26 11:19:57'),
  220. (80, 'node2-weather-airHum', '', 1, '2021-01-26 11:19:57'),
  221. (81, 'node1-water-windDin', '', 1, '2021-01-26 11:19:57'),
  222. (82, 'node1-weather-sonic', '', 1, '2021-01-26 11:19:57'),
  223. (83, 'node1-water-light', '', 1, '2021-01-26 11:19:57'),
  224. (84, 'node2-weather-Statue', '', 1, '2021-01-26 11:19:57'),
  225. (85, 'node8-irrigation-light', '', 1, '2021-01-26 11:19:57'),
  226. (86, 'node11-water-PH', '', 1, '2021-01-26 11:19:57'),
  227. (87, 'node2-irrigation-airTem', '', 1, '2021-01-26 11:19:57'),
  228. (88, 'node1-weather-light', '', 1, '2021-01-26 11:19:57'),
  229. (89, 'node1-water-dewPoint', '', 1, '2021-01-26 11:19:57'),
  230. (90, 'node2-weather-girl', '', 1, '2021-01-26 11:19:57'),
  231. (91, 'node2-irrigation-Statue', '', 1, '2021-01-26 11:19:57'),
  232. (92, 'node1-water-sun', '', 1, '2021-01-26 11:19:57'),
  233. (93, 'node9-irrigation-Statue', '', 1, '2021-01-26 11:19:57'),
  234. (94, 'node2-water-soilHum', '', 1, '2021-01-26 11:19:57'),
  235. (95, 'node10-water-sonic', '', 1, '2021-01-26 11:19:57'),
  236. (96, 'node2-water-windDin', '', 1, '2021-01-26 11:19:57'),
  237. (97, 'node3-irrigation-windDin', '', 1, '2021-01-26 11:19:57'),
  238. (98, 'node10-water-soilHum', '', 1, '2021-01-26 11:19:57'),
  239. (99, 'node2-water-rain', '', 1, '2021-01-26 11:19:57'),
  240. (100, 'node1-irrigation-light', '', 1, '2021-01-26 11:19:57'),
  241. (101, 'node2-water-girl', '', 1, '2021-01-26 11:19:57'),
  242. (102, 'node1-weather-windSpd', '', 1, '2021-01-26 11:19:57'),
  243. (103, 'node2-water-water level', '', 1, '2021-01-26 11:19:57'),
  244. (104, 'node1-irrigation-windSpd', '', 1, '2021-01-26 11:19:57'),
  245. (105, 'node2-water-light', '', 1, '2021-01-26 11:19:57'),
  246. (106, 'node11-water-water level', '', 1, '2021-01-26 11:19:57'),
  247. (107, 'node2-irrigation-girl', '', 1, '2021-01-26 11:19:57'),
  248. (108, 'node2-weather-PH', '', 1, '2021-01-26 11:19:57'),
  249. (109, 'node8-weather-soilEC', '', 1, '2021-01-26 11:19:57'),
  250. (110, 'node1-irrigation-water level', '', 1, '2021-01-26 11:19:57'),
  251. (111, 'node6-weather-soilHum', '', 1, '2021-01-26 11:19:57'),
  252. (112, 'node8-weather-soilTem', '', 1, '2021-01-26 11:19:57'),
  253. (113, 'node10-water-sun', '', 1, '2021-01-26 11:19:57'),
  254. (114, 'node1-water-windSpd', '', 1, '2021-01-26 11:19:57'),
  255. (115, 'node7-irrigation-girl', '', 1, '2021-01-26 11:19:57'),
  256. (116, 'node4-weather-Statue', '', 1, '2021-01-26 11:19:57'),
  257. (117, 'node1-weather-dewPoint', '', 1, '2021-01-26 11:19:57'),
  258. (118, 'node2-water-PH', '', 1, '2021-01-26 11:19:57'),
  259. (119, 'node2-irrigation-windDin', '', 1, '2021-01-26 11:19:57'),
  260. (120, 'node7-irrigation-Statue', '', 1, '2021-01-26 11:19:57'),
  261. (121, 'node9-irrigation-sonic', '', 1, '2021-01-26 11:19:57'),
  262. (122, 'node11-water-dewPoint', '', 1, '2021-01-26 11:19:57'),
  263. (123, 'node10-water-atmosphere', '', 1, '2021-01-26 11:19:57'),
  264. (124, 'node1-water-airTem', '', 1, '2021-01-26 11:19:57'),
  265. (125, 'node2-irrigation-sonic', '', 1, '2021-01-26 11:19:57'),
  266. (126, 'node2-irrigation-soilTem', '', 1, '2021-01-26 11:19:57'),
  267. (127, 'node9-weather-soilEC', '', 1, '2021-01-26 11:19:57'),
  268. (128, 'node10-water-PH', '', 1, '2021-01-26 11:19:57'),
  269. (129, 'node11-water-windDin', '', 1, '2021-01-26 11:19:57'),
  270. (130, 'node1-irrigation-sun', '', 1, '2021-01-26 11:19:57'),
  271. (131, 'node8-irrigation-Statue', '', 1, '2021-01-26 11:19:57'),
  272. (132, 'node2-weather-windSpd', '', 1, '2021-01-26 11:19:57'),
  273. (133, 'node1-weather-rain', '', 1, '2021-01-26 11:19:57'),
  274. (134, 'node1-irrigation-soilTem', '', 1, '2021-01-26 11:19:57'),
  275. (135, 'node2-water-airHum', '', 1, '2021-01-26 11:19:57'),
  276. (136, 'node2-weather-windDin', '', 1, '2021-01-26 11:19:57'),
  277. (137, 'node4-weather-light', '', 1, '2021-01-26 11:19:57'),
  278. (138, 'node1-irrigation-PH', '', 1, '2021-01-26 11:19:57'),
  279. (139, 'node1-weather-sun', '', 1, '2021-01-26 11:19:57'),
  280. (140, 'node1-water-Statue', '', 1, '2021-01-26 11:19:57'),
  281. (141, 'node1-irrigation-sonic', '', 1, '2021-01-26 11:19:57'),
  282. (142, 'node7-weather-atmosphere', '', 1, '2021-01-26 11:19:57'),
  283. (143, 'node3-water-windDin', '', 1, '2021-01-26 11:19:57'),
  284. (144, 'node11-water-soilTem', '', 1, '2021-01-26 11:19:57'),
  285. (145, 'node6-weather-windSpd', '', 1, '2021-01-26 11:19:57'),
  286. (146, 'node10-water-dewPoint', '', 1, '2021-01-26 11:19:57'),
  287. (147, 'node3-irrigation-atmosphere', '', 1, '2021-01-26 11:19:57'),
  288. (148, 'node8-irrigation-girl', '', 1, '2021-01-26 11:19:57'),
  289. (149, 'node1-water-PH', '', 1, '2021-01-26 11:19:57'),
  290. (150, 'node1-irrigation-dewPoint', '', 1, '2021-01-26 11:19:57'),
  291. (151, 'node6-weather-soilTem', '', 1, '2021-01-26 11:19:57'),
  292. (152, 'node2-water-soilTem', '', 1, '2021-01-26 11:19:57'),
  293. (153, 'node11-water-atmosphere', '', 1, '2021-01-26 11:19:57'),
  294. (154, 'node1-water-soilHum', '', 1, '2021-01-26 11:19:57'),
  295. (155, 'node11-water-rain', '', 1, '2021-01-26 11:19:57'),
  296. (156, 'node1-weather-airTem', '', 1, '2021-01-26 11:19:57'),
  297. (157, 'node2-weather-soilHum', '', 1, '2021-01-26 11:19:57'),
  298. (158, 'node2-irrigation-sun', '', 1, '2021-01-26 11:19:57'),
  299. (159, 'node1-irrigation-rain', '', 1, '2021-01-26 11:19:57'),
  300. (160, 'node1-weather-Statue', '', 1, '2021-01-26 11:19:57'),
  301. (161, 'node2-irrigation-windSpd', '', 1, '2021-01-26 11:19:57'),
  302. (162, 'node1-water-soilTem', '', 1, '2021-01-26 11:19:57'),
  303. (163, 'node11-water-windSpd', '', 1, '2021-01-26 11:19:57'),
  304. (164, 'node2-weather-airTem', '', 1, '2021-01-26 11:19:57'),
  305. (165, 'node3-irrigation-soilEC', '', 1, '2021-01-26 11:19:57'),
  306. (166, 'node10-water-airHum', '', 1, '2021-01-26 11:19:57'),
  307. (167, 'node2-water-dewPoint', '', 1, '2021-01-26 11:19:57'),
  308. (168, 'node1-irrigation-girl', '', 1, '2021-01-26 11:19:57'),
  309. (169, 'node7-weather-sonic', '', 1, '2021-01-26 11:19:57'),
  310. (170, 'node2-water-soilEC', '', 1, '2021-01-26 11:19:57'),
  311. (171, 'node7-irrigation-water level', '', 1, '2021-01-26 11:19:57'),
  312. (172, 'node3-water-soilEC', '', 1, '2021-01-26 11:19:57'),
  313. (173, 'node11-water-sonic', '', 1, '2021-01-26 11:19:57'),
  314. (174, 'node5-weather-dewPoint', '', 1, '2021-01-26 11:19:57'),
  315. (175, 'node1-weather-water level', '', 1, '2021-01-26 11:19:57'),
  316. (176, 'node1-irrigation-atmosphere', '', 1, '2021-01-26 11:19:57'),
  317. (177, 'node9-weather-windSpd', '', 1, '2021-01-26 11:19:57'),
  318. (178, 'node10-water-windSpd', '', 1, '2021-01-26 11:19:57'),
  319. (179, 'node2-weather-sonic', '', 1, '2021-01-26 11:19:57'),
  320. (180, 'node11-water-soilEC', '', 1, '2021-01-26 11:19:57'),
  321. (181, 'node4-weather-sonic', '', 1, '2021-01-26 11:19:57'),
  322. (182, 'node9-irrigation-windDin', '', 1, '2021-01-26 11:19:57'),
  323. (183, 'node9-weather-soilHum', '', 1, '2021-01-26 11:19:57'),
  324. (184, 'node1-water-sonic', '', 1, '2021-01-26 11:28:34'),
  325. (185, 'node1-irrigation-soilHum', '', 1, '2021-01-26 11:28:34'),
  326. (186, 'node2-weather-rain', '', 1, '2021-01-26 11:28:34'),
  327. (187, 'node2-water-airTem', '', 1, '2021-01-26 11:28:34'),
  328. (188, 'node1-weather-windDin', '', 1, '2021-01-26 11:28:34'),
  329. (189, 'node2-weather-water level', '', 1, '2021-01-26 11:28:34'),
  330. (190, 'node9-weather-windDin', '', 1, '2021-01-26 11:28:34'),
  331. (191, 'node1-weather-PH', '', 1, '2021-01-26 11:28:34'),
  332. (192, 'node2-water-sonic', '', 1, '2021-01-26 11:28:34'),
  333. (193, 'node9-irrigation-girl', '', 1, '2021-01-26 11:28:34'),
  334. (194, 'node2-irrigation-atmosphere', '', 1, '2021-01-26 11:28:34'),
  335. (195, 'node9-weather-rain', '', 1, '2021-01-26 11:28:34'),
  336. (196, 'node1-weather-atmosphere', '', 1, '2021-01-26 11:28:34'),
  337. (197, 'node1-water-rain', '', 1, '2021-01-26 11:28:34'),
  338. (198, 'node10-water-Statue', '', 1, '2021-01-26 11:28:34'),
  339. (199, 'node5-weather-soilHum', '', 1, '2021-01-26 11:28:34'),
  340. (200, 'node10-water-windDin', '', 1, '2021-01-26 11:28:34'),
  341. (201, 'node6-weather-soilEC', '', 1, '2021-01-26 11:28:34'),
  342. (202, 'node2-weather-atmosphere', '', 1, '2021-01-26 11:28:34'),
  343. (203, 'node2-weather-soilEC', '', 1, '2021-01-26 11:28:34'),
  344. (204, 'node1-weather-girl', '', 1, '2021-01-26 11:28:34'),
  345. (205, 'node11-water-sun', '', 1, '2021-01-26 11:28:34'),
  346. (206, 'node11-water-light', '', 1, '2021-01-26 11:28:34'),
  347. (207, 'node11-water-Statue', '', 1, '2021-01-26 11:28:34'),
  348. (208, 'node10-water-soilEC', '', 1, '2021-01-26 11:28:34'),
  349. (209, 'node8-weather-airTem', '', 1, '2021-01-26 11:28:34'),
  350. (210, 'node10-water-girl', '', 1, '2021-01-26 11:28:34'),
  351. (211, 'node2-irrigation-PH', '', 1, '2021-01-26 11:28:34'),
  352. (212, 'node9-weather-soilTem', '', 1, '2021-01-26 11:28:34'),
  353. (213, 'node10-water-airTem', '', 1, '2021-01-26 11:28:34'),
  354. (214, 'node1-irrigation-windDin', '', 1, '2021-01-26 11:28:34'),
  355. (215, 'node8-weather-soilHum', '', 1, '2021-01-26 11:28:34'),
  356. (216, 'node3-water-atmosphere', '', 1, '2021-01-26 11:28:34'),
  357. (217, 'node8-weather-sun', '', 1, '2021-01-26 11:28:34'),
  358. (218, 'node11-water-airHum', '', 1, '2021-01-26 11:28:34'),
  359. (219, 'node5-weather-airTem', '', 1, '2021-01-26 11:28:34'),
  360. (220, 'node10-water-soilTem', '', 1, '2021-01-26 11:28:34'),
  361. (221, 'node11-water-soilHum', '', 1, '2021-01-26 11:28:34'),
  362. (222, 'node2-weather-light', '', 1, '2021-01-26 11:28:34'),
  363. (223, 'node9-irrigation-atmosphere', '', 1, '2021-01-26 11:28:34'),
  364. (224, 'node2-irrigation-dewPoint', '', 1, '2021-01-26 11:28:34'),
  365. (225, 'node2-water-windSpd', '', 1, '2021-01-26 11:28:34'),
  366. (226, 'node8-weather-dewPoint', '', 1, '2021-01-26 11:28:34'),
  367. (227, 'node1-weather-soilEC', '', 1, '2021-01-26 11:28:34'),
  368. (228, 'node2-irrigation-airHum', '', 1, '2021-01-26 11:28:34'),
  369. (229, 'node1-irrigation-airHum', '', 1, '2021-01-26 11:28:34'),
  370. (230, 'node1-weather-airHum', '', 1, '2021-01-26 11:28:34'),
  371. (231, 'node11-water-airTem', '', 1, '2021-01-26 11:28:34'),
  372. (232, 'node10-water-rain', '', 1, '2021-01-26 11:28:34'),
  373. (233, 'node1-irrigation-soilEC', '', 1, '2021-01-26 11:28:34'),
  374. (234, 'node1-water-airHum', '', 1, '2021-01-26 11:28:34'),
  375. (235, 'node1-water-atmosphere', '', 1, '2021-01-26 11:28:34'),
  376. (236, 'node10-water-water level', '', 1, '2021-01-26 11:28:34'),
  377. (237, 'node1-water-soilEC', '', 1, '2021-01-26 11:28:34'),
  378. (238, 'node2-irrigation-rain', '', 1, '2021-01-26 11:28:34'),
  379. (239, 'node2-water-Statue', '', 1, '2021-01-26 11:28:34'),
  380. (240, 'node2-irrigation-soilEC', '', 1, '2021-01-26 11:28:34'),
  381. (241, 'node2-weather-dewPoint', '', 1, '2021-01-26 11:28:34'),
  382. (242, 'node1-water-girl', '', 1, '2021-01-26 11:28:34'),
  383. (243, 'node2-weather-soilTem', '', 1, '2021-01-26 11:28:34'),
  384. (244, 'node1-water-water level', '', 1, '2021-01-26 11:28:34'),
  385. (245, 'node8-weather-airHum', '', 1, '2021-01-26 11:28:34'),
  386. (246, 'node2-irrigation-soilHum', '', 1, '2021-01-26 11:28:34'),
  387. (247, 'node2-water-atmosphere', '', 1, '2021-01-26 11:28:34'),
  388. (248, 'node11-water-girl', '', 1, '2021-01-26 11:28:34'),
  389. (249, 'node1-irrigation-airTem', '', 1, '2021-01-26 11:28:34'),
  390. (250, 'node2-irrigation-light', '', 1, '2021-01-26 11:28:34'),
  391. (251, 'node2-water-sun', '', 1, '2021-01-26 11:28:34'),
  392. (252, 'node1-weather-soilHum', '', 1, '2021-01-26 11:28:34'),
  393. (253, 'node7-weather-windDin', '', 1, '2021-01-26 11:28:34'),
  394. (254, 'node1-weather-soilTem', '', 1, '2021-01-26 11:28:34'),
  395. (255, 'node8-weather-windSpd', '', 1, '2021-01-26 11:28:34'),
  396. (256, 'node2-weather-sun', '', 1, '2021-01-26 11:28:34'),
  397. (257, 'node10-water-light', '', 1, '2021-01-26 11:28:34'),
  398. (258, 'node1-irrigation-Statue', '', 1, '2021-01-26 11:28:34'),
  399. (259, 'node3-water-sun', '', 1, '2021-01-26 11:28:34'),
  400. (260, 'node3-water-windSpd', '', 1, '2021-01-26 11:28:34'),
  401. (261, 'node2-irrigation-water level', '', 1, '2021-01-26 11:28:34'),
  402. (262, 'node3-water-soilTem', '', 1, '2021-01-26 11:28:34'),
  403. (263, 'node2-weather-airHum', '', 1, '2021-01-26 11:28:34'),
  404. (264, 'node1-water-windDin', '', 1, '2021-01-26 11:28:34'),
  405. (265, 'node1-weather-sonic', '', 1, '2021-01-26 11:28:34'),
  406. (266, 'node1-water-light', '', 1, '2021-01-26 11:28:34'),
  407. (267, 'node2-weather-Statue', '', 1, '2021-01-26 11:28:34'),
  408. (268, 'node8-irrigation-light', '', 1, '2021-01-26 11:28:34'),
  409. (269, 'node11-water-PH', '', 1, '2021-01-26 11:28:34'),
  410. (270, 'node2-irrigation-airTem', '', 1, '2021-01-26 11:28:34'),
  411. (271, 'node1-weather-light', '', 1, '2021-01-26 11:28:34'),
  412. (272, 'node1-water-dewPoint', '', 1, '2021-01-26 11:28:34'),
  413. (273, 'node2-weather-girl', '', 1, '2021-01-26 11:28:34'),
  414. (274, 'node2-irrigation-Statue', '', 1, '2021-01-26 11:28:34'),
  415. (275, 'node1-water-sun', '', 1, '2021-01-26 11:28:34'),
  416. (276, 'node9-irrigation-Statue', '', 1, '2021-01-26 11:28:34'),
  417. (277, 'node2-water-soilHum', '', 1, '2021-01-26 11:28:34'),
  418. (278, 'node10-water-sonic', '', 1, '2021-01-26 11:28:34'),
  419. (279, 'node2-water-windDin', '', 1, '2021-01-26 11:28:34'),
  420. (280, 'node3-irrigation-windDin', '', 1, '2021-01-26 11:28:34'),
  421. (281, 'node10-water-soilHum', '', 1, '2021-01-26 11:28:34'),
  422. (282, 'node2-water-rain', '', 1, '2021-01-26 11:28:34'),
  423. (283, 'node1-irrigation-light', '', 1, '2021-01-26 11:28:34'),
  424. (284, 'node2-water-girl', '', 1, '2021-01-26 11:28:34'),
  425. (285, 'node1-weather-windSpd', '', 1, '2021-01-26 11:28:34'),
  426. (286, 'node2-water-water level', '', 1, '2021-01-26 11:28:34'),
  427. (287, 'node1-irrigation-windSpd', '', 1, '2021-01-26 11:28:34'),
  428. (288, 'node2-water-light', '', 1, '2021-01-26 11:28:34'),
  429. (289, 'node11-water-water level', '', 1, '2021-01-26 11:28:34'),
  430. (290, 'node2-irrigation-girl', '', 1, '2021-01-26 11:28:34'),
  431. (291, 'node2-weather-PH', '', 1, '2021-01-26 11:28:34'),
  432. (292, 'node8-weather-soilEC', '', 1, '2021-01-26 11:28:34'),
  433. (293, 'node1-irrigation-water level', '', 1, '2021-01-26 11:28:34'),
  434. (294, 'node6-weather-soilHum', '', 1, '2021-01-26 11:28:34'),
  435. (295, 'node8-weather-soilTem', '', 1, '2021-01-26 11:28:34'),
  436. (296, 'node10-water-sun', '', 1, '2021-01-26 11:28:34'),
  437. (297, 'node1-water-windSpd', '', 1, '2021-01-26 11:28:34'),
  438. (298, 'node7-irrigation-girl', '', 1, '2021-01-26 11:28:34'),
  439. (299, 'node4-weather-Statue', '', 1, '2021-01-26 11:28:34'),
  440. (300, 'node1-weather-dewPoint', '', 1, '2021-01-26 11:28:34'),
  441. (301, 'node2-water-PH', '', 1, '2021-01-26 11:28:34'),
  442. (302, 'node2-irrigation-windDin', '', 1, '2021-01-26 11:28:34'),
  443. (303, 'node7-irrigation-Statue', '', 1, '2021-01-26 11:28:34'),
  444. (304, 'node9-irrigation-sonic', '', 1, '2021-01-26 11:28:34'),
  445. (305, 'node11-water-dewPoint', '', 1, '2021-01-26 11:28:34'),
  446. (306, 'node10-water-atmosphere', '', 1, '2021-01-26 11:28:34'),
  447. (307, 'node1-water-airTem', '', 1, '2021-01-26 11:28:34'),
  448. (308, 'node2-irrigation-sonic', '', 1, '2021-01-26 11:28:34'),
  449. (309, 'node2-irrigation-soilTem', '', 1, '2021-01-26 11:28:34'),
  450. (310, 'node9-weather-soilEC', '', 1, '2021-01-26 11:28:34'),
  451. (311, 'node10-water-PH', '', 1, '2021-01-26 11:28:34'),
  452. (312, 'node11-water-windDin', '', 1, '2021-01-26 11:28:34'),
  453. (313, 'node1-irrigation-sun', '', 1, '2021-01-26 11:28:34'),
  454. (314, 'node8-irrigation-Statue', '', 1, '2021-01-26 11:28:34'),
  455. (315, 'node2-weather-windSpd', '', 1, '2021-01-26 11:28:34'),
  456. (316, 'node1-weather-rain', '', 1, '2021-01-26 11:28:34'),
  457. (317, 'node1-irrigation-soilTem', '', 1, '2021-01-26 11:28:34'),
  458. (318, 'node2-water-airHum', '', 1, '2021-01-26 11:28:34'),
  459. (319, 'node2-weather-windDin', '', 1, '2021-01-26 11:28:34'),
  460. (320, 'node4-weather-light', '', 1, '2021-01-26 11:28:34'),
  461. (321, 'node1-irrigation-PH', '', 1, '2021-01-26 11:28:34'),
  462. (322, 'node1-weather-sun', '', 1, '2021-01-26 11:28:34'),
  463. (323, 'node1-water-Statue', '', 1, '2021-01-26 11:28:34'),
  464. (324, 'node1-irrigation-sonic', '', 1, '2021-01-26 11:28:34'),
  465. (325, 'node7-weather-atmosphere', '', 1, '2021-01-26 11:28:34'),
  466. (326, 'node3-water-windDin', '', 1, '2021-01-26 11:28:34'),
  467. (327, 'node11-water-soilTem', '', 1, '2021-01-26 11:28:34'),
  468. (328, 'node6-weather-windSpd', '', 1, '2021-01-26 11:28:34'),
  469. (329, 'node10-water-dewPoint', '', 1, '2021-01-26 11:28:34'),
  470. (330, 'node3-irrigation-atmosphere', '', 1, '2021-01-26 11:28:34'),
  471. (331, 'node8-irrigation-girl', '', 1, '2021-01-26 11:28:34'),
  472. (332, 'node1-water-PH', '', 1, '2021-01-26 11:28:34'),
  473. (333, 'node1-irrigation-dewPoint', '', 1, '2021-01-26 11:28:34'),
  474. (334, 'node6-weather-soilTem', '', 1, '2021-01-26 11:28:34'),
  475. (335, 'node2-water-soilTem', '', 1, '2021-01-26 11:28:34'),
  476. (336, 'node11-water-atmosphere', '', 1, '2021-01-26 11:28:34'),
  477. (337, 'node1-water-soilHum', '', 1, '2021-01-26 11:28:34'),
  478. (338, 'node11-water-rain', '', 1, '2021-01-26 11:28:34'),
  479. (339, 'node1-weather-airTem', '', 1, '2021-01-26 11:28:34'),
  480. (340, 'node2-weather-soilHum', '', 1, '2021-01-26 11:28:34'),
  481. (341, 'node2-irrigation-sun', '', 1, '2021-01-26 11:28:34'),
  482. (342, 'node1-irrigation-rain', '', 1, '2021-01-26 11:28:34'),
  483. (343, 'node1-weather-Statue', '', 1, '2021-01-26 11:28:34'),
  484. (344, 'node2-irrigation-windSpd', '', 1, '2021-01-26 11:28:34'),
  485. (345, 'node1-water-soilTem', '', 1, '2021-01-26 11:28:34'),
  486. (346, 'node11-water-windSpd', '', 1, '2021-01-26 11:28:34'),
  487. (347, 'node2-weather-airTem', '', 1, '2021-01-26 11:28:34'),
  488. (348, 'node3-irrigation-soilEC', '', 1, '2021-01-26 11:28:34'),
  489. (349, 'node10-water-airHum', '', 1, '2021-01-26 11:28:34'),
  490. (350, 'node2-water-dewPoint', '', 1, '2021-01-26 11:28:34'),
  491. (351, 'node1-irrigation-girl', '', 1, '2021-01-26 11:28:34'),
  492. (352, 'node7-weather-sonic', '', 1, '2021-01-26 11:28:34'),
  493. (353, 'node2-water-soilEC', '', 1, '2021-01-26 11:28:34'),
  494. (354, 'node7-irrigation-water level', '', 1, '2021-01-26 11:28:34'),
  495. (355, 'node3-water-soilEC', '', 1, '2021-01-26 11:28:34'),
  496. (356, 'node11-water-sonic', '', 1, '2021-01-26 11:28:34'),
  497. (357, 'node5-weather-dewPoint', '', 1, '2021-01-26 11:28:34'),
  498. (358, 'node1-weather-water level', '', 1, '2021-01-26 11:28:34'),
  499. (359, 'node1-irrigation-atmosphere', '', 1, '2021-01-26 11:28:34'),
  500. (360, 'node9-weather-windSpd', '', 1, '2021-01-26 11:28:34'),
  501. (361, 'node10-water-windSpd', '', 1, '2021-01-26 11:28:34'),
  502. (362, 'node2-weather-sonic', '', 1, '2021-01-26 11:28:34'),
  503. (363, 'node11-water-soilEC', '', 1, '2021-01-26 11:28:34'),
  504. (364, 'node4-weather-sonic', '', 1, '2021-01-26 11:28:34'),
  505. (365, 'node9-irrigation-windDin', '', 1, '2021-01-26 11:28:34'),
  506. (366, 'node9-weather-soilHum', '', 1, '2021-01-26 11:28:34'),
  507. (367, 'node1-water-sonic', '', 1, '2021-01-26 11:32:10'),
  508. (368, 'node1-irrigation-soilHum', '', 1, '2021-01-26 11:32:10'),
  509. (369, 'node2-weather-rain', '', 1, '2021-01-26 11:32:10'),
  510. (370, 'node2-water-airTem', '', 1, '2021-01-26 11:32:10'),
  511. (371, 'node1-weather-windDin', '', 1, '2021-01-26 11:32:10'),
  512. (372, 'node2-weather-water level', '', 1, '2021-01-26 11:32:10'),
  513. (373, 'node9-weather-windDin', '', 1, '2021-01-26 11:32:10'),
  514. (374, 'node1-weather-PH', '', 1, '2021-01-26 11:32:10'),
  515. (375, 'node2-water-sonic', '', 1, '2021-01-26 11:32:10'),
  516. (376, 'node9-irrigation-girl', '', 1, '2021-01-26 11:32:10'),
  517. (377, 'node2-irrigation-atmosphere', '', 1, '2021-01-26 11:32:10'),
  518. (378, 'node9-weather-rain', '', 1, '2021-01-26 11:32:10'),
  519. (379, 'node1-weather-atmosphere', '', 1, '2021-01-26 11:32:10'),
  520. (380, 'node1-water-rain', '', 1, '2021-01-26 11:32:10'),
  521. (381, 'node10-water-Statue', '', 1, '2021-01-26 11:32:10'),
  522. (382, 'node5-weather-soilHum', '', 1, '2021-01-26 11:32:10'),
  523. (383, 'node10-water-windDin', '', 1, '2021-01-26 11:32:10'),
  524. (384, 'node6-weather-soilEC', '', 1, '2021-01-26 11:32:10'),
  525. (385, 'node2-weather-atmosphere', '', 1, '2021-01-26 11:32:10'),
  526. (386, 'node2-weather-soilEC', '', 1, '2021-01-26 11:32:10'),
  527. (387, 'node1-weather-girl', '', 1, '2021-01-26 11:32:10'),
  528. (388, 'node11-water-sun', '', 1, '2021-01-26 11:32:10'),
  529. (389, 'node11-water-light', '', 1, '2021-01-26 11:32:10'),
  530. (390, 'node11-water-Statue', '', 1, '2021-01-26 11:32:10'),
  531. (391, 'node10-water-soilEC', '', 1, '2021-01-26 11:32:10'),
  532. (392, 'node8-weather-airTem', '', 1, '2021-01-26 11:32:10'),
  533. (393, 'node10-water-girl', '', 1, '2021-01-26 11:32:10'),
  534. (394, 'node2-irrigation-PH', '', 1, '2021-01-26 11:32:10'),
  535. (395, 'node9-weather-soilTem', '', 1, '2021-01-26 11:32:10'),
  536. (396, 'node10-water-airTem', '', 1, '2021-01-26 11:32:10'),
  537. (397, 'node1-irrigation-windDin', '', 1, '2021-01-26 11:32:10'),
  538. (398, 'node8-weather-soilHum', '', 1, '2021-01-26 11:32:10'),
  539. (399, 'node3-water-atmosphere', '', 1, '2021-01-26 11:32:10'),
  540. (400, 'node8-weather-sun', '', 1, '2021-01-26 11:32:10'),
  541. (401, 'node11-water-airHum', '', 1, '2021-01-26 11:32:10'),
  542. (402, 'node5-weather-airTem', '', 1, '2021-01-26 11:32:10'),
  543. (403, 'node10-water-soilTem', '', 1, '2021-01-26 11:32:10'),
  544. (404, 'node11-water-soilHum', '', 1, '2021-01-26 11:32:10'),
  545. (405, 'node2-weather-light', '', 1, '2021-01-26 11:32:10'),
  546. (406, 'node9-irrigation-atmosphere', '', 1, '2021-01-26 11:32:10'),
  547. (407, 'node2-irrigation-dewPoint', '', 1, '2021-01-26 11:32:10'),
  548. (408, 'node2-water-windSpd', '', 1, '2021-01-26 11:32:10'),
  549. (409, 'node8-weather-dewPoint', '', 1, '2021-01-26 11:32:10'),
  550. (410, 'node1-weather-soilEC', '', 1, '2021-01-26 11:32:10'),
  551. (411, 'node2-irrigation-airHum', '', 1, '2021-01-26 11:32:10'),
  552. (412, 'node1-irrigation-airHum', '', 1, '2021-01-26 11:32:10'),
  553. (413, 'node1-weather-airHum', '', 1, '2021-01-26 11:32:10'),
  554. (414, 'node11-water-airTem', '', 1, '2021-01-26 11:32:10'),
  555. (415, 'node10-water-rain', '', 1, '2021-01-26 11:32:10'),
  556. (416, 'node1-irrigation-soilEC', '', 1, '2021-01-26 11:32:10'),
  557. (417, 'node1-water-airHum', '', 1, '2021-01-26 11:32:10'),
  558. (418, 'node1-water-atmosphere', '', 1, '2021-01-26 11:32:10'),
  559. (419, 'node10-water-water level', '', 1, '2021-01-26 11:32:10'),
  560. (420, 'node1-water-soilEC', '', 1, '2021-01-26 11:32:10'),
  561. (421, 'node2-irrigation-rain', '', 1, '2021-01-26 11:32:10'),
  562. (422, 'node2-water-Statue', '', 1, '2021-01-26 11:32:10'),
  563. (423, 'node2-irrigation-soilEC', '', 1, '2021-01-26 11:32:10'),
  564. (424, 'node2-weather-dewPoint', '', 1, '2021-01-26 11:32:10'),
  565. (425, 'node1-water-girl', '', 1, '2021-01-26 11:32:10'),
  566. (426, 'node2-weather-soilTem', '', 1, '2021-01-26 11:32:10'),
  567. (427, 'node1-water-water level', '', 1, '2021-01-26 11:32:10'),
  568. (428, 'node8-weather-airHum', '', 1, '2021-01-26 11:32:10'),
  569. (429, 'node2-irrigation-soilHum', '', 1, '2021-01-26 11:32:10'),
  570. (430, 'node2-water-atmosphere', '', 1, '2021-01-26 11:32:10'),
  571. (431, 'node11-water-girl', '', 1, '2021-01-26 11:32:10'),
  572. (432, 'node1-irrigation-airTem', '', 1, '2021-01-26 11:32:10'),
  573. (433, 'node2-irrigation-light', '', 1, '2021-01-26 11:32:10'),
  574. (434, 'node2-water-sun', '', 1, '2021-01-26 11:32:10'),
  575. (435, 'node1-weather-soilHum', '', 1, '2021-01-26 11:32:10'),
  576. (436, 'node7-weather-windDin', '', 1, '2021-01-26 11:32:10'),
  577. (437, 'node1-weather-soilTem', '', 1, '2021-01-26 11:32:10'),
  578. (438, 'node8-weather-windSpd', '', 1, '2021-01-26 11:32:10'),
  579. (439, 'node2-weather-sun', '', 1, '2021-01-26 11:32:10'),
  580. (440, 'node10-water-light', '', 1, '2021-01-26 11:32:10'),
  581. (441, 'node1-irrigation-Statue', '', 1, '2021-01-26 11:32:10'),
  582. (442, 'node3-water-sun', '', 1, '2021-01-26 11:32:10'),
  583. (443, 'node3-water-windSpd', '', 1, '2021-01-26 11:32:10'),
  584. (444, 'node2-irrigation-water level', '', 1, '2021-01-26 11:32:10'),
  585. (445, 'node3-water-soilTem', '', 1, '2021-01-26 11:32:10'),
  586. (446, 'node2-weather-airHum', '', 1, '2021-01-26 11:32:10'),
  587. (447, 'node1-water-windDin', '', 1, '2021-01-26 11:32:10'),
  588. (448, 'node1-weather-sonic', '', 1, '2021-01-26 11:32:10'),
  589. (449, 'node1-water-light', '', 1, '2021-01-26 11:32:10'),
  590. (450, 'node2-weather-Statue', '', 1, '2021-01-26 11:32:10'),
  591. (451, 'node8-irrigation-light', '', 1, '2021-01-26 11:32:10'),
  592. (452, 'node11-water-PH', '', 1, '2021-01-26 11:32:10'),
  593. (453, 'node2-irrigation-airTem', '', 1, '2021-01-26 11:32:10'),
  594. (454, 'node1-weather-light', '', 1, '2021-01-26 11:32:10'),
  595. (455, 'node1-water-dewPoint', '', 1, '2021-01-26 11:32:10'),
  596. (456, 'node2-weather-girl', '', 1, '2021-01-26 11:32:10'),
  597. (457, 'node2-irrigation-Statue', '', 1, '2021-01-26 11:32:10'),
  598. (458, 'node1-water-sun', '', 1, '2021-01-26 11:32:10'),
  599. (459, 'node9-irrigation-Statue', '', 1, '2021-01-26 11:32:10'),
  600. (460, 'node2-water-soilHum', '', 1, '2021-01-26 11:32:10'),
  601. (461, 'node10-water-sonic', '', 1, '2021-01-26 11:32:10'),
  602. (462, 'node2-water-windDin', '', 1, '2021-01-26 11:32:10'),
  603. (463, 'node3-irrigation-windDin', '', 1, '2021-01-26 11:32:10'),
  604. (464, 'node10-water-soilHum', '', 1, '2021-01-26 11:32:10'),
  605. (465, 'node2-water-rain', '', 1, '2021-01-26 11:32:10'),
  606. (466, 'node1-irrigation-light', '', 1, '2021-01-26 11:32:10'),
  607. (467, 'node2-water-girl', '', 1, '2021-01-26 11:32:10'),
  608. (468, 'node1-weather-windSpd', '', 1, '2021-01-26 11:32:10'),
  609. (469, 'node2-water-water level', '', 1, '2021-01-26 11:32:10'),
  610. (470, 'node1-irrigation-windSpd', '', 1, '2021-01-26 11:32:10'),
  611. (471, 'node2-water-light', '', 1, '2021-01-26 11:32:10'),
  612. (472, 'node11-water-water level', '', 1, '2021-01-26 11:32:10'),
  613. (473, 'node2-irrigation-girl', '', 1, '2021-01-26 11:32:10'),
  614. (474, 'node2-weather-PH', '', 1, '2021-01-26 11:32:10'),
  615. (475, 'node8-weather-soilEC', '', 1, '2021-01-26 11:32:10'),
  616. (476, 'node1-irrigation-water level', '', 1, '2021-01-26 11:32:10'),
  617. (477, 'node6-weather-soilHum', '', 1, '2021-01-26 11:32:10'),
  618. (478, 'node8-weather-soilTem', '', 1, '2021-01-26 11:32:10'),
  619. (479, 'node10-water-sun', '', 1, '2021-01-26 11:32:10'),
  620. (480, 'node1-water-windSpd', '', 1, '2021-01-26 11:32:10'),
  621. (481, 'node7-irrigation-girl', '', 1, '2021-01-26 11:32:10'),
  622. (482, 'node4-weather-Statue', '', 1, '2021-01-26 11:32:10'),
  623. (483, 'node1-weather-dewPoint', '', 1, '2021-01-26 11:32:10'),
  624. (484, 'node2-water-PH', '', 1, '2021-01-26 11:32:10'),
  625. (485, 'node2-irrigation-windDin', '', 1, '2021-01-26 11:32:10'),
  626. (486, 'node7-irrigation-Statue', '', 1, '2021-01-26 11:32:10'),
  627. (487, 'node9-irrigation-sonic', '', 1, '2021-01-26 11:32:10'),
  628. (488, 'node11-water-dewPoint', '', 1, '2021-01-26 11:32:10'),
  629. (489, 'node10-water-atmosphere', '', 1, '2021-01-26 11:32:10'),
  630. (490, 'node1-water-airTem', '', 1, '2021-01-26 11:32:10'),
  631. (491, 'node2-irrigation-sonic', '', 1, '2021-01-26 11:32:10'),
  632. (492, 'node2-irrigation-soilTem', '', 1, '2021-01-26 11:32:10'),
  633. (493, 'node9-weather-soilEC', '', 1, '2021-01-26 11:32:10'),
  634. (494, 'node10-water-PH', '', 1, '2021-01-26 11:32:10'),
  635. (495, 'node11-water-windDin', '', 1, '2021-01-26 11:32:10'),
  636. (496, 'node1-irrigation-sun', '', 1, '2021-01-26 11:32:10'),
  637. (497, 'node8-irrigation-Statue', '', 1, '2021-01-26 11:32:10'),
  638. (498, 'node2-weather-windSpd', '', 1, '2021-01-26 11:32:10'),
  639. (499, 'node1-weather-rain', '', 1, '2021-01-26 11:32:10'),
  640. (500, 'node1-irrigation-soilTem', '', 1, '2021-01-26 11:32:10'),
  641. (501, 'node2-water-airHum', '', 1, '2021-01-26 11:32:10'),
  642. (502, 'node2-weather-windDin', '', 1, '2021-01-26 11:32:10'),
  643. (503, 'node4-weather-light', '', 1, '2021-01-26 11:32:10'),
  644. (504, 'node1-irrigation-PH', '', 1, '2021-01-26 11:32:10'),
  645. (505, 'node1-weather-sun', '', 1, '2021-01-26 11:32:10'),
  646. (506, 'node1-water-Statue', '', 1, '2021-01-26 11:32:10'),
  647. (507, 'node1-irrigation-sonic', '', 1, '2021-01-26 11:32:10'),
  648. (508, 'node7-weather-atmosphere', '', 1, '2021-01-26 11:32:10'),
  649. (509, 'node3-water-windDin', '', 1, '2021-01-26 11:32:10'),
  650. (510, 'node11-water-soilTem', '', 1, '2021-01-26 11:32:10'),
  651. (511, 'node6-weather-windSpd', '', 1, '2021-01-26 11:32:10'),
  652. (512, 'node10-water-dewPoint', '', 1, '2021-01-26 11:32:10'),
  653. (513, 'node3-irrigation-atmosphere', '', 1, '2021-01-26 11:32:10'),
  654. (514, 'node8-irrigation-girl', '', 1, '2021-01-26 11:32:10'),
  655. (515, 'node1-water-PH', '', 1, '2021-01-26 11:32:10'),
  656. (516, 'node1-irrigation-dewPoint', '', 1, '2021-01-26 11:32:10'),
  657. (517, 'node6-weather-soilTem', '', 1, '2021-01-26 11:32:10'),
  658. (518, 'node2-water-soilTem', '', 1, '2021-01-26 11:32:10'),
  659. (519, 'node11-water-atmosphere', '', 1, '2021-01-26 11:32:10'),
  660. (520, 'node1-water-soilHum', '', 1, '2021-01-26 11:32:10'),
  661. (521, 'node11-water-rain', '', 1, '2021-01-26 11:32:10'),
  662. (522, 'node1-weather-airTem', '', 1, '2021-01-26 11:32:10'),
  663. (523, 'node2-weather-soilHum', '', 1, '2021-01-26 11:32:10'),
  664. (524, 'node2-irrigation-sun', '', 1, '2021-01-26 11:32:10'),
  665. (525, 'node1-irrigation-rain', '', 1, '2021-01-26 11:32:10'),
  666. (526, 'node1-weather-Statue', '', 1, '2021-01-26 11:32:10'),
  667. (527, 'node2-irrigation-windSpd', '', 1, '2021-01-26 11:32:10'),
  668. (528, 'node1-water-soilTem', '', 1, '2021-01-26 11:32:10'),
  669. (529, 'node11-water-windSpd', '', 1, '2021-01-26 11:32:10'),
  670. (530, 'node2-weather-airTem', '', 1, '2021-01-26 11:32:10'),
  671. (531, 'node3-irrigation-soilEC', '', 1, '2021-01-26 11:32:10'),
  672. (532, 'node10-water-airHum', '', 1, '2021-01-26 11:32:10'),
  673. (533, 'node2-water-dewPoint', '', 1, '2021-01-26 11:32:10'),
  674. (534, 'node1-irrigation-girl', '', 1, '2021-01-26 11:32:10'),
  675. (535, 'node7-weather-sonic', '', 1, '2021-01-26 11:32:10'),
  676. (536, 'node2-water-soilEC', '', 1, '2021-01-26 11:32:10'),
  677. (537, 'node7-irrigation-water level', '', 1, '2021-01-26 11:32:10'),
  678. (538, 'node3-water-soilEC', '', 1, '2021-01-26 11:32:10'),
  679. (539, 'node11-water-sonic', '', 1, '2021-01-26 11:32:10'),
  680. (540, 'node5-weather-dewPoint', '', 1, '2021-01-26 11:32:10'),
  681. (541, 'node1-weather-water level', '', 1, '2021-01-26 11:32:10'),
  682. (542, 'node1-irrigation-atmosphere', '', 1, '2021-01-26 11:32:10'),
  683. (543, 'node9-weather-windSpd', '', 1, '2021-01-26 11:32:10'),
  684. (544, 'node10-water-windSpd', '', 1, '2021-01-26 11:32:10'),
  685. (545, 'node2-weather-sonic', '', 1, '2021-01-26 11:32:10'),
  686. (546, 'node11-water-soilEC', '', 1, '2021-01-26 11:32:10'),
  687. (547, 'node4-weather-sonic', '', 1, '2021-01-26 11:32:10'),
  688. (548, 'node9-irrigation-windDin', '', 1, '2021-01-26 11:32:10'),
  689. (549, 'node9-weather-soilHum', '', 1, '2021-01-26 11:32:10'),
  690. (550, 'node1-water-sonic', '', 1, '2021-01-26 11:32:48'),
  691. (551, 'node1-irrigation-soilHum', '', 1, '2021-01-26 11:32:48'),
  692. (552, 'node2-weather-rain', '', 1, '2021-01-26 11:32:48'),
  693. (553, 'node2-water-airTem', '', 1, '2021-01-26 11:32:48'),
  694. (554, 'node1-weather-windDin', '', 1, '2021-01-26 11:32:48'),
  695. (555, 'node2-weather-water level', '', 1, '2021-01-26 11:32:48'),
  696. (556, 'node9-weather-windDin', '', 1, '2021-01-26 11:32:48'),
  697. (557, 'node1-weather-PH', '', 1, '2021-01-26 11:32:48'),
  698. (558, 'node2-water-sonic', '', 1, '2021-01-26 11:32:48'),
  699. (559, 'node9-irrigation-girl', '', 1, '2021-01-26 11:32:48'),
  700. (560, 'node2-irrigation-atmosphere', '', 1, '2021-01-26 11:32:48'),
  701. (561, 'node9-weather-rain', '', 1, '2021-01-26 11:32:48'),
  702. (562, 'node1-weather-atmosphere', '', 1, '2021-01-26 11:32:48'),
  703. (563, 'node1-water-rain', '', 1, '2021-01-26 11:32:48'),
  704. (564, 'node10-water-Statue', '', 1, '2021-01-26 11:32:48'),
  705. (565, 'node5-weather-soilHum', '', 1, '2021-01-26 11:32:48'),
  706. (566, 'node10-water-windDin', '', 1, '2021-01-26 11:32:48'),
  707. (567, 'node6-weather-soilEC', '', 1, '2021-01-26 11:32:48'),
  708. (568, 'node2-weather-atmosphere', '', 1, '2021-01-26 11:32:48'),
  709. (569, 'node2-weather-soilEC', '', 1, '2021-01-26 11:32:48'),
  710. (570, 'node1-weather-girl', '', 1, '2021-01-26 11:32:48'),
  711. (571, 'node11-water-sun', '', 1, '2021-01-26 11:32:48'),
  712. (572, 'node11-water-light', '', 1, '2021-01-26 11:32:48'),
  713. (573, 'node11-water-Statue', '', 1, '2021-01-26 11:32:48'),
  714. (574, 'node10-water-soilEC', '', 1, '2021-01-26 11:32:48'),
  715. (575, 'node8-weather-airTem', '', 1, '2021-01-26 11:32:48'),
  716. (576, 'node10-water-girl', '', 1, '2021-01-26 11:32:48'),
  717. (577, 'node2-irrigation-PH', '', 1, '2021-01-26 11:32:48'),
  718. (578, 'node9-weather-soilTem', '', 1, '2021-01-26 11:32:48'),
  719. (579, 'node10-water-airTem', '', 1, '2021-01-26 11:32:48'),
  720. (580, 'node1-irrigation-windDin', '', 1, '2021-01-26 11:32:48'),
  721. (581, 'node8-weather-soilHum', '', 1, '2021-01-26 11:32:48'),
  722. (582, 'node3-water-atmosphere', '', 1, '2021-01-26 11:32:48'),
  723. (583, 'node8-weather-sun', '', 1, '2021-01-26 11:32:48'),
  724. (584, 'node11-water-airHum', '', 1, '2021-01-26 11:32:48'),
  725. (585, 'node5-weather-airTem', '', 1, '2021-01-26 11:32:48'),
  726. (586, 'node10-water-soilTem', '', 1, '2021-01-26 11:32:48'),
  727. (587, 'node11-water-soilHum', '', 1, '2021-01-26 11:32:48'),
  728. (588, 'node2-weather-light', '', 1, '2021-01-26 11:32:48'),
  729. (589, 'node9-irrigation-atmosphere', '', 1, '2021-01-26 11:32:48'),
  730. (590, 'node2-irrigation-dewPoint', '', 1, '2021-01-26 11:32:48'),
  731. (591, 'node2-water-windSpd', '', 1, '2021-01-26 11:32:48'),
  732. (592, 'node8-weather-dewPoint', '', 1, '2021-01-26 11:32:48'),
  733. (593, 'node1-weather-soilEC', '', 1, '2021-01-26 11:32:48'),
  734. (594, 'node2-irrigation-airHum', '', 1, '2021-01-26 11:32:48'),
  735. (595, 'node1-irrigation-airHum', '', 1, '2021-01-26 11:32:48'),
  736. (596, 'node1-weather-airHum', '', 1, '2021-01-26 11:32:48'),
  737. (597, 'node11-water-airTem', '', 1, '2021-01-26 11:32:48'),
  738. (598, 'node10-water-rain', '', 1, '2021-01-26 11:32:48'),
  739. (599, 'node1-irrigation-soilEC', '', 1, '2021-01-26 11:32:48'),
  740. (600, 'node1-water-airHum', '', 1, '2021-01-26 11:32:48'),
  741. (601, 'node1-water-atmosphere', '', 1, '2021-01-26 11:32:48'),
  742. (602, 'node10-water-water level', '', 1, '2021-01-26 11:32:48'),
  743. (603, 'node1-water-soilEC', '', 1, '2021-01-26 11:32:48'),
  744. (604, 'node2-irrigation-rain', '', 1, '2021-01-26 11:32:48'),
  745. (605, 'node2-water-Statue', '', 1, '2021-01-26 11:32:48'),
  746. (606, 'node2-irrigation-soilEC', '', 1, '2021-01-26 11:32:48'),
  747. (607, 'node2-weather-dewPoint', '', 1, '2021-01-26 11:32:48'),
  748. (608, 'node1-water-girl', '', 1, '2021-01-26 11:32:48'),
  749. (609, 'node2-weather-soilTem', '', 1, '2021-01-26 11:32:48'),
  750. (610, 'node1-water-water level', '', 1, '2021-01-26 11:32:48'),
  751. (611, 'node8-weather-airHum', '', 1, '2021-01-26 11:32:48'),
  752. (612, 'node2-irrigation-soilHum', '', 1, '2021-01-26 11:32:48'),
  753. (613, 'node2-water-atmosphere', '', 1, '2021-01-26 11:32:48'),
  754. (614, 'node11-water-girl', '', 1, '2021-01-26 11:32:48'),
  755. (615, 'node1-irrigation-airTem', '', 1, '2021-01-26 11:32:48'),
  756. (616, 'node2-irrigation-light', '', 1, '2021-01-26 11:32:48'),
  757. (617, 'node2-water-sun', '', 1, '2021-01-26 11:32:48'),
  758. (618, 'node1-weather-soilHum', '', 1, '2021-01-26 11:32:48'),
  759. (619, 'node7-weather-windDin', '', 1, '2021-01-26 11:32:48'),
  760. (620, 'node1-weather-soilTem', '', 1, '2021-01-26 11:32:48'),
  761. (621, 'node8-weather-windSpd', '', 1, '2021-01-26 11:32:48'),
  762. (622, 'node2-weather-sun', '', 1, '2021-01-26 11:32:48'),
  763. (623, 'node10-water-light', '', 1, '2021-01-26 11:32:48'),
  764. (624, 'node1-irrigation-Statue', '', 1, '2021-01-26 11:32:48'),
  765. (625, 'node3-water-sun', '', 1, '2021-01-26 11:32:48'),
  766. (626, 'node3-water-windSpd', '', 1, '2021-01-26 11:32:48'),
  767. (627, 'node2-irrigation-water level', '', 1, '2021-01-26 11:32:48'),
  768. (628, 'node3-water-soilTem', '', 1, '2021-01-26 11:32:48'),
  769. (629, 'node2-weather-airHum', '', 1, '2021-01-26 11:32:48'),
  770. (630, 'node1-water-windDin', '', 1, '2021-01-26 11:32:48'),
  771. (631, 'node1-weather-sonic', '', 1, '2021-01-26 11:32:48'),
  772. (632, 'node1-water-light', '', 1, '2021-01-26 11:32:48'),
  773. (633, 'node2-weather-Statue', '', 1, '2021-01-26 11:32:48'),
  774. (634, 'node8-irrigation-light', '', 1, '2021-01-26 11:32:48'),
  775. (635, 'node11-water-PH', '', 1, '2021-01-26 11:32:48'),
  776. (636, 'node2-irrigation-airTem', '', 1, '2021-01-26 11:32:48'),
  777. (637, 'node1-weather-light', '', 1, '2021-01-26 11:32:48'),
  778. (638, 'node1-water-dewPoint', '', 1, '2021-01-26 11:32:48'),
  779. (639, 'node2-weather-girl', '', 1, '2021-01-26 11:32:48'),
  780. (640, 'node2-irrigation-Statue', '', 1, '2021-01-26 11:32:48'),
  781. (641, 'node1-water-sun', '', 1, '2021-01-26 11:32:48'),
  782. (642, 'node9-irrigation-Statue', '', 1, '2021-01-26 11:32:48'),
  783. (643, 'node2-water-soilHum', '', 1, '2021-01-26 11:32:48'),
  784. (644, 'node10-water-sonic', '', 1, '2021-01-26 11:32:48'),
  785. (645, 'node2-water-windDin', '', 1, '2021-01-26 11:32:48'),
  786. (646, 'node3-irrigation-windDin', '', 1, '2021-01-26 11:32:48'),
  787. (647, 'node10-water-soilHum', '', 1, '2021-01-26 11:32:48'),
  788. (648, 'node2-water-rain', '', 1, '2021-01-26 11:32:48'),
  789. (649, 'node1-irrigation-light', '', 1, '2021-01-26 11:32:48'),
  790. (650, 'node2-water-girl', '', 1, '2021-01-26 11:32:48'),
  791. (651, 'node1-weather-windSpd', '', 1, '2021-01-26 11:32:48'),
  792. (652, 'node2-water-water level', '', 1, '2021-01-26 11:32:48'),
  793. (653, 'node1-irrigation-windSpd', '', 1, '2021-01-26 11:32:48'),
  794. (654, 'node2-water-light', '', 1, '2021-01-26 11:32:48'),
  795. (655, 'node11-water-water level', '', 1, '2021-01-26 11:32:48'),
  796. (656, 'node2-irrigation-girl', '', 1, '2021-01-26 11:32:48'),
  797. (657, 'node2-weather-PH', '', 1, '2021-01-26 11:32:48'),
  798. (658, 'node8-weather-soilEC', '', 1, '2021-01-26 11:32:48'),
  799. (659, 'node1-irrigation-water level', '', 1, '2021-01-26 11:32:48'),
  800. (660, 'node6-weather-soilHum', '', 1, '2021-01-26 11:32:48'),
  801. (661, 'node8-weather-soilTem', '', 1, '2021-01-26 11:32:48'),
  802. (662, 'node10-water-sun', '', 1, '2021-01-26 11:32:48'),
  803. (663, 'node1-water-windSpd', '', 1, '2021-01-26 11:32:48'),
  804. (664, 'node7-irrigation-girl', '', 1, '2021-01-26 11:32:48'),
  805. (665, 'node4-weather-Statue', '', 1, '2021-01-26 11:32:48'),
  806. (666, 'node1-weather-dewPoint', '', 1, '2021-01-26 11:32:48'),
  807. (667, 'node2-water-PH', '', 1, '2021-01-26 11:32:48'),
  808. (668, 'node2-irrigation-windDin', '', 1, '2021-01-26 11:32:48'),
  809. (669, 'node7-irrigation-Statue', '', 1, '2021-01-26 11:32:48'),
  810. (670, 'node9-irrigation-sonic', '', 1, '2021-01-26 11:32:48'),
  811. (671, 'node11-water-dewPoint', '', 1, '2021-01-26 11:32:48'),
  812. (672, 'node10-water-atmosphere', '', 1, '2021-01-26 11:32:48'),
  813. (673, 'node1-water-airTem', '', 1, '2021-01-26 11:32:48'),
  814. (674, 'node2-irrigation-sonic', '', 1, '2021-01-26 11:32:48'),
  815. (675, 'node2-irrigation-soilTem', '', 1, '2021-01-26 11:32:48'),
  816. (676, 'node9-weather-soilEC', '', 1, '2021-01-26 11:32:48'),
  817. (677, 'node10-water-PH', '', 1, '2021-01-26 11:32:48'),
  818. (678, 'node11-water-windDin', '', 1, '2021-01-26 11:32:48'),
  819. (679, 'node1-irrigation-sun', '', 1, '2021-01-26 11:32:48'),
  820. (680, 'node8-irrigation-Statue', '', 1, '2021-01-26 11:32:48'),
  821. (681, 'node2-weather-windSpd', '', 1, '2021-01-26 11:32:48'),
  822. (682, 'node1-weather-rain', '', 1, '2021-01-26 11:32:48'),
  823. (683, 'node1-irrigation-soilTem', '', 1, '2021-01-26 11:32:48'),
  824. (684, 'node2-water-airHum', '', 1, '2021-01-26 11:32:48'),
  825. (685, 'node2-weather-windDin', '', 1, '2021-01-26 11:32:48'),
  826. (686, 'node4-weather-light', '', 1, '2021-01-26 11:32:48'),
  827. (687, 'node1-irrigation-PH', '', 1, '2021-01-26 11:32:48'),
  828. (688, 'node1-weather-sun', '', 1, '2021-01-26 11:32:48'),
  829. (689, 'node1-water-Statue', '', 1, '2021-01-26 11:32:48'),
  830. (690, 'node1-irrigation-sonic', '', 1, '2021-01-26 11:32:48'),
  831. (691, 'node7-weather-atmosphere', '', 1, '2021-01-26 11:32:48'),
  832. (692, 'node3-water-windDin', '', 1, '2021-01-26 11:32:48'),
  833. (693, 'node11-water-soilTem', '', 1, '2021-01-26 11:32:48'),
  834. (694, 'node6-weather-windSpd', '', 1, '2021-01-26 11:32:48'),
  835. (695, 'node10-water-dewPoint', '', 1, '2021-01-26 11:32:48'),
  836. (696, 'node3-irrigation-atmosphere', '', 1, '2021-01-26 11:32:48'),
  837. (697, 'node8-irrigation-girl', '', 1, '2021-01-26 11:32:48'),
  838. (698, 'node1-water-PH', '', 1, '2021-01-26 11:32:48'),
  839. (699, 'node1-irrigation-dewPoint', '', 1, '2021-01-26 11:32:48'),
  840. (700, 'node6-weather-soilTem', '', 1, '2021-01-26 11:32:48'),
  841. (701, 'node2-water-soilTem', '', 1, '2021-01-26 11:32:48'),
  842. (702, 'node11-water-atmosphere', '', 1, '2021-01-26 11:32:48'),
  843. (703, 'node1-water-soilHum', '', 1, '2021-01-26 11:32:48'),
  844. (704, 'node11-water-rain', '', 1, '2021-01-26 11:32:48'),
  845. (705, 'node1-weather-airTem', '', 1, '2021-01-26 11:32:48'),
  846. (706, 'node2-weather-soilHum', '', 1, '2021-01-26 11:32:48'),
  847. (707, 'node2-irrigation-sun', '', 1, '2021-01-26 11:32:48'),
  848. (708, 'node1-irrigation-rain', '', 1, '2021-01-26 11:32:48'),
  849. (709, 'node1-weather-Statue', '', 1, '2021-01-26 11:32:48'),
  850. (710, 'node2-irrigation-windSpd', '', 1, '2021-01-26 11:32:48'),
  851. (711, 'node1-water-soilTem', '', 1, '2021-01-26 11:32:48'),
  852. (712, 'node11-water-windSpd', '', 1, '2021-01-26 11:32:48'),
  853. (713, 'node2-weather-airTem', '', 1, '2021-01-26 11:32:48'),
  854. (714, 'node3-irrigation-soilEC', '', 1, '2021-01-26 11:32:48'),
  855. (715, 'node10-water-airHum', '', 1, '2021-01-26 11:32:48'),
  856. (716, 'node2-water-dewPoint', '', 1, '2021-01-26 11:32:48'),
  857. (717, 'node1-irrigation-girl', '', 1, '2021-01-26 11:32:48'),
  858. (718, 'node7-weather-sonic', '', 1, '2021-01-26 11:32:48'),
  859. (719, 'node2-water-soilEC', '', 1, '2021-01-26 11:32:48'),
  860. (720, 'node7-irrigation-water level', '', 1, '2021-01-26 11:32:48'),
  861. (721, 'node3-water-soilEC', '', 1, '2021-01-26 11:32:48'),
  862. (722, 'node11-water-sonic', '', 1, '2021-01-26 11:32:48'),
  863. (723, 'node5-weather-dewPoint', '', 1, '2021-01-26 11:32:48'),
  864. (724, 'node1-weather-water level', '', 1, '2021-01-26 11:32:48'),
  865. (725, 'node1-irrigation-atmosphere', '', 1, '2021-01-26 11:32:48'),
  866. (726, 'node9-weather-windSpd', '', 1, '2021-01-26 11:32:48'),
  867. (727, 'node10-water-windSpd', '', 1, '2021-01-26 11:32:48'),
  868. (728, 'node2-weather-sonic', '', 1, '2021-01-26 11:32:48'),
  869. (729, 'node11-water-soilEC', '', 1, '2021-01-26 11:32:48'),
  870. (730, 'node4-weather-sonic', '', 1, '2021-01-26 11:32:48'),
  871. (731, 'node9-irrigation-windDin', '', 1, '2021-01-26 11:32:48'),
  872. (732, 'node9-weather-soilHum', '', 1, '2021-01-26 11:32:48');
  873. -- --------------------------------------------------------
  874. --
  875. -- 資料表結構 `node_img`
  876. --
  877. CREATE TABLE `node_img` (
  878. `sn` int(11) NOT NULL,
  879. `node_name` varchar(10) NOT NULL,
  880. `path` text NOT NULL,
  881. `user_id` int(11) DEFAULT NULL,
  882. `datetime` datetime NOT NULL
  883. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  884. --
  885. -- 資料表的匯出資料 `node_img`
  886. --
  887. INSERT INTO `node_img` (`sn`, `node_name`, `path`, `user_id`, `datetime`) VALUES
  888. (1, 'Nr.1', 'app/static/farm_img\\benson\\1.jpg', 1, '2020-12-24 11:20:08'),
  889. (2, 'Nr.2', 'app/static/farm_img\\benson\\2.jpg', 1, '2020-12-24 11:20:08'),
  890. (3, 'Nr.3', 'app/static/farm_img\\benson\\3.jpg', 1, '2020-12-24 11:20:08'),
  891. (4, 'Nr.4', 'app/static/farm_img\\benson\\4.jpg', 1, '2020-12-24 11:20:08'),
  892. (5, 'Nr.5', 'app/static/farm_img\\benson\\5.jpg', 1, '2020-12-24 11:20:08'),
  893. (6, 'Nr.6', 'app/static/farm_img\\benson\\6.jpg', 1, '2020-12-24 11:20:08'),
  894. (7, 'Nr.7', 'app/static/farm_img\\benson\\7.jpg', 1, '2020-12-24 11:20:08'),
  895. (8, 'Nr.8', 'app/static/farm_img\\benson\\8.jpg', 1, '2020-12-24 11:20:08'),
  896. (9, 'Nr.9', 'app/static/farm_img\\benson\\9.jpg', 1, '2020-12-24 11:20:08'),
  897. (10, 'Nr.10', 'app/static/farm_img\\benson\\10.jpg', 1, '2020-12-24 11:20:08'),
  898. (11, 'Nr.11', 'app/static/farm_img\\benson\\11.jpg', 1, '2020-12-24 11:20:08');
  899. -- --------------------------------------------------------
  900. --
  901. -- 資料表結構 `node_info`
  902. --
  903. CREATE TABLE `node_info` (
  904. `sn` int(11) NOT NULL,
  905. `node_info` text NOT NULL,
  906. `user_id` int(11) DEFAULT NULL
  907. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  908. --
  909. -- 資料表的匯出資料 `node_info`
  910. --
  911. INSERT INTO `node_info` (`sn`, `node_info`, `user_id`) VALUES
  912. (2, '{\'node4\': {\'weather\': [\'sonic\', \'light\', \'Statue\']}, \'node9\': {\'weather\': [\'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\', \'windDin\', \'rain\'], \'irrigation\': [\'windDin\', \'atmosphere\', \'sonic\', \'girl\', \'Statue\']}, \'node8\': {\'weather\': [\'airTem\', \'airHum\', \'dewPoint\', \'sun\', \'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\'], \'irrigation\': [\'light\', \'girl\', \'Statue\']}, \'node7\': {\'weather\': [\'windDin\', \'atmosphere\', \'sonic\'], \'irrigation\': [\'water level\', \'girl\', \'Statue\']}, \'node11\': {\'water\': [\'airTem\', \'airHum\', \'dewPoint\', \'sun\', \'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\', \'windDin\', \'rain\', \'atmosphere\', \'PH\', \'sonic\', \'water level\', \'light\', \'girl\', \'Statue\']}, \'node3\': {\'water\': [\'sun\', \'soilTem\', \'soilEC\', \'windSpd\', \'windDin\', \'atmosphere\'], \'irrigation\': [\'soilEC\', \'windDin\', \'atmosphere\']}, \'node10\': {\'water\': [\'airTem\', \'airHum\', \'dewPoint\', \'sun\', \'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\', \'windDin\', \'rain\', \'atmosphere\', \'PH\', \'sonic\', \'water level\', \'light\', \'girl\', \'Statue\']}, \'node2\': {\'water\': [\'airTem\', \'airHum\', \'dewPoint\', \'sun\', \'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\', \'windDin\', \'rain\', \'atmosphere\', \'PH\', \'sonic\', \'water level\', \'light\', \'girl\', \'Statue\'], \'irrigation\': [\'airTem\', \'airHum\', \'dewPoint\', \'sun\', \'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\', \'windDin\', \'rain\', \'atmosphere\', \'PH\', \'sonic\', \'water level\', \'light\', \'girl\', \'Statue\'], \'weather\': [\'airTem\', \'airHum\', \'dewPoint\', \'sun\', \'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\', \'windDin\', \'rain\', \'atmosphere\', \'PH\', \'sonic\', \'water level\', \'light\', \'girl\', \'Statue\']}, \'node1\': {\'water\': [\'airTem\', \'airHum\', \'dewPoint\', \'sun\', \'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\', \'windDin\', \'rain\', \'atmosphere\', \'PH\', \'sonic\', \'water level\', \'light\', \'girl\', \'Statue\'], \'irrigation\': [\'airTem\', \'airHum\', \'dewPoint\', \'sun\', \'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\', \'windDin\', \'rain\', \'atmosphere\', \'PH\', \'sonic\', \'water level\', \'light\', \'girl\', \'Statue\'], \'weather\': [\'airTem\', \'airHum\', \'dewPoint\', \'sun\', \'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\', \'windDin\', \'rain\', \'atmosphere\', \'PH\', \'sonic\', \'water level\', \'light\', \'girl\', \'Statue\']}, \'node5\': {\'weather\': [\'airTem\', \'dewPoint\', \'soilHum\']}, \'node6\': {\'weather\': [\'soilHum\', \'soilTem\', \'soilEC\', \'windSpd\']}}', 1);
  913. -- --------------------------------------------------------
  914. --
  915. -- 資料表結構 `node_position`
  916. --
  917. CREATE TABLE `node_position` (
  918. `sn` int(11) NOT NULL,
  919. `node_name` varchar(10) NOT NULL,
  920. `pos_lat` text NOT NULL,
  921. `pos_lng` text NOT NULL,
  922. `user_id` int(11) DEFAULT NULL,
  923. `datetime` datetime NOT NULL
  924. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  925. --
  926. -- 資料表的匯出資料 `node_position`
  927. --
  928. INSERT INTO `node_position` (`sn`, `node_name`, `pos_lat`, `pos_lng`, `user_id`, `datetime`) VALUES
  929. (1, 'Nr.1', '40.689273009849046', '-74.04515052282333', 1, '2021-01-26 11:33:38'),
  930. (2, 'Nr.2', '40.689086054596345', '-74.04521804431914', 1, '2021-01-26 11:33:38'),
  931. (3, 'Nr.3', '40.68894224250656', '-74.0450736713028', 1, '2021-01-26 11:33:38'),
  932. (4, 'Nr.4', '40.68878980135254', '-74.04480859888078', 1, '2021-01-26 11:33:38'),
  933. (5, 'Nr.5', '40.68869776124167', '-74.04453011541366', 1, '2021-01-26 11:33:38'),
  934. (6, 'Nr.6', '40.688692008730506', '-74.04431064054491', 1, '2021-01-26 11:33:38'),
  935. (7, 'Nr.7', '40.68874665756639', '-74.04404825033191', 1, '2021-01-26 11:33:38'),
  936. (8, 'Nr.8', '40.68896525246176', '-74.04382341104508', 1, '2021-01-26 11:33:38'),
  937. (9, 'Nr.9', '40.68920973274534', '-74.04380778406146', 1, '2021-01-26 11:33:38'),
  938. (10, 'Nr.10', '40.68939956387629', '-74.04374655952458', 1, '2021-01-26 11:33:38'),
  939. (11, 'Nr.11', '40.68957213716244', '-74.04374166137698', 1, '2021-01-26 11:33:38');
  940. -- --------------------------------------------------------
  941. --
  942. -- 資料表結構 `permissions`
  943. --
  944. CREATE TABLE `permissions` (
  945. `sn` int(11) NOT NULL,
  946. `user_id` int(11) DEFAULT NULL,
  947. `add_domain` int(11) NOT NULL,
  948. `company_profile` int(11) NOT NULL,
  949. `product_info` int(11) NOT NULL,
  950. `erp` int(11) NOT NULL,
  951. `rma` int(11) NOT NULL,
  952. `download_data` int(11) NOT NULL,
  953. `gps` int(11) NOT NULL,
  954. `sensor` int(11) NOT NULL,
  955. `Actuator` int(11) NOT NULL,
  956. `diary_log` int(11) NOT NULL,
  957. `repair_log` int(11) NOT NULL,
  958. `set_permission` int(11) NOT NULL,
  959. `register` int(11) NOT NULL,
  960. `blacklist` int(11) NOT NULL,
  961. `back_manage` int(11) NOT NULL,
  962. `module_test` int(11) NOT NULL
  963. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  964. -- --------------------------------------------------------
  965. --
  966. -- 資料表結構 `purchase_info`
  967. --
  968. CREATE TABLE `purchase_info` (
  969. `sn` int(11) NOT NULL,
  970. `loc_length` text NOT NULL,
  971. `loc_width` text NOT NULL,
  972. `location` text NOT NULL,
  973. `monitor_num` int(11) NOT NULL,
  974. `connect` text NOT NULL,
  975. `user_id` int(11) DEFAULT NULL,
  976. `datetime` datetime NOT NULL
  977. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  978. --
  979. -- 資料表的匯出資料 `purchase_info`
  980. --
  981. INSERT INTO `purchase_info` (`sn`, `loc_length`, `loc_width`, `location`, `monitor_num`, `connect`, `user_id`, `datetime`) VALUES
  982. (6, '10', '10', 'outside', 11, '4g', 1, '2021-01-26 10:40:08');
  983. -- --------------------------------------------------------
  984. --
  985. -- 資料表結構 `sensor_list`
  986. --
  987. CREATE TABLE `sensor_list` (
  988. `sn` int(11) NOT NULL,
  989. `ch_name` varchar(20) NOT NULL,
  990. `en_name` varchar(20) NOT NULL,
  991. `version` varchar(10) NOT NULL,
  992. `datetime` datetime NOT NULL
  993. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  994. --
  995. -- 資料表的匯出資料 `sensor_list`
  996. --
  997. INSERT INTO `sensor_list` (`sn`, `ch_name`, `en_name`, `version`, `datetime`) VALUES
  998. (1, '空氣溫度', 'airTem', 'v1.0', '2021-01-20 16:27:59'),
  999. (2, '空氣濕度', 'airHum', 'v1.0', '2021-01-20 16:45:09'),
  1000. (3, '露點', 'dewPoint', 'v1.0', '2021-01-20 16:45:33'),
  1001. (4, '日照', 'sun', 'v1.0', '2021-01-20 16:46:17'),
  1002. (5, '土壤含水率', 'soilHum', 'v1.0', '2021-01-20 16:46:42'),
  1003. (6, '土壤溫度', 'soilTem', 'v1.0', '2021-01-20 16:46:59'),
  1004. (7, '土壤EC值', 'soilEC', 'v1.0', '2021-01-20 16:47:30'),
  1005. (8, '風速', 'windSpd', 'v1.0', '2021-01-20 16:47:58'),
  1006. (9, '風向', 'windDin', 'v1.0', '2021-01-20 16:48:20'),
  1007. (10, '降雨量', 'rain', 'v1.0', '2021-01-20 16:48:45'),
  1008. (11, '大氣壓', 'atmosphere', 'v1.0', '2021-01-20 16:49:06'),
  1009. (19, '酸鹼值', 'PH', 'v1.0', '2021-01-21 14:57:20'),
  1010. (20, '超音波', 'sonic', 'v2.0', '2021-01-21 15:02:06'),
  1011. (21, '水位', 'water level', 'v1.0', '2021-01-21 16:42:55'),
  1012. (22, '光速', 'light', 'v1.0', '2021-01-21 16:44:17'),
  1013. (23, '美女', 'girl', 'v1.0', '2021-01-21 17:45:41'),
  1014. (24, '自由女神', 'Statue', 'v1.0', '2021-01-26 10:58:37'),
  1015. (25, '帥哥', 'handsome', 'v1.0', '2021-01-28 17:52:31');
  1016. -- --------------------------------------------------------
  1017. --
  1018. -- 資料表結構 `user`
  1019. --
  1020. CREATE TABLE `user` (
  1021. `sn` int(11) NOT NULL,
  1022. `firstname` varchar(30) NOT NULL,
  1023. `lastname` varchar(30) NOT NULL,
  1024. `mail` varchar(50) NOT NULL,
  1025. `phone` varchar(20) NOT NULL,
  1026. `username` varchar(30) NOT NULL,
  1027. `password` varchar(40) NOT NULL,
  1028. `status` int(11) NOT NULL COMMENT '0:admin,1:new,2:old',
  1029. `isActive` tinyint(1) NOT NULL
  1030. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  1031. --
  1032. -- 資料表的匯出資料 `user`
  1033. --
  1034. INSERT INTO `user` (`sn`, `firstname`, `lastname`, `mail`, `phone`, `username`, `password`, `status`, `isActive`) VALUES
  1035. (1, 'firstname', 'lastname', 'aaa@gmail.com', '0123456789', 'user', '123456', 2, 1);
  1036. --
  1037. -- 已匯出資料表的索引
  1038. --
  1039. --
  1040. -- 資料表索引 `farm_info`
  1041. --
  1042. ALTER TABLE `farm_info`
  1043. ADD PRIMARY KEY (`sn`),
  1044. ADD KEY `user_id` (`user_id`);
  1045. --
  1046. -- 資料表索引 `item_list`
  1047. --
  1048. ALTER TABLE `item_list`
  1049. ADD PRIMARY KEY (`sn`);
  1050. --
  1051. -- 資料表索引 `module_sn_number`
  1052. --
  1053. ALTER TABLE `module_sn_number`
  1054. ADD PRIMARY KEY (`sn`),
  1055. ADD KEY `user_id` (`user_id`);
  1056. --
  1057. -- 資料表索引 `node_img`
  1058. --
  1059. ALTER TABLE `node_img`
  1060. ADD PRIMARY KEY (`sn`),
  1061. ADD KEY `user_id` (`user_id`);
  1062. --
  1063. -- 資料表索引 `node_info`
  1064. --
  1065. ALTER TABLE `node_info`
  1066. ADD PRIMARY KEY (`sn`),
  1067. ADD KEY `user_id` (`user_id`);
  1068. --
  1069. -- 資料表索引 `node_position`
  1070. --
  1071. ALTER TABLE `node_position`
  1072. ADD PRIMARY KEY (`sn`),
  1073. ADD KEY `user_id` (`user_id`);
  1074. --
  1075. -- 資料表索引 `permissions`
  1076. --
  1077. ALTER TABLE `permissions`
  1078. ADD PRIMARY KEY (`sn`),
  1079. ADD KEY `user_id` (`user_id`);
  1080. --
  1081. -- 資料表索引 `purchase_info`
  1082. --
  1083. ALTER TABLE `purchase_info`
  1084. ADD PRIMARY KEY (`sn`),
  1085. ADD KEY `user_id` (`user_id`);
  1086. --
  1087. -- 資料表索引 `sensor_list`
  1088. --
  1089. ALTER TABLE `sensor_list`
  1090. ADD PRIMARY KEY (`sn`);
  1091. --
  1092. -- 資料表索引 `user`
  1093. --
  1094. ALTER TABLE `user`
  1095. ADD PRIMARY KEY (`sn`),
  1096. ADD UNIQUE KEY `username` (`username`);
  1097. --
  1098. -- 在匯出的資料表使用 AUTO_INCREMENT
  1099. --
  1100. --
  1101. -- 使用資料表 AUTO_INCREMENT `farm_info`
  1102. --
  1103. ALTER TABLE `farm_info`
  1104. MODIFY `sn` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
  1105. --
  1106. -- 使用資料表 AUTO_INCREMENT `item_list`
  1107. --
  1108. ALTER TABLE `item_list`
  1109. MODIFY `sn` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;
  1110. --
  1111. -- 使用資料表 AUTO_INCREMENT `module_sn_number`
  1112. --
  1113. ALTER TABLE `module_sn_number`
  1114. MODIFY `sn` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=733;
  1115. --
  1116. -- 使用資料表 AUTO_INCREMENT `node_img`
  1117. --
  1118. ALTER TABLE `node_img`
  1119. MODIFY `sn` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
  1120. --
  1121. -- 使用資料表 AUTO_INCREMENT `node_info`
  1122. --
  1123. ALTER TABLE `node_info`
  1124. MODIFY `sn` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  1125. --
  1126. -- 使用資料表 AUTO_INCREMENT `node_position`
  1127. --
  1128. ALTER TABLE `node_position`
  1129. MODIFY `sn` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
  1130. --
  1131. -- 使用資料表 AUTO_INCREMENT `permissions`
  1132. --
  1133. ALTER TABLE `permissions`
  1134. MODIFY `sn` int(11) NOT NULL AUTO_INCREMENT;
  1135. --
  1136. -- 使用資料表 AUTO_INCREMENT `purchase_info`
  1137. --
  1138. ALTER TABLE `purchase_info`
  1139. MODIFY `sn` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
  1140. --
  1141. -- 使用資料表 AUTO_INCREMENT `sensor_list`
  1142. --
  1143. ALTER TABLE `sensor_list`
  1144. MODIFY `sn` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;
  1145. --
  1146. -- 使用資料表 AUTO_INCREMENT `user`
  1147. --
  1148. ALTER TABLE `user`
  1149. MODIFY `sn` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  1150. --
  1151. -- 已匯出資料表的限制(Constraint)
  1152. --
  1153. --
  1154. -- 資料表的 Constraints `farm_info`
  1155. --
  1156. ALTER TABLE `farm_info`
  1157. ADD CONSTRAINT `farm_info_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`sn`);
  1158. --
  1159. -- 資料表的 Constraints `module_sn_number`
  1160. --
  1161. ALTER TABLE `module_sn_number`
  1162. ADD CONSTRAINT `module_sn_number_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`sn`);
  1163. --
  1164. -- 資料表的 Constraints `node_img`
  1165. --
  1166. ALTER TABLE `node_img`
  1167. ADD CONSTRAINT `node_img_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`sn`);
  1168. --
  1169. -- 資料表的 Constraints `node_info`
  1170. --
  1171. ALTER TABLE `node_info`
  1172. ADD CONSTRAINT `node_info_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`sn`);
  1173. --
  1174. -- 資料表的 Constraints `node_position`
  1175. --
  1176. ALTER TABLE `node_position`
  1177. ADD CONSTRAINT `node_position_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`sn`);
  1178. --
  1179. -- 資料表的 Constraints `permissions`
  1180. --
  1181. ALTER TABLE `permissions`
  1182. ADD CONSTRAINT `permissions_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`sn`);
  1183. --
  1184. -- 資料表的 Constraints `purchase_info`
  1185. --
  1186. ALTER TABLE `purchase_info`
  1187. ADD CONSTRAINT `purchase_info_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`sn`);