鼎鼎知识库
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

2020胶州二期线路名称修改.md 129KB

4 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737
  1. ```
  2. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532ac04'
  3. update KaiGuan Set Name='', Code='1' where Mac='187ed5329254' and LineAddress='1';
  4. update KaiGuan Set Name='', Code='2' where Mac='187ed5329254' and LineAddress='2';
  5. update KaiGuan Set Name='', Code='3' where Mac='187ed5329254' and LineAddress='3';
  6. update KaiGuan Set Name='', Code='4' where Mac='187ed5329254' and LineAddress='4';
  7. update KaiGuan Set Name='', Code='5' where Mac='187ed5329254' and LineAddress='5';
  8. update KaiGuan Set Name='', Code='6' where Mac='187ed5329254' and LineAddress='6';
  9. update KaiGuan Set Name='', Code='7' where Mac='187ed5329254' and LineAddress='7';
  10. update KaiGuan Set Name='', Code='8' where Mac='187ed5329254' and LineAddress='8';
  11. update KaiGuan Set Name='', Code='9' where Mac='187ed5329254' and LineAddress='9';
  12. update KaiGuan Set Name='', Code='10' where Mac='187ed5329254' and LineAddress='10';
  13. update KaiGuan Set Name='', Code='11' where Mac='187ed5329254' and LineAddress='11';
  14. update KaiGuan Set Name='', Code='12' where Mac='187ed5329254' and LineAddress='12';
  15. update KaiGuan Set Name='', Code='13' where Mac='187ed5329254' and LineAddress='13';
  16. update KaiGuan Set Name='', Code='14' where Mac='187ed5329254' and LineAddress='14';
  17. update KaiGuan Set Name='', Code='15' where Mac='187ed5329254' and LineAddress='15';
  18. update KaiGuan Set Name='', Code='16' where Mac='187ed5329254' and LineAddress='16';
  19. update KaiGuan Set Name='', Code='17' where Mac='187ed5329254' and LineAddress='17';
  20. update KaiGuan Set Name='', Code='18' where Mac='187ed5329254' and LineAddress='18';
  21. update KaiGuan Set Name='', Code='19' where Mac='187ed5329254' and LineAddress='19';
  22. --1层A区
  23. 第 1 排 (mac: 187ed532ac04)
  24. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532ac04'
  25. 18
  26. update KaiGuan Set Name='', Code='1' where Mac='187ed532ac04' and LineAddress='1';
  27. update KaiGuan Set Name='', Code='2' where Mac='187ed532ac04' and LineAddress='2';
  28. update KaiGuan Set Name='', Code='3' where Mac='187ed532ac04' and LineAddress='3';
  29. update KaiGuan Set Name='', Code='4' where Mac='187ed532ac04' and LineAddress='4';
  30. update KaiGuan Set Name='', Code='5' where Mac='187ed532ac04' and LineAddress='5';
  31. update KaiGuan Set Name='', Code='6' where Mac='187ed532ac04' and LineAddress='6';
  32. update KaiGuan Set Name='', Code='7' where Mac='187ed532ac04' and LineAddress='7';
  33. update KaiGuan Set Name='', Code='8' where Mac='187ed532ac04' and LineAddress='8';
  34. update KaiGuan Set Name='', Code='9' where Mac='187ed532ac04' and LineAddress='9';
  35. update KaiGuan Set Name='', Code='10' where Mac='187ed532ac04' and LineAddress='10';
  36. update KaiGuan Set Name='', Code='11' where Mac='187ed532ac04' and LineAddress='11';
  37. update KaiGuan Set Name='', Code='12' where Mac='187ed532ac04' and LineAddress='12';
  38. update KaiGuan Set Name='', Code='13' where Mac='187ed532ac04' and LineAddress='13';
  39. update KaiGuan Set Name='', Code='14' where Mac='187ed532ac04' and LineAddress='14';
  40. update KaiGuan Set Name='', Code='15' where Mac='187ed532ac04' and LineAddress='15';
  41. update KaiGuan Set Name='', Code='16' where Mac='187ed532ac04' and LineAddress='16';
  42. update KaiGuan Set Name='', Code='17' where Mac='187ed532ac04' and LineAddress='17';
  43. update KaiGuan Set Name='', Code='18' where Mac='187ed532ac04' and LineAddress='18';
  44. 第 2 排 (mac: 187ed532a894)
  45. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532a894'
  46. 18
  47. update KaiGuan Set Name='', Code='1' where Mac='187ed532a894' and LineAddress='1';
  48. update KaiGuan Set Name='', Code='2' where Mac='187ed532a894' and LineAddress='2';
  49. update KaiGuan Set Name='', Code='3' where Mac='187ed532a894' and LineAddress='3';
  50. update KaiGuan Set Name='', Code='4' where Mac='187ed532a894' and LineAddress='4';
  51. update KaiGuan Set Name='', Code='5' where Mac='187ed532a894' and LineAddress='5';
  52. update KaiGuan Set Name='', Code='6' where Mac='187ed532a894' and LineAddress='6';
  53. update KaiGuan Set Name='', Code='7' where Mac='187ed532a894' and LineAddress='7';
  54. update KaiGuan Set Name='', Code='8' where Mac='187ed532a894' and LineAddress='8';
  55. update KaiGuan Set Name='', Code='9' where Mac='187ed532a894' and LineAddress='9';
  56. update KaiGuan Set Name='', Code='10' where Mac='187ed532a894' and LineAddress='10';
  57. update KaiGuan Set Name='', Code='11' where Mac='187ed532a894' and LineAddress='11';
  58. update KaiGuan Set Name='', Code='12' where Mac='187ed532a894' and LineAddress='12';
  59. update KaiGuan Set Name='', Code='13' where Mac='187ed532a894' and LineAddress='13';
  60. update KaiGuan Set Name='', Code='14' where Mac='187ed532a894' and LineAddress='14';
  61. update KaiGuan Set Name='', Code='15' where Mac='187ed532a894' and LineAddress='15';
  62. update KaiGuan Set Name='', Code='16' where Mac='187ed532a894' and LineAddress='16';
  63. update KaiGuan Set Name='', Code='17' where Mac='187ed532a894' and LineAddress='17';
  64. update KaiGuan Set Name='', Code='18' where Mac='187ed532a894' and LineAddress='18';
  65. 第 3 排 (mac: 187ed532a830)
  66. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532a830'
  67. 18
  68. update KaiGuan Set Name='', Code='1' where Mac='187ed532a830' and LineAddress='1';
  69. update KaiGuan Set Name='', Code='2' where Mac='187ed532a830' and LineAddress='2';
  70. update KaiGuan Set Name='', Code='3' where Mac='187ed532a830' and LineAddress='3';
  71. update KaiGuan Set Name='', Code='4' where Mac='187ed532a830' and LineAddress='4';
  72. update KaiGuan Set Name='', Code='5' where Mac='187ed532a830' and LineAddress='5';
  73. update KaiGuan Set Name='', Code='6' where Mac='187ed532a830' and LineAddress='6';
  74. update KaiGuan Set Name='', Code='7' where Mac='187ed532a830' and LineAddress='7';
  75. update KaiGuan Set Name='', Code='8' where Mac='187ed532a830' and LineAddress='8';
  76. update KaiGuan Set Name='', Code='9' where Mac='187ed532a830' and LineAddress='9';
  77. update KaiGuan Set Name='', Code='10' where Mac='187ed532a830' and LineAddress='10';
  78. update KaiGuan Set Name='', Code='11' where Mac='187ed532a830' and LineAddress='11';
  79. update KaiGuan Set Name='', Code='12' where Mac='187ed532a830' and LineAddress='12';
  80. update KaiGuan Set Name='', Code='13' where Mac='187ed532a830' and LineAddress='13';
  81. update KaiGuan Set Name='', Code='14' where Mac='187ed532a830' and LineAddress='14';
  82. update KaiGuan Set Name='', Code='15' where Mac='187ed532a830' and LineAddress='15';
  83. update KaiGuan Set Name='', Code='16' where Mac='187ed532a830' and LineAddress='16';
  84. update KaiGuan Set Name='', Code='17' where Mac='187ed532a830' and LineAddress='17';
  85. update KaiGuan Set Name='', Code='18' where Mac='187ed532a830' and LineAddress='18';
  86. 第 4 排 (mac: 187ed532bf88)
  87. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532bf88'
  88. 17
  89. update KaiGuan Set Name='', Code='1' where Mac='187ed532bf88' and LineAddress='1';
  90. update KaiGuan Set Name='', Code='2' where Mac='187ed532bf88' and LineAddress='2';
  91. update KaiGuan Set Name='', Code='3' where Mac='187ed532bf88' and LineAddress='3';
  92. update KaiGuan Set Name='', Code='4' where Mac='187ed532bf88' and LineAddress='4';
  93. update KaiGuan Set Name='', Code='5' where Mac='187ed532bf88' and LineAddress='5';
  94. update KaiGuan Set Name='', Code='6' where Mac='187ed532bf88' and LineAddress='6';
  95. update KaiGuan Set Name='', Code='7' where Mac='187ed532bf88' and LineAddress='7';
  96. update KaiGuan Set Name='', Code='8' where Mac='187ed532bf88' and LineAddress='8';
  97. update KaiGuan Set Name='', Code='9' where Mac='187ed532bf88' and LineAddress='9';
  98. update KaiGuan Set Name='', Code='10' where Mac='187ed532bf88' and LineAddress='10';
  99. update KaiGuan Set Name='', Code='11' where Mac='187ed532bf88' and LineAddress='11';
  100. update KaiGuan Set Name='', Code='12' where Mac='187ed532bf88' and LineAddress='12';
  101. update KaiGuan Set Name='', Code='13' where Mac='187ed532bf88' and LineAddress='13';
  102. update KaiGuan Set Name='', Code='14' where Mac='187ed532bf88' and LineAddress='14';
  103. update KaiGuan Set Name='', Code='15' where Mac='187ed532bf88' and LineAddress='15';
  104. update KaiGuan Set Name='', Code='16' where Mac='187ed532bf88' and LineAddress='16';
  105. update KaiGuan Set Name='', Code='17' where Mac='187ed532bf88' and LineAddress='17';
  106. 第 5 排 (mac: 187ed5328b5c)
  107. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5328b5c'
  108. 18
  109. update KaiGuan Set Name='', Code='1' where Mac='187ed5328b5c' and LineAddress='1';
  110. update KaiGuan Set Name='', Code='2' where Mac='187ed5328b5c' and LineAddress='2';
  111. update KaiGuan Set Name='', Code='3' where Mac='187ed5328b5c' and LineAddress='3';
  112. update KaiGuan Set Name='', Code='4' where Mac='187ed5328b5c' and LineAddress='4';
  113. update KaiGuan Set Name='', Code='5' where Mac='187ed5328b5c' and LineAddress='5';
  114. update KaiGuan Set Name='', Code='6' where Mac='187ed5328b5c' and LineAddress='6';
  115. update KaiGuan Set Name='', Code='7' where Mac='187ed5328b5c' and LineAddress='7';
  116. update KaiGuan Set Name='', Code='8' where Mac='187ed5328b5c' and LineAddress='8';
  117. update KaiGuan Set Name='', Code='9' where Mac='187ed5328b5c' and LineAddress='9';
  118. update KaiGuan Set Name='', Code='10' where Mac='187ed5328b5c' and LineAddress='10';
  119. update KaiGuan Set Name='', Code='11' where Mac='187ed5328b5c' and LineAddress='11';
  120. update KaiGuan Set Name='', Code='12' where Mac='187ed5328b5c' and LineAddress='12';
  121. update KaiGuan Set Name='', Code='13' where Mac='187ed5328b5c' and LineAddress='13';
  122. update KaiGuan Set Name='', Code='14' where Mac='187ed5328b5c' and LineAddress='14';
  123. update KaiGuan Set Name='', Code='15' where Mac='187ed5328b5c' and LineAddress='15';
  124. update KaiGuan Set Name='', Code='16' where Mac='187ed5328b5c' and LineAddress='16';
  125. update KaiGuan Set Name='', Code='17' where Mac='187ed5328b5c' and LineAddress='17';
  126. update KaiGuan Set Name='', Code='18' where Mac='187ed5328b5c' and LineAddress='18';
  127. 第 6 排 (mac: 187ed5328864)
  128. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5328864'
  129. 17
  130. update KaiGuan Set Name='', Code='1' where Mac='187ed5328864' and LineAddress='1';
  131. update KaiGuan Set Name='', Code='2' where Mac='187ed5328864' and LineAddress='2';
  132. update KaiGuan Set Name='', Code='3' where Mac='187ed5328864' and LineAddress='3';
  133. update KaiGuan Set Name='', Code='4' where Mac='187ed5328864' and LineAddress='4';
  134. update KaiGuan Set Name='', Code='5' where Mac='187ed5328864' and LineAddress='5';
  135. update KaiGuan Set Name='', Code='6' where Mac='187ed5328864' and LineAddress='6';
  136. update KaiGuan Set Name='', Code='7' where Mac='187ed5328864' and LineAddress='7';
  137. update KaiGuan Set Name='', Code='8' where Mac='187ed5328864' and LineAddress='8';
  138. update KaiGuan Set Name='', Code='9' where Mac='187ed5328864' and LineAddress='9';
  139. update KaiGuan Set Name='', Code='10' where Mac='187ed5328864' and LineAddress='10';
  140. update KaiGuan Set Name='', Code='11' where Mac='187ed5328864' and LineAddress='11';
  141. update KaiGuan Set Name='', Code='12' where Mac='187ed5328864' and LineAddress='12';
  142. update KaiGuan Set Name='', Code='13' where Mac='187ed5328864' and LineAddress='13';
  143. update KaiGuan Set Name='', Code='14' where Mac='187ed5328864' and LineAddress='14';
  144. update KaiGuan Set Name='', Code='15' where Mac='187ed5328864' and LineAddress='15';
  145. update KaiGuan Set Name='', Code='16' where Mac='187ed5328864' and LineAddress='16';
  146. update KaiGuan Set Name='', Code='17' where Mac='187ed5328864' and LineAddress='17';
  147. --1层B区
  148. 第 1 排 (mac: 187ed532b208)
  149. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b208'
  150. 19
  151. update KaiGuan Set Name='楼道声控灯', Code='1' where Mac='187ed532b208' and LineAddress='1';
  152. update KaiGuan Set Name='3号天井南过道灯', Code='2' where Mac='187ed532b208' and LineAddress='2';
  153. update KaiGuan Set Name='3号天井三角灯', Code='3' where Mac='187ed532b208' and LineAddress='3';
  154. update KaiGuan Set Name='3号天井西过道灯', Code='4' where Mac='187ed532b208' and LineAddress='4';
  155. update KaiGuan Set Name='西门双灯', Code='5' where Mac='187ed532b208' and LineAddress='5';
  156. update KaiGuan Set Name='3号天井三角筒灯', Code='6' where Mac='187ed532b208' and LineAddress='6';
  157. update KaiGuan Set Name='西门内顶灯', Code='7' where Mac='187ed532b208' and LineAddress='7';
  158. update KaiGuan Set Name='西门内筒灯', Code='8' where Mac='187ed532b208' and LineAddress='8';
  159. update KaiGuan Set Name='3号天井三角灯', Code='9' where Mac='187ed532b208' and LineAddress='9';
  160. update KaiGuan Set Name='3号天井三角灯', Code='10' where Mac='187ed532b208' and LineAddress='10';
  161. update KaiGuan Set Name='3号天井三筒灯', Code='11' where Mac='187ed532b208' and LineAddress='11';
  162. update KaiGuan Set Name='3号天井东过道灯', Code='12' where Mac='187ed532b208' and LineAddress='12';
  163. update KaiGuan Set Name='3号天井小过道灯', Code='13' where Mac='187ed532b208' and LineAddress='13';
  164. update KaiGuan Set Name='', Code='14' where Mac='187ed532b208' and LineAddress='14';
  165. update KaiGuan Set Name='', Code='15' where Mac='187ed532b208' and LineAddress='15';
  166. update KaiGuan Set Name='', Code='16' where Mac='187ed532b208' and LineAddress='16';
  167. update KaiGuan Set Name='', Code='17' where Mac='187ed532b208' and LineAddress='17';
  168. update KaiGuan Set Name='', Code='18' where Mac='187ed532b208' and LineAddress='18';
  169. update KaiGuan Set Name='服务台插座', Code='19' where Mac='187ed532b208' and LineAddress='19';
  170. 第 2 排 (mac: 187ed5329128)
  171. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5329128'
  172. 19
  173. update KaiGuan Set Name='夜间照明', Code='1' where Mac='187ed5329128' and LineAddress='1';
  174. update KaiGuan Set Name='3号天井西过道反光', Code='2' where Mac='187ed5329128' and LineAddress='2';
  175. update KaiGuan Set Name='3号天井西过道反光', Code='3' where Mac='187ed5329128' and LineAddress='3';
  176. update KaiGuan Set Name='3号天井上反光', Code='4' where Mac='187ed5329128' and LineAddress='4';
  177. update KaiGuan Set Name='3号天井下反光', Code='5' where Mac='187ed5329128' and LineAddress='5';
  178. update KaiGuan Set Name='3号天井西过道反光', Code='6' where Mac='187ed5329128' and LineAddress='6';
  179. update KaiGuan Set Name='3号天井西过道反光', Code='7' where Mac='187ed5329128' and LineAddress='7';
  180. update KaiGuan Set Name='3号天井西过道反光', Code='8' where Mac='187ed5329128' and LineAddress='8';
  181. update KaiGuan Set Name='3号天井上白光', Code='9' where Mac='187ed5329128' and LineAddress='9';
  182. update KaiGuan Set Name='3号天井下白光', Code='10' where Mac='187ed5329128' and LineAddress='10';
  183. update KaiGuan Set Name='西门外条灯', Code='11' where Mac='187ed5329128' and LineAddress='11';
  184. update KaiGuan Set Name='空', Code='12' where Mac='187ed5329128' and LineAddress='12';
  185. update KaiGuan Set Name='空', Code='13' where Mac='187ed5329128' and LineAddress='13';
  186. update KaiGuan Set Name='西门外方灯', Code='14' where Mac='187ed5329128' and LineAddress='14';
  187. update KaiGuan Set Name='3号天井东过道反光', Code='15' where Mac='187ed5329128' and LineAddress='15';
  188. update KaiGuan Set Name='3号天井小过道反光', Code='16' where Mac='187ed5329128' and LineAddress='16';
  189. update KaiGuan Set Name='3号天井上反光', Code='17' where Mac='187ed5329128' and LineAddress='17';
  190. update KaiGuan Set Name='3号天井下反光', Code='18' where Mac='187ed5329128' and LineAddress='18';
  191. update KaiGuan Set Name='', Code='19' where Mac='187ed5329128' and LineAddress='19';
  192. 第 3 排 (mac: 187ed532bb20)
  193. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532bb20'
  194. 18
  195. update KaiGuan Set Name='', Code='1' where Mac='187ed532bb20' and LineAddress='1';
  196. update KaiGuan Set Name='3号天井下反光', Code='2' where Mac='187ed532bb20' and LineAddress='2';
  197. update KaiGuan Set Name='西门灯箱', Code='3' where Mac='187ed532bb20' and LineAddress='3';
  198. update KaiGuan Set Name='西门内反光', Code='4' where Mac='187ed532bb20' and LineAddress='4';
  199. update KaiGuan Set Name='西门过道灯', Code='5' where Mac='187ed532bb20' and LineAddress='5';
  200. update KaiGuan Set Name='3号天井东过道反光', Code='6' where Mac='187ed532bb20' and LineAddress='6';
  201. update KaiGuan Set Name='3号天井东过道反光', Code='7' where Mac='187ed532bb20' and LineAddress='7';
  202. update KaiGuan Set Name='3号天井上反光', Code='8' where Mac='187ed532bb20' and LineAddress='8';
  203. update KaiGuan Set Name='', Code='9' where Mac='187ed532bb20' and LineAddress='9';
  204. update KaiGuan Set Name='3号天井小过道反光', Code='10' where Mac='187ed532bb20' and LineAddress='10';
  205. update KaiGuan Set Name='3号天井东过道反光', Code='11' where Mac='187ed532bb20' and LineAddress='11';
  206. update KaiGuan Set Name='', Code='12' where Mac='187ed532bb20' and LineAddress='12';
  207. update KaiGuan Set Name='', Code='13' where Mac='187ed532bb20' and LineAddress='13';
  208. update KaiGuan Set Name='', Code='14' where Mac='187ed532bb20' and LineAddress='14';
  209. update KaiGuan Set Name='西门外方灯', Code='15' where Mac='187ed532bb20' and LineAddress='15';
  210. update KaiGuan Set Name='西门外方灯', Code='16' where Mac='187ed532bb20' and LineAddress='16';
  211. update KaiGuan Set Name='楼道声控灯', Code='17' where Mac='187ed532bb20' and LineAddress='17';
  212. update KaiGuan Set Name='配电室灯', Code='18' where Mac='187ed532bb20' and LineAddress='18';
  213. --1层C区
  214. 第 1 排 (mac: 187ed5328e04)
  215. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5328e04'
  216. 19
  217. update KaiGuan Set Name='夜间照明', Code='1' where Mac='187ed5328e04' and LineAddress='1';
  218. update KaiGuan Set Name='东门过道灯', Code='2' where Mac='187ed5328e04' and LineAddress='2';
  219. update KaiGuan Set Name='4号天井西过道灯', Code='3' where Mac='187ed5328e04' and LineAddress='3';
  220. update KaiGuan Set Name='4号天井小过道灯', Code='4' where Mac='187ed5328e04' and LineAddress='4';
  221. update KaiGuan Set Name='4号天井南过道灯', Code='5' where Mac='187ed5328e04' and LineAddress='5';
  222. update KaiGuan Set Name='4号天井三角筒灯', Code='6' where Mac='187ed5328e04' and LineAddress='6';
  223. update KaiGuan Set Name='4号天井三角灯', Code='7' where Mac='187ed5328e04' and LineAddress='7';
  224. update KaiGuan Set Name='4号天井三角灯', Code='8' where Mac='187ed5328e04' and LineAddress='8';
  225. update KaiGuan Set Name='4号天井三角灯', Code='9' where Mac='187ed5328e04' and LineAddress='9';
  226. update KaiGuan Set Name='4号天井三角灯', Code='10' where Mac='187ed5328e04' and LineAddress='10';
  227. update KaiGuan Set Name='4号天井三角筒灯', Code='11' where Mac='187ed5328e04' and LineAddress='11';
  228. update KaiGuan Set Name='4号天井下反光', Code='12' where Mac='187ed5328e04' and LineAddress='12';
  229. update KaiGuan Set Name='4号天井上反光', Code='13' where Mac='187ed5328e04' and LineAddress='13';
  230. update KaiGuan Set Name='4号天井东道反光', Code='14' where Mac='187ed5328e04' and LineAddress='14';
  231. update KaiGuan Set Name='4号天井东过道反光', Code='15' where Mac='187ed5328e04' and LineAddress='15';
  232. update KaiGuan Set Name='4号天井东过道反光', Code='16' where Mac='187ed5328e04' and LineAddress='16';
  233. update KaiGuan Set Name='4号天井上反光', Code='17' where Mac='187ed5328e04' and LineAddress='17';
  234. update KaiGuan Set Name='4号天井下反光', Code='18' where Mac='187ed5328e04' and LineAddress='18';
  235. update KaiGuan Set Name='男卫插座', Code='19' where Mac='187ed5328e04' and LineAddress='19';
  236. 第 2 排 (mac: 187ed53283f0)
  237. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed53283f0'
  238. 19
  239. update KaiGuan Set Name='走廊插座', Code='1' where Mac='187ed53283f0' and LineAddress='1';
  240. update KaiGuan Set Name='4号天井东过道反光', Code='2' where Mac='187ed53283f0' and LineAddress='2';
  241. update KaiGuan Set Name='4号天井西过道反光', Code='3' where Mac='187ed53283f0' and LineAddress='3';
  242. update KaiGuan Set Name='4号天井小过道反光', Code='4' where Mac='187ed53283f0' and LineAddress='4';
  243. update KaiGuan Set Name='4号天井下反光', Code='5' where Mac='187ed53283f0' and LineAddress='5';
  244. update KaiGuan Set Name='4号天井西过道反光', Code='6' where Mac='187ed53283f0' and LineAddress='6';
  245. update KaiGuan Set Name='4号天井小过道反光', Code='7' where Mac='187ed53283f0' and LineAddress='7';
  246. update KaiGuan Set Name='4号天井上反光', Code='8' where Mac='187ed53283f0' and LineAddress='8';
  247. update KaiGuan Set Name='4号天井西过道反光', Code='9' where Mac='187ed53283f0' and LineAddress='9';
  248. update KaiGuan Set Name='4号天井西过道反光', Code='10' where Mac='187ed53283f0' and LineAddress='10';
  249. update KaiGuan Set Name='备用', Code='11' where Mac='187ed53283f0' and LineAddress='11';
  250. update KaiGuan Set Name='4号天井上反光', Code='12' where Mac='187ed53283f0' and LineAddress='12';
  251. update KaiGuan Set Name='4号天井下反光', Code='13' where Mac='187ed53283f0' and LineAddress='13';
  252. update KaiGuan Set Name='东门过道反光', Code='14' where Mac='187ed53283f0' and LineAddress='14';
  253. update KaiGuan Set Name='4号天井东过道灯', Code='15' where Mac='187ed53283f0' and LineAddress='15';
  254. update KaiGuan Set Name='女卫反光', Code='16' where Mac='187ed53283f0' and LineAddress='16';
  255. update KaiGuan Set Name='女卫照明灯', Code='17' where Mac='187ed53283f0' and LineAddress='17';
  256. update KaiGuan Set Name='男卫照明灯', Code='18' where Mac='187ed53283f0' and LineAddress='18';
  257. update KaiGuan Set Name='女卫插座', Code='19' where Mac='187ed53283f0' and LineAddress='19';
  258. 第 3 排 (mac: 187ed532ba70)
  259. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532ba70'
  260. 18
  261. update KaiGuan Set Name='楼道声控灯', Code='1' where Mac='187ed532ba70' and LineAddress='1';
  262. update KaiGuan Set Name='卫生间感应', Code='2' where Mac='187ed532ba70' and LineAddress='2';
  263. update KaiGuan Set Name='男卫反光', Code='3' where Mac='187ed532ba70' and LineAddress='3';
  264. update KaiGuan Set Name='配电室照明', Code='4' where Mac='187ed532ba70' and LineAddress='4';
  265. update KaiGuan Set Name='东门室外雨棚', Code='5' where Mac='187ed532ba70' and LineAddress='5';
  266. update KaiGuan Set Name='', Code='6' where Mac='187ed532ba70' and LineAddress='6';
  267. update KaiGuan Set Name='', Code='7' where Mac='187ed532ba70' and LineAddress='7';
  268. update KaiGuan Set Name='', Code='8' where Mac='187ed532ba70' and LineAddress='8';
  269. update KaiGuan Set Name='', Code='9' where Mac='187ed532ba70' and LineAddress='9';
  270. update KaiGuan Set Name='', Code='10' where Mac='187ed532ba70' and LineAddress='10';
  271. update KaiGuan Set Name='', Code='11' where Mac='187ed532ba70' and LineAddress='11';
  272. update KaiGuan Set Name='', Code='12' where Mac='187ed532ba70' and LineAddress='12';
  273. update KaiGuan Set Name='', Code='13' where Mac='187ed532ba70' and LineAddress='13';
  274. update KaiGuan Set Name='', Code='14' where Mac='187ed532ba70' and LineAddress='14';
  275. update KaiGuan Set Name='', Code='15' where Mac='187ed532ba70' and LineAddress='15';
  276. update KaiGuan Set Name='', Code='16' where Mac='187ed532ba70' and LineAddress='16';
  277. update KaiGuan Set Name='', Code='17' where Mac='187ed532ba70' and LineAddress='17';
  278. update KaiGuan Set Name='', Code='18' where Mac='187ed532ba70' and LineAddress='18';
  279. update KaiGuan Set Name='', Code='19' where Mac='187ed532ba70' and LineAddress='19';
  280. --1层D区
  281. 第 1 排 (mac: 187ed532ad60)
  282. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532ad60'
  283. 18
  284. update KaiGuan Set Name='中央大厅地插', Code='1' where Mac='187ed532ad60' and LineAddress='1';
  285. update KaiGuan Set Name='6号天井上反光', Code='2' where Mac='187ed532ad60' and LineAddress='2';
  286. update KaiGuan Set Name='6号天井东过道反光', Code='3' where Mac='187ed532ad60' and LineAddress='3';
  287. update KaiGuan Set Name='6号天井东过道反光', Code='4' where Mac='187ed532ad60' and LineAddress='4';
  288. update KaiGuan Set Name='6号天井下反光', Code='5' where Mac='187ed532ad60' and LineAddress='5';
  289. update KaiGuan Set Name='6号天井下反光', Code='6' where Mac='187ed532ad60' and LineAddress='6';
  290. update KaiGuan Set Name='6号天井东过道反光', Code='7' where Mac='187ed532ad60' and LineAddress='7';
  291. update KaiGuan Set Name='6号天井下反光上反光', Code='8' where Mac='187ed532ad60' and LineAddress='8';
  292. update KaiGuan Set Name='6号天井东过道反光', Code='9' where Mac='187ed532ad60' and LineAddress='9';
  293. update KaiGuan Set Name='6号天井下反光', Code='10' where Mac='187ed532ad60' and LineAddress='10';
  294. update KaiGuan Set Name='6号天井南过道反光', Code='11' where Mac='187ed532ad60' and LineAddress='11';
  295. update KaiGuan Set Name='6号天井南过道反光', Code='12' where Mac='187ed532ad60' and LineAddress='12';
  296. update KaiGuan Set Name='6号天井上反光', Code='13' where Mac='187ed532ad60' and LineAddress='13';
  297. update KaiGuan Set Name='6号天井西过道反光', Code='14' where Mac='187ed532ad60' and LineAddress='14';
  298. update KaiGuan Set Name='6号天井上反光', Code='15' where Mac='187ed532ad60' and LineAddress='15';
  299. update KaiGuan Set Name='6号天井下反光', Code='16' where Mac='187ed532ad60' and LineAddress='16';
  300. update KaiGuan Set Name='7号天井外反光', Code='17' where Mac='187ed532ad60' and LineAddress='17';
  301. update KaiGuan Set Name='7号天井下反光', Code='18' where Mac='187ed532ad60' and LineAddress='18';
  302. 第 2 排 (mac: 187ed53299f8)
  303. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed53299f8'
  304. 18
  305. update KaiGuan Set Name='收货部照明灯夜间灯', Code='1' where Mac='187ed53299f8' and LineAddress='1';
  306. update KaiGuan Set Name='7号天井上反光', Code='2' where Mac='187ed53299f8' and LineAddress='2';
  307. update KaiGuan Set Name='客梯口反光', Code='3' where Mac='187ed53299f8' and LineAddress='3';
  308. update KaiGuan Set Name='6号天井上反光', Code='4' where Mac='187ed53299f8' and LineAddress='4';
  309. update KaiGuan Set Name='空', Code='5' where Mac='187ed53299f8' and LineAddress='5';
  310. update KaiGuan Set Name='6号天井扶梯条形灯', Code='6' where Mac='187ed53299f8' and LineAddress='6';
  311. update KaiGuan Set Name='客梯两侧灯', Code='7' where Mac='187ed53299f8' and LineAddress='7';
  312. update KaiGuan Set Name='6号天井北过道反光', Code='8' where Mac='187ed53299f8' and LineAddress='8';
  313. update KaiGuan Set Name='6号天井下反光', Code='9' where Mac='187ed53299f8' and LineAddress='9';
  314. update KaiGuan Set Name='7号天井上反光', Code='10' where Mac='187ed53299f8' and LineAddress='10';
  315. update KaiGuan Set Name='7号天井下反光', Code='11' where Mac='187ed53299f8' and LineAddress='11';
  316. update KaiGuan Set Name='7号天井外反光', Code='12' where Mac='187ed53299f8' and LineAddress='12';
  317. update KaiGuan Set Name='7号天井下反光', Code='13' where Mac='187ed53299f8' and LineAddress='13';
  318. update KaiGuan Set Name='7号天井上反光', Code='14' where Mac='187ed53299f8' and LineAddress='14';
  319. update KaiGuan Set Name='南门过道反光', Code='15' where Mac='187ed53299f8' and LineAddress='15';
  320. update KaiGuan Set Name='南门过道反光', Code='16' where Mac='187ed53299f8' and LineAddress='16';
  321. update KaiGuan Set Name='7号天井外反光', Code='17' where Mac='187ed53299f8' and LineAddress='17';
  322. update KaiGuan Set Name='南门外方灯', Code='18' where Mac='187ed53299f8' and LineAddress='18';
  323. 第 3 排 (mac: 187ed53294f0)
  324. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed53294f0'
  325. 18
  326. update KaiGuan Set Name='中央大厅地插', Code='1' where Mac='187ed53294f0' and LineAddress='1';
  327. update KaiGuan Set Name='7号天井上反光', Code='2' where Mac='187ed53294f0' and LineAddress='2';
  328. update KaiGuan Set Name='7号天井下反光', Code='3' where Mac='187ed53294f0' and LineAddress='3';
  329. update KaiGuan Set Name='空', Code='4' where Mac='187ed53294f0' and LineAddress='4';
  330. update KaiGuan Set Name='7号天井上反光', Code='5' where Mac='187ed53294f0' and LineAddress='5';
  331. update KaiGuan Set Name='7号天井下反光', Code='6' where Mac='187ed53294f0' and LineAddress='6';
  332. update KaiGuan Set Name='5号天井扶梯侧灯', Code='7' where Mac='187ed53294f0' and LineAddress='7';
  333. update KaiGuan Set Name='', Code='8' where Mac='187ed53294f0' and LineAddress='8';
  334. update KaiGuan Set Name='5号天井扶梯条形灯', Code='9' where Mac='187ed53294f0' and LineAddress='9';
  335. update KaiGuan Set Name='5号天井下反光', Code='10' where Mac='187ed53294f0' and LineAddress='10';
  336. update KaiGuan Set Name='5号天井上反光', Code='11' where Mac='187ed53294f0' and LineAddress='11';
  337. update KaiGuan Set Name='5号天井下反光', Code='12' where Mac='187ed53294f0' and LineAddress='12';
  338. update KaiGuan Set Name='5号天井东过道反光', Code='13' where Mac='187ed53294f0' and LineAddress='13';
  339. update KaiGuan Set Name='客梯口反光', Code='14' where Mac='187ed53294f0' and LineAddress='14';
  340. update KaiGuan Set Name='7号天井外反光', Code='15' where Mac='187ed53294f0' and LineAddress='15';
  341. update KaiGuan Set Name='5号天井北过道反光', Code='16' where Mac='187ed53294f0' and LineAddress='16';
  342. update KaiGuan Set Name='5号天井上反光', Code='17' where Mac='187ed53294f0' and LineAddress='17';
  343. update KaiGuan Set Name='南门外方灯', Code='18' where Mac='187ed53294f0' and LineAddress='18';
  344. 第 4 排 (mac: 187ed532bef8)
  345. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532bef8'
  346. 17
  347. update KaiGuan Set Name='中央大厅地插', Code='1' where Mac='187ed532bef8' and LineAddress='1';
  348. update KaiGuan Set Name='5号天井南过道反光', Code='2' where Mac='187ed532bef8' and LineAddress='2';
  349. update KaiGuan Set Name='5号天井南过道反光', Code='3' where Mac='187ed532bef8' and LineAddress='3';
  350. update KaiGuan Set Name='5号天井下反光', Code='4' where Mac='187ed532bef8' and LineAddress='4';
  351. update KaiGuan Set Name='5号天井下反光', Code='5' where Mac='187ed532bef8' and LineAddress='5';
  352. update KaiGuan Set Name='5号天井西过道反光', Code='6' where Mac='187ed532bef8' and LineAddress='6';
  353. update KaiGuan Set Name='5号天井西过道反光', Code='7' where Mac='187ed532bef8' and LineAddress='7';
  354. update KaiGuan Set Name='5号天井上反光', Code='8' where Mac='187ed532bef8' and LineAddress='8';
  355. update KaiGuan Set Name='南门内反光', Code='9' where Mac='187ed532bef8' and LineAddress='9';
  356. update KaiGuan Set Name='南过道反光', Code='10' where Mac='187ed532bef8' and LineAddress='10';
  357. update KaiGuan Set Name='南门灯箱', Code='11' where Mac='187ed532bef8' and LineAddress='11';
  358. update KaiGuan Set Name='南门外条灯', Code='12' where Mac='187ed532bef8' and LineAddress='12';
  359. update KaiGuan Set Name='空', Code='13' where Mac='187ed532bef8' and LineAddress='13';
  360. update KaiGuan Set Name='南门上窗反光', Code='14' where Mac='187ed532bef8' and LineAddress='14';
  361. update KaiGuan Set Name='中央大厅柱灯', Code='15' where Mac='187ed532bef8' and LineAddress='15';
  362. update KaiGuan Set Name='中央大厅柱灯', Code='16' where Mac='187ed532bef8' and LineAddress='16';
  363. update KaiGuan Set Name='中央大厅柱灯', Code='17' where Mac='187ed532bef8' and LineAddress='17';
  364. 第 5 排 (mac: 187ed532558c)
  365. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532558c'
  366. 18
  367. update KaiGuan Set Name='收货部插座', Code='1' where Mac='187ed532558c' and LineAddress='1';
  368. update KaiGuan Set Name='客梯口灯箱', Code='2' where Mac='187ed532558c' and LineAddress='2';
  369. update KaiGuan Set Name='6号天井扶梯下灯', Code='3' where Mac='187ed532558c' and LineAddress='3';
  370. update KaiGuan Set Name='客梯口反光', Code='4' where Mac='187ed532558c' and LineAddress='4';
  371. update KaiGuan Set Name='6号天井北过道灯', Code='5' where Mac='187ed532558c' and LineAddress='5';
  372. update KaiGuan Set Name='客梯两侧灯', Code='6' where Mac='187ed532558c' and LineAddress='6';
  373. update KaiGuan Set Name='客梯口灯', Code='7' where Mac='187ed532558c' and LineAddress='7';
  374. update KaiGuan Set Name='6号天井北过道灯', Code='8' where Mac='187ed532558c' and LineAddress='8';
  375. update KaiGuan Set Name='6号天井扶梯侧灯', Code='9' where Mac='187ed532558c' and LineAddress='9';
  376. update KaiGuan Set Name='6号天井南过道灯', Code='10' where Mac='187ed532558c' and LineAddress='10';
  377. update KaiGuan Set Name='7号天井南过道灯', Code='11' where Mac='187ed532558c' and LineAddress='11';
  378. update KaiGuan Set Name='南门过道灯', Code='12' where Mac='187ed532558c' and LineAddress='12';
  379. update KaiGuan Set Name='南门内灯', Code='13' where Mac='187ed532558c' and LineAddress='13';
  380. update KaiGuan Set Name='5号天井南过道灯', Code='14' where Mac='187ed532558c' and LineAddress='14';
  381. update KaiGuan Set Name='南门过道灯', Code='15' where Mac='187ed532558c' and LineAddress='15';
  382. update KaiGuan Set Name='5号天井扶梯下灯', Code='16' where Mac='187ed532558c' and LineAddress='16';
  383. update KaiGuan Set Name='客梯两侧灯', Code='17' where Mac='187ed532558c' and LineAddress='17';
  384. update KaiGuan Set Name='南门过道灯', Code='18' where Mac='187ed532558c' and LineAddress='18';
  385. 第 6 排 (mac: 187ed532c264)
  386. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532c264'
  387. 17
  388. update KaiGuan Set Name='配电室楼道照明', Code='1' where Mac='187ed532c264' and LineAddress='1';
  389. update KaiGuan Set Name='6号天井扶梯口灯', Code='2' where Mac='187ed532c264' and LineAddress='2';
  390. update KaiGuan Set Name='5号天井扶梯口灯', Code='3' where Mac='187ed532c264' and LineAddress='3';
  391. update KaiGuan Set Name='5号天井北过道灯', Code='4' where Mac='187ed532c264' and LineAddress='4';
  392. update KaiGuan Set Name='5号天井西过道灯', Code='5' where Mac='187ed532c264' and LineAddress='5';
  393. update KaiGuan Set Name='东南坡道灯', Code='6' where Mac='187ed532c264' and LineAddress='6';
  394. update KaiGuan Set Name='6号天井东过道灯', Code='7' where Mac='187ed532c264' and LineAddress='7';
  395. update KaiGuan Set Name='东南门雨棚灯', Code='8' where Mac='187ed532c264' and LineAddress='8';
  396. update KaiGuan Set Name='南门200灯', Code='9' where Mac='187ed532c264' and LineAddress='9';
  397. update KaiGuan Set Name='南门外方灯', Code='10' where Mac='187ed532c264' and LineAddress='10';
  398. update KaiGuan Set Name='', Code='11' where Mac='187ed532c264' and LineAddress='11';
  399. update KaiGuan Set Name='', Code='12' where Mac='187ed532c264' and LineAddress='12';
  400. update KaiGuan Set Name='', Code='13' where Mac='187ed532c264' and LineAddress='13';
  401. update KaiGuan Set Name='', Code='14' where Mac='187ed532c264' and LineAddress='14';
  402. update KaiGuan Set Name='', Code='15' where Mac='187ed532c264' and LineAddress='15';
  403. update KaiGuan Set Name='', Code='16' where Mac='187ed532c264' and LineAddress='16';
  404. --2层A区
  405. 第 1 排 (mac: 187ed532865c)
  406. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532865c'
  407. 18
  408. update KaiGuan Set Name='卫生间插座', Code='1' where Mac='187ed532865c' and LineAddress='1';
  409. update KaiGuan Set Name='扶梯筒灯', Code='2' where Mac='187ed532865c' and LineAddress='2';
  410. update KaiGuan Set Name='筒灯', Code='3' where Mac='187ed532865c' and LineAddress='3';
  411. update KaiGuan Set Name='扶梯反光', Code='4' where Mac='187ed532865c' and LineAddress='4';
  412. update KaiGuan Set Name='扶梯反光', Code='5' where Mac='187ed532865c' and LineAddress='5';
  413. update KaiGuan Set Name='扶梯反光', Code='6' where Mac='187ed532865c' and LineAddress='6';
  414. update KaiGuan Set Name='小圆灯', Code='7' where Mac='187ed532865c' and LineAddress='7';
  415. update KaiGuan Set Name='反光', Code='8' where Mac='187ed532865c' and LineAddress='8';
  416. update KaiGuan Set Name='天井反光', Code='9' where Mac='187ed532865c' and LineAddress='9';
  417. update KaiGuan Set Name='天井反光', Code='10' where Mac='187ed532865c' and LineAddress='10';
  418. update KaiGuan Set Name='天井反光', Code='11' where Mac='187ed532865c' and LineAddress='11';
  419. update KaiGuan Set Name='天井反光', Code='12' where Mac='187ed532865c' and LineAddress='12';
  420. update KaiGuan Set Name='天井反光', Code='13' where Mac='187ed532865c' and LineAddress='13';
  421. update KaiGuan Set Name='天井反光', Code='14' where Mac='187ed532865c' and LineAddress='14';
  422. update KaiGuan Set Name='天井反光', Code='15' where Mac='187ed532865c' and LineAddress='15';
  423. update KaiGuan Set Name='天井反光', Code='16' where Mac='187ed532865c' and LineAddress='16';
  424. update KaiGuan Set Name='天井反光', Code='17' where Mac='187ed532865c' and LineAddress='17';
  425. update KaiGuan Set Name='天井反光', Code='18' where Mac='187ed532865c' and LineAddress='18';
  426. 第 2 排 (mac: 187ed532bae8)
  427. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532bae8'
  428. 18
  429. update KaiGuan Set Name='卫生间插座', Code='1' where Mac='187ed532bae8' and LineAddress='1';
  430. update KaiGuan Set Name='连廊方灯', Code='2' where Mac='187ed532bae8' and LineAddress='2';
  431. update KaiGuan Set Name='走廊反光', Code='3' where Mac='187ed532bae8' and LineAddress='3';
  432. update KaiGuan Set Name='走廊反光', Code='4' where Mac='187ed532bae8' and LineAddress='4';
  433. update KaiGuan Set Name='走廊反光', Code='5' where Mac='187ed532bae8' and LineAddress='5';
  434. update KaiGuan Set Name='小圆灯', Code='6' where Mac='187ed532bae8' and LineAddress='6';
  435. update KaiGuan Set Name='', Code='7' where Mac='187ed532bae8' and LineAddress='7';
  436. update KaiGuan Set Name='连廊反光', Code='8' where Mac='187ed532bae8' and LineAddress='8';
  437. update KaiGuan Set Name='走廊反光', Code='9' where Mac='187ed532bae8' and LineAddress='9';
  438. update KaiGuan Set Name='走廊反光', Code='10' where Mac='187ed532bae8' and LineAddress='10';
  439. update KaiGuan Set Name='走廊反光', Code='11' where Mac='187ed532bae8' and LineAddress='11';
  440. update KaiGuan Set Name='连廊筒灯', Code='12' where Mac='187ed532bae8' and LineAddress='12';
  441. update KaiGuan Set Name='走廊反光', Code='13' where Mac='187ed532bae8' and LineAddress='13';
  442. update KaiGuan Set Name='连廊反光', Code='14' where Mac='187ed532bae8' and LineAddress='14';
  443. update KaiGuan Set Name='走廊反光', Code='15' where Mac='187ed532bae8' and LineAddress='15';
  444. update KaiGuan Set Name='走廊反光连廊方灯', Code='16' where Mac='187ed532bae8' and LineAddress='16';
  445. update KaiGuan Set Name='走廊反光', Code='17' where Mac='187ed532bae8' and LineAddress='17';
  446. update KaiGuan Set Name='走廊反光', Code='18' where Mac='187ed532bae8' and LineAddress='18';
  447. 第 3 排 (mac: 187ed532bf80)
  448. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532bf80'
  449. 18
  450. update KaiGuan Set Name='卫生间插座', Code='1' where Mac='187ed532bf80' and LineAddress='1';
  451. update KaiGuan Set Name='', Code='2' where Mac='187ed532bf80' and LineAddress='2';
  452. update KaiGuan Set Name='走廊反光', Code='3' where Mac='187ed532bf80' and LineAddress='3';
  453. update KaiGuan Set Name='走廊反光', Code='4' where Mac='187ed532bf80' and LineAddress='4';
  454. update KaiGuan Set Name='走廊反光', Code='5' where Mac='187ed532bf80' and LineAddress='5';
  455. update KaiGuan Set Name='走廊反光', Code='6' where Mac='187ed532bf80' and LineAddress='6';
  456. update KaiGuan Set Name='走廊反光', Code='7' where Mac='187ed532bf80' and LineAddress='7';
  457. update KaiGuan Set Name='', Code='8' where Mac='187ed532bf80' and LineAddress='8';
  458. update KaiGuan Set Name='连廊反光', Code='9' where Mac='187ed532bf80' and LineAddress='9';
  459. update KaiGuan Set Name='连廊反光', Code='10' where Mac='187ed532bf80' and LineAddress='10';
  460. update KaiGuan Set Name='连廊反光', Code='11' where Mac='187ed532bf80' and LineAddress='11';
  461. update KaiGuan Set Name='连廊筒灯', Code='12' where Mac='187ed532bf80' and LineAddress='12';
  462. update KaiGuan Set Name='连廊反光', Code='13' where Mac='187ed532bf80' and LineAddress='13';
  463. update KaiGuan Set Name='客梯筒灯', Code='14' where Mac='187ed532bf80' and LineAddress='14';
  464. update KaiGuan Set Name='客梯显示牌', Code='15' where Mac='187ed532bf80' and LineAddress='15';
  465. update KaiGuan Set Name='客梯反光', Code='16' where Mac='187ed532bf80' and LineAddress='16';
  466. update KaiGuan Set Name='', Code='17' where Mac='187ed532bf80' and LineAddress='17';
  467. update KaiGuan Set Name='', Code='18' where Mac='187ed532bf80' and LineAddress='18';
  468. 第 4 排 (mac: 187ed53288dc)
  469. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed53288dc'
  470. 17
  471. update KaiGuan Set Name='卫生间插座', Code='1' where Mac='187ed53288dc' and LineAddress='1';
  472. update KaiGuan Set Name='走廊反光', Code='2' where Mac='187ed53288dc' and LineAddress='2';
  473. update KaiGuan Set Name='走廊反光', Code='3' where Mac='187ed53288dc' and LineAddress='3';
  474. update KaiGuan Set Name='走廊反光', Code='4' where Mac='187ed53288dc' and LineAddress='4';
  475. update KaiGuan Set Name='', Code='5' where Mac='187ed53288dc' and LineAddress='5';
  476. update KaiGuan Set Name='走廊反光', Code='6' where Mac='187ed53288dc' and LineAddress='6';
  477. update KaiGuan Set Name='走廊反光', Code='7' where Mac='187ed53288dc' and LineAddress='7';
  478. update KaiGuan Set Name='走廊反光', Code='8' where Mac='187ed53288dc' and LineAddress='8';
  479. update KaiGuan Set Name='筒灯', Code='9' where Mac='187ed53288dc' and LineAddress='9';
  480. update KaiGuan Set Name='走廊反光', Code='10' where Mac='187ed53288dc' and LineAddress='10';
  481. update KaiGuan Set Name='客梯墙面反光', Code='11' where Mac='187ed53288dc' and LineAddress='11';
  482. update KaiGuan Set Name='', Code='12' where Mac='187ed53288dc' and LineAddress='12';
  483. update KaiGuan Set Name='客梯反光', Code='13' where Mac='187ed53288dc' and LineAddress='13';
  484. update KaiGuan Set Name='筒灯', Code='14' where Mac='187ed53288dc' and LineAddress='14';
  485. update KaiGuan Set Name='走廊反光', Code='15' where Mac='187ed53288dc' and LineAddress='15';
  486. update KaiGuan Set Name='走廊反光', Code='16' where Mac='187ed53288dc' and LineAddress='16';
  487. update KaiGuan Set Name='', Code='17' where Mac='187ed53288dc' and LineAddress='17';
  488. 第 5 排 (mac: 187ed532c36c)
  489. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532c36c'
  490. 18
  491. update KaiGuan Set Name='', Code='1' where Mac='187ed532c36c' and LineAddress='1';
  492. update KaiGuan Set Name='天井反光', Code='2' where Mac='187ed532c36c' and LineAddress='2';
  493. update KaiGuan Set Name='天井反光', Code='3' where Mac='187ed532c36c' and LineAddress='3';
  494. update KaiGuan Set Name='天井反光', Code='4' where Mac='187ed532c36c' and LineAddress='4';
  495. update KaiGuan Set Name='天井反光', Code='5' where Mac='187ed532c36c' and LineAddress='5';
  496. update KaiGuan Set Name='天井反光', Code='6' where Mac='187ed532c36c' and LineAddress='6';
  497. update KaiGuan Set Name='天井反光', Code='7' where Mac='187ed532c36c' and LineAddress='7';
  498. update KaiGuan Set Name='天井反光', Code='8' where Mac='187ed532c36c' and LineAddress='8';
  499. update KaiGuan Set Name='天井反光', Code='9' where Mac='187ed532c36c' and LineAddress='9';
  500. update KaiGuan Set Name='天井反光', Code='10' where Mac='187ed532c36c' and LineAddress='10';
  501. update KaiGuan Set Name='天井反光', Code='11' where Mac='187ed532c36c' and LineAddress='11';
  502. update KaiGuan Set Name='天井反光', Code='12' where Mac='187ed532c36c' and LineAddress='12';
  503. update KaiGuan Set Name='', Code='13' where Mac='187ed532c36c' and LineAddress='13';
  504. update KaiGuan Set Name='天井反光', Code='14' where Mac='187ed532c36c' and LineAddress='14';
  505. update KaiGuan Set Name='天井反光', Code='15' where Mac='187ed532c36c' and LineAddress='15';
  506. update KaiGuan Set Name='天井反光', Code='16' where Mac='187ed532c36c' and LineAddress='16';
  507. update KaiGuan Set Name='天井反光', Code='17' where Mac='187ed532c36c' and LineAddress='17';
  508. update KaiGuan Set Name='夜间照明', Code='18' where Mac='187ed532c36c' and LineAddress='18';
  509. 第 6 排 (mac: 187ed532b978)
  510. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b978'
  511. 17
  512. update KaiGuan Set Name='', Code='1' where Mac='187ed532b978' and LineAddress='1';
  513. update KaiGuan Set Name='反光', Code='2' where Mac='187ed532b978' and LineAddress='2';
  514. update KaiGuan Set Name='反光', Code='3' where Mac='187ed532b978' and LineAddress='3';
  515. update KaiGuan Set Name='反光', Code='4' where Mac='187ed532b978' and LineAddress='4';
  516. update KaiGuan Set Name='扶梯反光', Code='5' where Mac='187ed532b978' and LineAddress='5';
  517. update KaiGuan Set Name='走廊反光', Code='6' where Mac='187ed532b978' and LineAddress='6';
  518. update KaiGuan Set Name='扶梯反光', Code='7' where Mac='187ed532b978' and LineAddress='7';
  519. update KaiGuan Set Name='筒灯', Code='8' where Mac='187ed532b978' and LineAddress='8';
  520. update KaiGuan Set Name='卫生间灯', Code='9' where Mac='187ed532b978' and LineAddress='9';
  521. update KaiGuan Set Name='卫生间灯', Code='10' where Mac='187ed532b978' and LineAddress='10';
  522. update KaiGuan Set Name='筒灯', Code='11' where Mac='187ed532b978' and LineAddress='11';
  523. update KaiGuan Set Name='反光', Code='12' where Mac='187ed532b978' and LineAddress='12';
  524. update KaiGuan Set Name='反光', Code='13' where Mac='187ed532b978' and LineAddress='13';
  525. update KaiGuan Set Name='反光', Code='14' where Mac='187ed532b978' and LineAddress='14';
  526. update KaiGuan Set Name='卫生间灯', Code='15' where Mac='187ed532b978' and LineAddress='15';
  527. update KaiGuan Set Name='筒灯', Code='16' where Mac='187ed532b978' and LineAddress='16';
  528. update KaiGuan Set Name='扶梯反光', Code='17' where Mac='187ed532b978' and LineAddress='17';
  529. --2层B区
  530. 第 1 排 (mac: 187ed532b324)
  531. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b324'
  532. 19
  533. update KaiGuan Set Name='', Code='1' where Mac='187ed532b324' and LineAddress='1';
  534. update KaiGuan Set Name='走廊反光', Code='2' where Mac='187ed532b324' and LineAddress='2';
  535. update KaiGuan Set Name='走廊反光', Code='3' where Mac='187ed532b324' and LineAddress='3';
  536. update KaiGuan Set Name='筒灯', Code='4' where Mac='187ed532b324' and LineAddress='4';
  537. update KaiGuan Set Name='筒灯', Code='5' where Mac='187ed532b324' and LineAddress='5';
  538. update KaiGuan Set Name='走廊反光', Code='6' where Mac='187ed532b324' and LineAddress='6';
  539. update KaiGuan Set Name='走廊反光', Code='7' where Mac='187ed532b324' and LineAddress='7';
  540. update KaiGuan Set Name='', Code='8' where Mac='187ed532b324' and LineAddress='8';
  541. update KaiGuan Set Name='走廊反光', Code='9' where Mac='187ed532b324' and LineAddress='9';
  542. update KaiGuan Set Name='走廊反光', Code='10' where Mac='187ed532b324' and LineAddress='10';
  543. update KaiGuan Set Name='走廊反光', Code='11' where Mac='187ed532b324' and LineAddress='11';
  544. update KaiGuan Set Name='走廊反光', Code='12' where Mac='187ed532b324' and LineAddress='12';
  545. update KaiGuan Set Name='走廊反光', Code='13' where Mac='187ed532b324' and LineAddress='13';
  546. update KaiGuan Set Name='走廊反光', Code='14' where Mac='187ed532b324' and LineAddress='14';
  547. update KaiGuan Set Name='筒灯', Code='15' where Mac='187ed532b324' and LineAddress='15';
  548. update KaiGuan Set Name='走廊反光', Code='16' where Mac='187ed532b324' and LineAddress='16';
  549. update KaiGuan Set Name='', Code='17' where Mac='187ed532b324' and LineAddress='17';
  550. update KaiGuan Set Name='走廊反光', Code='18' where Mac='187ed532b324' and LineAddress='18';
  551. update KaiGuan Set Name='', Code='19' where Mac='187ed532b324' and LineAddress='19';
  552. 第 2 排 (mac: 187ed532b24c)
  553. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b24c'
  554. 19
  555. update KaiGuan Set Name='', Code='1' where Mac='187ed532b24c' and LineAddress='1';
  556. update KaiGuan Set Name='天井反光', Code='2' where Mac='187ed532b24c' and LineAddress='2';
  557. update KaiGuan Set Name='天井反光', Code='3' where Mac='187ed532b24c' and LineAddress='3';
  558. update KaiGuan Set Name='天井反光', Code='4' where Mac='187ed532b24c' and LineAddress='4';
  559. update KaiGuan Set Name='天井反光', Code='5' where Mac='187ed532b24c' and LineAddress='5';
  560. update KaiGuan Set Name='天井反光', Code='6' where Mac='187ed532b24c' and LineAddress='6';
  561. update KaiGuan Set Name='天井反光', Code='7' where Mac='187ed532b24c' and LineAddress='7';
  562. update KaiGuan Set Name='天井反光', Code='8' where Mac='187ed532b24c' and LineAddress='8';
  563. update KaiGuan Set Name='天井反光', Code='9' where Mac='187ed532b24c' and LineAddress='9';
  564. update KaiGuan Set Name='天井反光', Code='10' where Mac='187ed532b24c' and LineAddress='10';
  565. update KaiGuan Set Name='天井反光', Code='11' where Mac='187ed532b24c' and LineAddress='11';
  566. update KaiGuan Set Name='天井反光', Code='12' where Mac='187ed532b24c' and LineAddress='12';
  567. update KaiGuan Set Name='天井反光', Code='13' where Mac='187ed532b24c' and LineAddress='13';
  568. update KaiGuan Set Name='天井反光', Code='14' where Mac='187ed532b24c' and LineAddress='14';
  569. update KaiGuan Set Name='天井反光', Code='15' where Mac='187ed532b24c' and LineAddress='15';
  570. update KaiGuan Set Name='天井反光', Code='16' where Mac='187ed532b24c' and LineAddress='16';
  571. update KaiGuan Set Name='天井反光', Code='17' where Mac='187ed532b24c' and LineAddress='17';
  572. update KaiGuan Set Name='夜间照明', Code='18' where Mac='187ed532b24c' and LineAddress='18';
  573. update KaiGuan Set Name='', Code='19' where Mac='187ed532b24c' and LineAddress='19';
  574. 第 3 排 (mac: 187ed5329674)
  575. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5329674'
  576. 18
  577. update KaiGuan Set Name='', Code='1' where Mac='187ed5329674' and LineAddress='1';
  578. update KaiGuan Set Name='', Code='2' where Mac='187ed5329674' and LineAddress='2';
  579. update KaiGuan Set Name='', Code='3' where Mac='187ed5329674' and LineAddress='3';
  580. update KaiGuan Set Name='小圆灯', Code='4' where Mac='187ed5329674' and LineAddress='4';
  581. update KaiGuan Set Name='小圆灯', Code='5' where Mac='187ed5329674' and LineAddress='5';
  582. update KaiGuan Set Name='筒灯', Code='6' where Mac='187ed5329674' and LineAddress='6';
  583. update KaiGuan Set Name='小圆灯', Code='7' where Mac='187ed5329674' and LineAddress='7';
  584. update KaiGuan Set Name='走廊反光', Code='8' where Mac='187ed5329674' and LineAddress='8';
  585. update KaiGuan Set Name='', Code='9' where Mac='187ed5329674' and LineAddress='9';
  586. update KaiGuan Set Name='', Code='10' where Mac='187ed5329674' and LineAddress='10';
  587. update KaiGuan Set Name='小圆灯', Code='11' where Mac='187ed5329674' and LineAddress='11';
  588. update KaiGuan Set Name='筒灯', Code='12' where Mac='187ed5329674' and LineAddress='12';
  589. update KaiGuan Set Name='', Code='13' where Mac='187ed5329674' and LineAddress='13';
  590. update KaiGuan Set Name='小圆灯', Code='14' where Mac='187ed5329674' and LineAddress='14';
  591. update KaiGuan Set Name='小圆灯', Code='15' where Mac='187ed5329674' and LineAddress='15';
  592. update KaiGuan Set Name='小圆灯', Code='16' where Mac='187ed5329674' and LineAddress='16';
  593. update KaiGuan Set Name='', Code='17' where Mac='187ed5329674' and LineAddress='17';
  594. update KaiGuan Set Name='', Code='18' where Mac='187ed5329674' and LineAddress='18';
  595. --2层C区
  596. 第 1 排 (mac: 187ed532c0c0)
  597. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532c0c0'
  598. 19
  599. update KaiGuan Set Name='', Code='1' where Mac='187ed532c0c0' and LineAddress='1';
  600. update KaiGuan Set Name='夜间照明', Code='2' where Mac='187ed532c0c0' and LineAddress='2';
  601. update KaiGuan Set Name='天井反光', Code='3' where Mac='187ed532c0c0' and LineAddress='3';
  602. update KaiGuan Set Name='天井反光', Code='4' where Mac='187ed532c0c0' and LineAddress='4';
  603. update KaiGuan Set Name='天井反光', Code='5' where Mac='187ed532c0c0' and LineAddress='5';
  604. update KaiGuan Set Name='天井反光', Code='6' where Mac='187ed532c0c0' and LineAddress='6';
  605. update KaiGuan Set Name='天井反光', Code='7' where Mac='187ed532c0c0' and LineAddress='7';
  606. update KaiGuan Set Name='天井反光', Code='8' where Mac='187ed532c0c0' and LineAddress='8';
  607. update KaiGuan Set Name='天井反光', Code='9' where Mac='187ed532c0c0' and LineAddress='9';
  608. update KaiGuan Set Name='天井反光', Code='10' where Mac='187ed532c0c0' and LineAddress='10';
  609. update KaiGuan Set Name='天井反光', Code='11' where Mac='187ed532c0c0' and LineAddress='11';
  610. update KaiGuan Set Name='天井反光', Code='12' where Mac='187ed532c0c0' and LineAddress='12';
  611. update KaiGuan Set Name='天井反光', Code='13' where Mac='187ed532c0c0' and LineAddress='13';
  612. update KaiGuan Set Name='筒灯', Code='14' where Mac='187ed532c0c0' and LineAddress='14';
  613. update KaiGuan Set Name='天井反光', Code='15' where Mac='187ed532c0c0' and LineAddress='15';
  614. update KaiGuan Set Name='走廊反光', Code='16' where Mac='187ed532c0c0' and LineAddress='16';
  615. update KaiGuan Set Name='天井反光', Code='17' where Mac='187ed532c0c0' and LineAddress='17';
  616. update KaiGuan Set Name='天井反光', Code='18' where Mac='187ed532c0c0' and LineAddress='18';
  617. update KaiGuan Set Name='', Code='19' where Mac='187ed532c0c0' and LineAddress='19';
  618. 第 2 排 (mac: 187ed5328488)
  619. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5328488'
  620. 19
  621. update KaiGuan Set Name='', Code='1' where Mac='187ed5328488' and LineAddress='1';
  622. update KaiGuan Set Name='走廊反光', Code='2' where Mac='187ed5328488' and LineAddress='2';
  623. update KaiGuan Set Name='走廊反光筒灯', Code='3' where Mac='187ed5328488' and LineAddress='3';
  624. update KaiGuan Set Name='', Code='4' where Mac='187ed5328488' and LineAddress='4';
  625. update KaiGuan Set Name='走廊反光', Code='5' where Mac='187ed5328488' and LineAddress='5';
  626. update KaiGuan Set Name='走廊反光', Code='6' where Mac='187ed5328488' and LineAddress='6';
  627. update KaiGuan Set Name='走廊反光', Code='7' where Mac='187ed5328488' and LineAddress='7';
  628. update KaiGuan Set Name='走廊反光', Code='8' where Mac='187ed5328488' and LineAddress='8';
  629. update KaiGuan Set Name='走廊反光', Code='9' where Mac='187ed5328488' and LineAddress='9';
  630. update KaiGuan Set Name='', Code='10' where Mac='187ed5328488' and LineAddress='10';
  631. update KaiGuan Set Name='走廊反光', Code='11' where Mac='187ed5328488' and LineAddress='11';
  632. update KaiGuan Set Name='走廊反光', Code='12' where Mac='187ed5328488' and LineAddress='12';
  633. update KaiGuan Set Name='走廊反光', Code='13' where Mac='187ed5328488' and LineAddress='13';
  634. update KaiGuan Set Name='走廊反光', Code='14' where Mac='187ed5328488' and LineAddress='14';
  635. update KaiGuan Set Name='走廊反光', Code='15' where Mac='187ed5328488' and LineAddress='15';
  636. update KaiGuan Set Name='走廊反光', Code='16' where Mac='187ed5328488' and LineAddress='16';
  637. update KaiGuan Set Name='走廊反光', Code='17' where Mac='187ed5328488' and LineAddress='17';
  638. update KaiGuan Set Name='走廊反光', Code='18' where Mac='187ed5328488' and LineAddress='18';
  639. update KaiGuan Set Name='', Code='19' where Mac='187ed5328488' and LineAddress='19';
  640. 第 3 排 (mac: 187ed532bc70)
  641. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532bc70'
  642. 18
  643. update KaiGuan Set Name='', Code='1' where Mac='187ed532bc70' and LineAddress='1';
  644. update KaiGuan Set Name='', Code='2' where Mac='187ed532bc70' and LineAddress='2';
  645. update KaiGuan Set Name='', Code='3' where Mac='187ed532bc70' and LineAddress='3';
  646. update KaiGuan Set Name='', Code='4' where Mac='187ed532bc70' and LineAddress='4';
  647. update KaiGuan Set Name='', Code='5' where Mac='187ed532bc70' and LineAddress='5';
  648. update KaiGuan Set Name='小圆灯', Code='6' where Mac='187ed532bc70' and LineAddress='6';
  649. update KaiGuan Set Name='小圆灯', Code='7' where Mac='187ed532bc70' and LineAddress='7';
  650. update KaiGuan Set Name='小圆灯', Code='8' where Mac='187ed532bc70' and LineAddress='8';
  651. update KaiGuan Set Name='小圆灯', Code='9' where Mac='187ed532bc70' and LineAddress='9';
  652. update KaiGuan Set Name='', Code='10' where Mac='187ed532bc70' and LineAddress='10';
  653. update KaiGuan Set Name='走廊反光', Code='11' where Mac='187ed532bc70' and LineAddress='11';
  654. update KaiGuan Set Name='走廊反光', Code='12' where Mac='187ed532bc70' and LineAddress='12';
  655. update KaiGuan Set Name='走廊反光', Code='13' where Mac='187ed532bc70' and LineAddress='13';
  656. update KaiGuan Set Name='', Code='14' where Mac='187ed532bc70' and LineAddress='14';
  657. update KaiGuan Set Name='走廊反光', Code='15' where Mac='187ed532bc70' and LineAddress='15';
  658. update KaiGuan Set Name='', Code='16' where Mac='187ed532bc70' and LineAddress='16';
  659. update KaiGuan Set Name='走廊反光', Code='17' where Mac='187ed532bc70' and LineAddress='17';
  660. update KaiGuan Set Name='', Code='18' where Mac='187ed532bc70' and LineAddress='18';
  661. --2层D区
  662. 第 1 排 (mac: 187ed5329430)
  663. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5329430'
  664. 18
  665. update KaiGuan Set Name='', Code='1' where Mac='187ed5329430' and LineAddress='1';
  666. update KaiGuan Set Name='', Code='2' where Mac='187ed5329430' and LineAddress='2';
  667. update KaiGuan Set Name='扶梯反光', Code='3' where Mac='187ed5329430' and LineAddress='3';
  668. update KaiGuan Set Name='扶梯反光', Code='4' where Mac='187ed5329430' and LineAddress='4';
  669. update KaiGuan Set Name='扶梯筒灯', Code='5' where Mac='187ed5329430' and LineAddress='5';
  670. update KaiGuan Set Name='大圆北筒灯', Code='6' where Mac='187ed5329430' and LineAddress='6';
  671. update KaiGuan Set Name='', Code='7' where Mac='187ed5329430' and LineAddress='7';
  672. update KaiGuan Set Name='圆柱反光', Code='8' where Mac='187ed5329430' and LineAddress='8';
  673. update KaiGuan Set Name='筒灯', Code='9' where Mac='187ed5329430' and LineAddress='9';
  674. update KaiGuan Set Name='大圆内反光', Code='10' where Mac='187ed5329430' and LineAddress='10';
  675. update KaiGuan Set Name='大圆内反光', Code='11' where Mac='187ed5329430' and LineAddress='11';
  676. update KaiGuan Set Name='天井反光', Code='12' where Mac='187ed5329430' and LineAddress='12';
  677. update KaiGuan Set Name='天井反光', Code='13' where Mac='187ed5329430' and LineAddress='13';
  678. update KaiGuan Set Name='大圆内反光', Code='14' where Mac='187ed5329430' and LineAddress='14';
  679. update KaiGuan Set Name='大圆内反光', Code='15' where Mac='187ed5329430' and LineAddress='15';
  680. update KaiGuan Set Name='天井反光', Code='16' where Mac='187ed5329430' and LineAddress='16';
  681. update KaiGuan Set Name='天井反光', Code='17' where Mac='187ed5329430' and LineAddress='17';
  682. update KaiGuan Set Name='', Code='18' where Mac='187ed5329430' and LineAddress='18';
  683. 第 2 排 (mac: 187ed53288d4)
  684. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed53288d4'
  685. 18
  686. update KaiGuan Set Name='', Code='1' where Mac='187ed53288d4' and LineAddress='1';
  687. update KaiGuan Set Name='', Code='2' where Mac='187ed53288d4' and LineAddress='2';
  688. update KaiGuan Set Name='', Code='3' where Mac='187ed53288d4' and LineAddress='3';
  689. update KaiGuan Set Name='走廊反光', Code='4' where Mac='187ed53288d4' and LineAddress='4';
  690. update KaiGuan Set Name='', Code='5' where Mac='187ed53288d4' and LineAddress='5';
  691. update KaiGuan Set Name='筒灯', Code='6' where Mac='187ed53288d4' and LineAddress='6';
  692. update KaiGuan Set Name='走廊反光', Code='7' where Mac='187ed53288d4' and LineAddress='7';
  693. update KaiGuan Set Name='走廊反光', Code='8' where Mac='187ed53288d4' and LineAddress='8';
  694. update KaiGuan Set Name='', Code='9' where Mac='187ed53288d4' and LineAddress='9';
  695. update KaiGuan Set Name='走廊筒灯', Code='10' where Mac='187ed53288d4' and LineAddress='10';
  696. update KaiGuan Set Name='走廊反光', Code='11' where Mac='187ed53288d4' and LineAddress='11';
  697. update KaiGuan Set Name='走廊反光', Code='12' where Mac='187ed53288d4' and LineAddress='12';
  698. update KaiGuan Set Name='走廊反光', Code='13' where Mac='187ed53288d4' and LineAddress='13';
  699. update KaiGuan Set Name='走廊反光', Code='14' where Mac='187ed53288d4' and LineAddress='14';
  700. update KaiGuan Set Name='走廊反光', Code='15' where Mac='187ed53288d4' and LineAddress='15';
  701. update KaiGuan Set Name='', Code='16' where Mac='187ed53288d4' and LineAddress='16';
  702. update KaiGuan Set Name='走廊反光', Code='17' where Mac='187ed53288d4' and LineAddress='17';
  703. update KaiGuan Set Name='', Code='18' where Mac='187ed53288d4' and LineAddress='18';
  704. 第 3 排 (mac: 187ed532b95c)
  705. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b95c'
  706. 18
  707. update KaiGuan Set Name='', Code='1' where Mac='187ed532b95c' and LineAddress='1';
  708. update KaiGuan Set Name='大圆内反光', Code='2' where Mac='187ed532b95c' and LineAddress='2';
  709. update KaiGuan Set Name='大圆内反光', Code='3' where Mac='187ed532b95c' and LineAddress='3';
  710. update KaiGuan Set Name='天井反光', Code='4' where Mac='187ed532b95c' and LineAddress='4';
  711. update KaiGuan Set Name='大圆内反光', Code='5' where Mac='187ed532b95c' and LineAddress='5';
  712. update KaiGuan Set Name='天井反光', Code='6' where Mac='187ed532b95c' and LineAddress='6';
  713. update KaiGuan Set Name='天井反光', Code='7' where Mac='187ed532b95c' and LineAddress='7';
  714. update KaiGuan Set Name='天井反光', Code='8' where Mac='187ed532b95c' and LineAddress='8';
  715. update KaiGuan Set Name='走廊反光', Code='9' where Mac='187ed532b95c' and LineAddress='9';
  716. update KaiGuan Set Name='天井反光', Code='10' where Mac='187ed532b95c' and LineAddress='10';
  717. update KaiGuan Set Name='天井反光', Code='11' where Mac='187ed532b95c' and LineAddress='11';
  718. update KaiGuan Set Name='', Code='12' where Mac='187ed532b95c' and LineAddress='12';
  719. update KaiGuan Set Name='天井反光', Code='13' where Mac='187ed532b95c' and LineAddress='13';
  720. update KaiGuan Set Name='观光梯反光', Code='14' where Mac='187ed532b95c' and LineAddress='14';
  721. update KaiGuan Set Name='', Code='15' where Mac='187ed532b95c' and LineAddress='15';
  722. update KaiGuan Set Name='天井反光', Code='16' where Mac='187ed532b95c' and LineAddress='16';
  723. update KaiGuan Set Name='天井反光', Code='17' where Mac='187ed532b95c' and LineAddress='17';
  724. update KaiGuan Set Name='天井反光', Code='18' where Mac='187ed532b95c' and LineAddress='18';
  725. 第 4 排 (mac: 187ed532be90)
  726. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532be90'
  727. 17
  728. update KaiGuan Set Name='', Code='1' where Mac='187ed532be90' and LineAddress='1';
  729. update KaiGuan Set Name='', Code='2' where Mac='187ed532be90' and LineAddress='2';
  730. update KaiGuan Set Name='走廊反光', Code='3' where Mac='187ed532be90' and LineAddress='3';
  731. update KaiGuan Set Name='走廊反光', Code='4' where Mac='187ed532be90' and LineAddress='4';
  732. update KaiGuan Set Name='', Code='5' where Mac='187ed532be90' and LineAddress='5';
  733. update KaiGuan Set Name='走廊反光', Code='6' where Mac='187ed532be90' and LineAddress='6';
  734. update KaiGuan Set Name='走廊反光', Code='7' where Mac='187ed532be90' and LineAddress='7';
  735. update KaiGuan Set Name='走廊反光', Code='8' where Mac='187ed532be90' and LineAddress='8';
  736. update KaiGuan Set Name='', Code='9' where Mac='187ed532be90' and LineAddress='9';
  737. update KaiGuan Set Name='筒灯', Code='10' where Mac='187ed532be90' and LineAddress='10';
  738. update KaiGuan Set Name='走廊反光', Code='11' where Mac='187ed532be90' and LineAddress='11';
  739. update KaiGuan Set Name='', Code='12' where Mac='187ed532be90' and LineAddress='12';
  740. update KaiGuan Set Name='货梯厅仓库', Code='13' where Mac='187ed532be90' and LineAddress='13';
  741. update KaiGuan Set Name='走廊天井反光', Code='14' where Mac='187ed532be90' and LineAddress='14';
  742. update KaiGuan Set Name='大圆内反光', Code='15' where Mac='187ed532be90' and LineAddress='15';
  743. update KaiGuan Set Name='大圆内反光', Code='16' where Mac='187ed532be90' and LineAddress='16';
  744. update KaiGuan Set Name='天井反光', Code='17' where Mac='187ed532be90' and LineAddress='17';
  745. 第 5 排 (mac: 187ed5328474)
  746. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5328474'
  747. 18
  748. update KaiGuan Set Name='', Code='1' where Mac='187ed5328474' and LineAddress='1';
  749. update KaiGuan Set Name='走廊反光', Code='2' where Mac='187ed5328474' and LineAddress='2';
  750. update KaiGuan Set Name='走廊反光', Code='3' where Mac='187ed5328474' and LineAddress='3';
  751. update KaiGuan Set Name='走廊反光', Code='4' where Mac='187ed5328474' and LineAddress='4';
  752. update KaiGuan Set Name='筒灯', Code='5' where Mac='187ed5328474' and LineAddress='5';
  753. update KaiGuan Set Name='走廊反光', Code='6' where Mac='187ed5328474' and LineAddress='6';
  754. update KaiGuan Set Name='筒灯', Code='7' where Mac='187ed5328474' and LineAddress='7';
  755. update KaiGuan Set Name='筒灯', Code='8' where Mac='187ed5328474' and LineAddress='8';
  756. update KaiGuan Set Name='走廊反光', Code='9' where Mac='187ed5328474' and LineAddress='9';
  757. update KaiGuan Set Name='走廊反光', Code='10' where Mac='187ed5328474' and LineAddress='10';
  758. update KaiGuan Set Name='', Code='11' where Mac='187ed5328474' and LineAddress='11';
  759. update KaiGuan Set Name='走廊反光', Code='12' where Mac='187ed5328474' and LineAddress='12';
  760. update KaiGuan Set Name='走廊反光', Code='13' where Mac='187ed5328474' and LineAddress='13';
  761. update KaiGuan Set Name='筒灯', Code='14' where Mac='187ed5328474' and LineAddress='14';
  762. update KaiGuan Set Name='走廊反光', Code='15' where Mac='187ed5328474' and LineAddress='15';
  763. update KaiGuan Set Name='走廊反光', Code='16' where Mac='187ed5328474' and LineAddress='16';
  764. update KaiGuan Set Name='走廊反光', Code='17' where Mac='187ed5328474' and LineAddress='17';
  765. 第 6 排 (mac: 187ed532a59c)
  766. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532a59c'
  767. 17
  768. update KaiGuan Set Name='', Code='1' where Mac='187ed532a59c' and LineAddress='1';
  769. update KaiGuan Set Name='大圆内反光', Code='2' where Mac='187ed532a59c' and LineAddress='2';
  770. update KaiGuan Set Name='大圆内反光', Code='3' where Mac='187ed532a59c' and LineAddress='3';
  771. update KaiGuan Set Name='', Code='4' where Mac='187ed532a59c' and LineAddress='4';
  772. update KaiGuan Set Name='筒灯', Code='5' where Mac='187ed532a59c' and LineAddress='5';
  773. update KaiGuan Set Name='扶梯反光', Code='6' where Mac='187ed532a59c' and LineAddress='6';
  774. update KaiGuan Set Name='圆柱反光', Code='7' where Mac='187ed532a59c' and LineAddress='7';
  775. update KaiGuan Set Name='卫生间灯', Code='8' where Mac='187ed532a59c' and LineAddress='8';
  776. update KaiGuan Set Name='卫生间炒作', Code='9' where Mac='187ed532a59c' and LineAddress='9';
  777. update KaiGuan Set Name='走廊反光筒灯', Code='10' where Mac='187ed532a59c' and LineAddress='10';
  778. update KaiGuan Set Name='天井反光', Code='11' where Mac='187ed532a59c' and LineAddress='11';
  779. update KaiGuan Set Name='', Code='12' where Mac='187ed532a59c' and LineAddress='12';
  780. update KaiGuan Set Name='天井反光', Code='13' where Mac='187ed532a59c' and LineAddress='13';
  781. update KaiGuan Set Name='卫生间走廊灯', Code='14' where Mac='187ed532a59c' and LineAddress='14';
  782. update KaiGuan Set Name='走廊反光', Code='15' where Mac='187ed532a59c' and LineAddress='15';
  783. update KaiGuan Set Name='走廊反光', Code='16' where Mac='187ed532a59c' and LineAddress='16';
  784. update KaiGuan Set Name='夜间照明', Code='17' where Mac='187ed532a59c' and LineAddress='17';
  785. --3层A区
  786. 第 1 排 (mac: 187ed53104cc)
  787. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed53104cc'
  788. 18
  789. update KaiGuan Set Name='卫生间插座', Code='1' where Mac='187ed53104cc' and LineAddress='1';
  790. update KaiGuan Set Name='', Code='2' where Mac='187ed53104cc' and LineAddress='2';
  791. update KaiGuan Set Name='中庭南走廊筒灯', Code='3' where Mac='187ed53104cc' and LineAddress='3';
  792. update KaiGuan Set Name='中庭东南筒灯', Code='4' where Mac='187ed53104cc' and LineAddress='4';
  793. update KaiGuan Set Name='西庭南筒灯', Code='5' where Mac='187ed53104cc' and LineAddress='5';
  794. update KaiGuan Set Name='西扶梯西24伏', Code='6' where Mac='187ed53104cc' and LineAddress='6';
  795. update KaiGuan Set Name='西扶梯西24伏备', Code='7' where Mac='187ed53104cc' and LineAddress='7';
  796. update KaiGuan Set Name='中庭西走廊反光', Code='8' where Mac='187ed53104cc' and LineAddress='8';
  797. update KaiGuan Set Name='西扶梯北筒灯', Code='9' where Mac='187ed53104cc' and LineAddress='9';
  798. update KaiGuan Set Name='西北筒灯', Code='10' where Mac='187ed53104cc' and LineAddress='10';
  799. update KaiGuan Set Name='配电间前T5', Code='11' where Mac='187ed53104cc' and LineAddress='11';
  800. update KaiGuan Set Name='', Code='12' where Mac='187ed53104cc' and LineAddress='12';
  801. update KaiGuan Set Name='西庭南D1', Code='13' where Mac='187ed53104cc' and LineAddress='13';
  802. update KaiGuan Set Name='西庭北D1', Code='14' where Mac='187ed53104cc' and LineAddress='14';
  803. update KaiGuan Set Name='西庭东D1', Code='15' where Mac='187ed53104cc' and LineAddress='15';
  804. update KaiGuan Set Name='西庭西D1', Code='16' where Mac='187ed53104cc' and LineAddress='16';
  805. update KaiGuan Set Name='西厅东D1', Code='17' where Mac='187ed53104cc' and LineAddress='17';
  806. update KaiGuan Set Name='东扶梯南D1', Code='18' where Mac='187ed53104cc' and LineAddress='18';
  807. 第 2 排 (mac: 187ed532becc)
  808. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532becc'
  809. 18
  810. update KaiGuan Set Name='卫生间插座', Code='1' where Mac='187ed532becc' and LineAddress='1';
  811. update KaiGuan Set Name='中庭东南上T5', Code='2' where Mac='187ed532becc' and LineAddress='2';
  812. update KaiGuan Set Name='中庭西南下T5', Code='3' where Mac='187ed532becc' and LineAddress='3';
  813. update KaiGuan Set Name='西走廊T5', Code='4' where Mac='187ed532becc' and LineAddress='4';
  814. update KaiGuan Set Name='中庭西北走廊D1', Code='5' where Mac='187ed532becc' and LineAddress='5';
  815. update KaiGuan Set Name='', Code='6' where Mac='187ed532becc' and LineAddress='6';
  816. update KaiGuan Set Name='东扶梯D1', Code='7' where Mac='187ed532becc' and LineAddress='7';
  817. update KaiGuan Set Name='西扶梯东24伏', Code='8' where Mac='187ed532becc' and LineAddress='8';
  818. update KaiGuan Set Name='东扶梯北D1', Code='9' where Mac='187ed532becc' and LineAddress='9';
  819. update KaiGuan Set Name='东庭南T5', Code='10' where Mac='187ed532becc' and LineAddress='10';
  820. update KaiGuan Set Name='东南门口T5', Code='11' where Mac='187ed532becc' and LineAddress='11';
  821. update KaiGuan Set Name='东厅北柱子T5', Code='12' where Mac='187ed532becc' and LineAddress='12';
  822. update KaiGuan Set Name='西庭南柱子T5', Code='13' where Mac='187ed532becc' and LineAddress='13';
  823. update KaiGuan Set Name='配电间前D1', Code='14' where Mac='187ed532becc' and LineAddress='14';
  824. update KaiGuan Set Name='中庭南廊T5', Code='15' where Mac='187ed532becc' and LineAddress='15';
  825. update KaiGuan Set Name='中庭东南下T5', Code='16' where Mac='187ed532becc' and LineAddress='16';
  826. update KaiGuan Set Name='中庭西南下T5', Code='17' where Mac='187ed532becc' and LineAddress='17';
  827. update KaiGuan Set Name='中庭廊T5', Code='18' where Mac='187ed532becc' and LineAddress='18';
  828. 第 3 排 (mac: 187ed532a9b0)
  829. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532a9b0'
  830. 18
  831. update KaiGuan Set Name='卫生间T5', Code='1' where Mac='187ed532a9b0' and LineAddress='1';
  832. update KaiGuan Set Name='中庭南廊T5', Code='2' where Mac='187ed532a9b0' and LineAddress='2';
  833. update KaiGuan Set Name='西庭南廊D1', Code='3' where Mac='187ed532a9b0' and LineAddress='3';
  834. update KaiGuan Set Name='西扶梯东24伏', Code='4' where Mac='187ed532a9b0' and LineAddress='4';
  835. update KaiGuan Set Name='中庭西南上T5', Code='5' where Mac='187ed532a9b0' and LineAddress='5';
  836. update KaiGuan Set Name='中庭南廊D1', Code='6' where Mac='187ed532a9b0' and LineAddress='6';
  837. update KaiGuan Set Name='中庭西南上T5备用', Code='7' where Mac='187ed532a9b0' and LineAddress='7';
  838. update KaiGuan Set Name='中庭东廊T5', Code='8' where Mac='187ed532a9b0' and LineAddress='8';
  839. update KaiGuan Set Name='货梯D1', Code='9' where Mac='187ed532a9b0' and LineAddress='9';
  840. update KaiGuan Set Name='中庭北D1', Code='10' where Mac='187ed532a9b0' and LineAddress='10';
  841. update KaiGuan Set Name='货梯前室D1', Code='11' where Mac='187ed532a9b0' and LineAddress='11';
  842. update KaiGuan Set Name='中庭北廊D1', Code='12' where Mac='187ed532a9b0' and LineAddress='12';
  843. update KaiGuan Set Name='东廊D1', Code='13' where Mac='187ed532a9b0' and LineAddress='13';
  844. update KaiGuan Set Name='东南门D1', Code='14' where Mac='187ed532a9b0' and LineAddress='14';
  845. update KaiGuan Set Name='东庭南柱子', Code='15' where Mac='187ed532a9b0' and LineAddress='15';
  846. update KaiGuan Set Name='', Code='16' where Mac='187ed532a9b0' and LineAddress='16';
  847. update KaiGuan Set Name='', Code='17' where Mac='187ed532a9b0' and LineAddress='17';
  848. update KaiGuan Set Name='', Code='18' where Mac='187ed532a9b0' and LineAddress='18';
  849. 第 4 排 (mac: 187ed532bbf0)
  850. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532bbf0'
  851. 17
  852. update KaiGuan Set Name='卫生间感应', Code='1' where Mac='187ed532bbf0' and LineAddress='1';
  853. update KaiGuan Set Name='中庭西北上T5', Code='2' where Mac='187ed532bbf0' and LineAddress='2';
  854. update KaiGuan Set Name='中庭西南上T5', Code='3' where Mac='187ed532bbf0' and LineAddress='3';
  855. update KaiGuan Set Name='中庭东北上T5', Code='4' where Mac='187ed532bbf0' and LineAddress='4';
  856. update KaiGuan Set Name='中庭东南上T5', Code='5' where Mac='187ed532bbf0' and LineAddress='5';
  857. update KaiGuan Set Name='中庭西北下T5', Code='6' where Mac='187ed532bbf0' and LineAddress='6';
  858. update KaiGuan Set Name='中庭东北下T5', Code='7' where Mac='187ed532bbf0' and LineAddress='7';
  859. update KaiGuan Set Name='中庭西南下T5', Code='8' where Mac='187ed532bbf0' and LineAddress='8';
  860. update KaiGuan Set Name='中庭东南下T5', Code='9' where Mac='187ed532bbf0' and LineAddress='9';
  861. update KaiGuan Set Name='西扶梯东边T5', Code='10' where Mac='187ed532bbf0' and LineAddress='10';
  862. update KaiGuan Set Name='西走廊T5', Code='11' where Mac='187ed532bbf0' and LineAddress='11';
  863. update KaiGuan Set Name='西庭中T5', Code='12' where Mac='187ed532bbf0' and LineAddress='12';
  864. update KaiGuan Set Name='南走廊T5', Code='13' where Mac='187ed532bbf0' and LineAddress='13';
  865. update KaiGuan Set Name='西庭南廊T5', Code='14' where Mac='187ed532bbf0' and LineAddress='14';
  866. update KaiGuan Set Name='西扶梯西边灯', Code='15' where Mac='187ed532bbf0' and LineAddress='15';
  867. update KaiGuan Set Name='', Code='16' where Mac='187ed532bbf0' and LineAddress='16';
  868. update KaiGuan Set Name='西庭西廊T5', Code='17' where Mac='187ed532bbf0' and LineAddress='17';
  869. 第 5 排 (mac: 187ed5329ec0)
  870. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5329ec0'
  871. 18
  872. update KaiGuan Set Name='卫生间u5', Code='1' where Mac='187ed5329ec0' and LineAddress='1';
  873. update KaiGuan Set Name='东庭东上T5', Code='2' where Mac='187ed5329ec0' and LineAddress='2';
  874. update KaiGuan Set Name='东庭东北下T5', Code='3' where Mac='187ed5329ec0' and LineAddress='3';
  875. update KaiGuan Set Name='东庭东北上T5', Code='4' where Mac='187ed5329ec0' and LineAddress='4';
  876. update KaiGuan Set Name='东庭西北上T5', Code='5' where Mac='187ed5329ec0' and LineAddress='5';
  877. update KaiGuan Set Name='东庭东上T5', Code='6' where Mac='187ed5329ec0' and LineAddress='6';
  878. update KaiGuan Set Name='东庭东南下T5', Code='7' where Mac='187ed5329ec0' and LineAddress='7';
  879. update KaiGuan Set Name='东庭西南下T5', Code='8' where Mac='187ed5329ec0' and LineAddress='8';
  880. update KaiGuan Set Name='东庭西北下T5', Code='9' where Mac='187ed5329ec0' and LineAddress='9';
  881. update KaiGuan Set Name='西庭北廊T5', Code='10' where Mac='187ed5329ec0' and LineAddress='10';
  882. update KaiGuan Set Name='东中廊T5', Code='11' where Mac='187ed5329ec0' and LineAddress='11';
  883. update KaiGuan Set Name='东庭南廊D1', Code='12' where Mac='187ed5329ec0' and LineAddress='12';
  884. update KaiGuan Set Name='东廊T5', Code='13' where Mac='187ed5329ec0' and LineAddress='13';
  885. update KaiGuan Set Name='南廊T5', Code='14' where Mac='187ed5329ec0' and LineAddress='14';
  886. update KaiGuan Set Name='东廊T5', Code='15' where Mac='187ed5329ec0' and LineAddress='15';
  887. update KaiGuan Set Name='东中廊T5', Code='16' where Mac='187ed5329ec0' and LineAddress='16';
  888. update KaiGuan Set Name='中庭北廊T5', Code='17' where Mac='187ed5329ec0' and LineAddress='17';
  889. update KaiGuan Set Name='', Code='18' where Mac='187ed5329ec0' and LineAddress='18';
  890. 第 6 排 (mac: 187ed532ae0c)
  891. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532ae0c'
  892. 17
  893. update KaiGuan Set Name='夜间照明', Code='1' where Mac='187ed532ae0c' and LineAddress='1';
  894. update KaiGuan Set Name='中庭西北上T5', Code='2' where Mac='187ed532ae0c' and LineAddress='2';
  895. update KaiGuan Set Name='中庭东北上T5', Code='3' where Mac='187ed532ae0c' and LineAddress='3';
  896. update KaiGuan Set Name='中庭西北下T5', Code='4' where Mac='187ed532ae0c' and LineAddress='4';
  897. update KaiGuan Set Name='中庭东北下T5', Code='5' where Mac='187ed532ae0c' and LineAddress='5';
  898. update KaiGuan Set Name='中庭北廊T5', Code='6' where Mac='187ed532ae0c' and LineAddress='6';
  899. update KaiGuan Set Name='东扶梯西边灯', Code='7' where Mac='187ed532ae0c' and LineAddress='7';
  900. update KaiGuan Set Name='中庭西廊T5', Code='8' where Mac='187ed532ae0c' and LineAddress='8';
  901. update KaiGuan Set Name='', Code='9' where Mac='187ed532ae0c' and LineAddress='9';
  902. update KaiGuan Set Name='西庭北柱子灯', Code='10' where Mac='187ed532ae0c' and LineAddress='10';
  903. update KaiGuan Set Name='东庭走廊T5', Code='11' where Mac='187ed532ae0c' and LineAddress='11';
  904. update KaiGuan Set Name='北廊T5', Code='12' where Mac='187ed532ae0c' and LineAddress='12';
  905. update KaiGuan Set Name='中庭北廊T5', Code='13' where Mac='187ed532ae0c' and LineAddress='13';
  906. update KaiGuan Set Name='中庭东廊T5', Code='14' where Mac='187ed532ae0c' and LineAddress='14';
  907. update KaiGuan Set Name='东扶梯东24伏', Code='15' where Mac='187ed532ae0c' and LineAddress='15';
  908. update KaiGuan Set Name='中庭北廊T5', Code='16' where Mac='187ed532ae0c' and LineAddress='16';
  909. update KaiGuan Set Name='东扶梯西24伏', Code='17' where Mac='187ed532ae0c' and LineAddress='17';
  910. --3层B区
  911. 第 1 排 (mac: 187ed532bd4c)
  912. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532bd4c'
  913. 19
  914. update KaiGuan Set Name='北造型筒灯', Code='1' where Mac='187ed532bd4c' and LineAddress='1';
  915. update KaiGuan Set Name='机房前走廊反光', Code='2' where Mac='187ed532bd4c' and LineAddress='2';
  916. update KaiGuan Set Name='天井西走廊反光', Code='3' where Mac='187ed532bd4c' and LineAddress='3';
  917. update KaiGuan Set Name='机房前走廊反光', Code='4' where Mac='187ed532bd4c' and LineAddress='4';
  918. update KaiGuan Set Name='', Code='5' where Mac='187ed532bd4c' and LineAddress='5';
  919. update KaiGuan Set Name='天井西走廊反光', Code='6' where Mac='187ed532bd4c' and LineAddress='6';
  920. update KaiGuan Set Name='天井北走廊反光', Code='7' where Mac='187ed532bd4c' and LineAddress='7';
  921. update KaiGuan Set Name='机房前走廊筒灯', Code='8' where Mac='187ed532bd4c' and LineAddress='8';
  922. update KaiGuan Set Name='天井西走廊反光', Code='9' where Mac='187ed532bd4c' and LineAddress='9';
  923. update KaiGuan Set Name='天井西走廊筒灯', Code='10' where Mac='187ed532bd4c' and LineAddress='10';
  924. update KaiGuan Set Name='', Code='11' where Mac='187ed532bd4c' and LineAddress='11';
  925. update KaiGuan Set Name='货梯走廊筒灯', Code='12' where Mac='187ed532bd4c' and LineAddress='12';
  926. update KaiGuan Set Name='天井东走廊反光', Code='13' where Mac='187ed532bd4c' and LineAddress='13';
  927. update KaiGuan Set Name='天井北走廊筒灯', Code='14' where Mac='187ed532bd4c' and LineAddress='14';
  928. update KaiGuan Set Name='天井东走廊反光', Code='15' where Mac='187ed532bd4c' and LineAddress='15';
  929. update KaiGuan Set Name='', Code='16' where Mac='187ed532bd4c' and LineAddress='16';
  930. update KaiGuan Set Name='货梯走廊筒灯', Code='17' where Mac='187ed532bd4c' and LineAddress='17';
  931. update KaiGuan Set Name='天井东走廊筒灯', Code='18' where Mac='187ed532bd4c' and LineAddress='18';
  932. update KaiGuan Set Name='', Code='19' where Mac='187ed532bd4c' and LineAddress='19';
  933. 第 2 排 (mac: 187ed5329fa4)
  934. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5329fa4'
  935. 19
  936. update KaiGuan Set Name='南造型24伏', Code='1' where Mac='187ed5329fa4' and LineAddress='1';
  937. update KaiGuan Set Name='天井东南上反光', Code='2' where Mac='187ed5329fa4' and LineAddress='2';
  938. update KaiGuan Set Name='天井西南上反光', Code='3' where Mac='187ed5329fa4' and LineAddress='3';
  939. update KaiGuan Set Name='天井东北上反光', Code='4' where Mac='187ed5329fa4' and LineAddress='4';
  940. update KaiGuan Set Name='天井西北上反光', Code='5' where Mac='187ed5329fa4' and LineAddress='5';
  941. update KaiGuan Set Name='天井东北上反光', Code='6' where Mac='187ed5329fa4' and LineAddress='6';
  942. update KaiGuan Set Name='天井西南下反光', Code='7' where Mac='187ed5329fa4' and LineAddress='7';
  943. update KaiGuan Set Name='天井东南下反光', Code='8' where Mac='187ed5329fa4' and LineAddress='8';
  944. update KaiGuan Set Name='天井西北下反光', Code='9' where Mac='187ed5329fa4' and LineAddress='9';
  945. update KaiGuan Set Name='天井西走廊反光', Code='10' where Mac='187ed5329fa4' and LineAddress='10';
  946. update KaiGuan Set Name='天井西走廊反光', Code='11' where Mac='187ed5329fa4' and LineAddress='11';
  947. update KaiGuan Set Name='天井东走廊反光', Code='12' where Mac='187ed5329fa4' and LineAddress='12';
  948. update KaiGuan Set Name='', Code='13' where Mac='187ed5329fa4' and LineAddress='13';
  949. update KaiGuan Set Name='', Code='14' where Mac='187ed5329fa4' and LineAddress='14';
  950. update KaiGuan Set Name='', Code='15' where Mac='187ed5329fa4' and LineAddress='15';
  951. update KaiGuan Set Name='', Code='16' where Mac='187ed5329fa4' and LineAddress='16';
  952. update KaiGuan Set Name='', Code='17' where Mac='187ed5329fa4' and LineAddress='17';
  953. update KaiGuan Set Name='夜间照明', Code='18' where Mac='187ed5329fa4' and LineAddress='18';
  954. update KaiGuan Set Name='', Code='19' where Mac='187ed5329fa4' and LineAddress='19';
  955. 第 3 排 (mac: 187ed532c154)
  956. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532c154'
  957. 18
  958. update KaiGuan Set Name='南总行24伏', Code='1' where Mac='187ed532c154' and LineAddress='1';
  959. update KaiGuan Set Name='天井南走廊反光', Code='2' where Mac='187ed532c154' and LineAddress='2';
  960. update KaiGuan Set Name='天井东走廊反光', Code='3' where Mac='187ed532c154' and LineAddress='3';
  961. update KaiGuan Set Name='中庭北24伏', Code='4' where Mac='187ed532c154' and LineAddress='4';
  962. update KaiGuan Set Name='中庭北24伏', Code='5' where Mac='187ed532c154' and LineAddress='5';
  963. update KaiGuan Set Name='天井南造型筒灯', Code='6' where Mac='187ed532c154' and LineAddress='6';
  964. update KaiGuan Set Name='天井南走廊反光', Code='7' where Mac='187ed532c154' and LineAddress='7';
  965. update KaiGuan Set Name='天井西走廊反光', Code='8' where Mac='187ed532c154' and LineAddress='8';
  966. update KaiGuan Set Name='天井南走廊反光', Code='9' where Mac='187ed532c154' and LineAddress='9';
  967. update KaiGuan Set Name='天井东走廊反光', Code='10' where Mac='187ed532c154' and LineAddress='10';
  968. update KaiGuan Set Name='天井西走廊反光', Code='11' where Mac='187ed532c154' and LineAddress='11';
  969. update KaiGuan Set Name='', Code='12' where Mac='187ed532c154' and LineAddress='12';
  970. update KaiGuan Set Name='天井东北上反光', Code='13' where Mac='187ed532c154' and LineAddress='13';
  971. update KaiGuan Set Name='天井东北下反光', Code='14' where Mac='187ed532c154' and LineAddress='14';
  972. update KaiGuan Set Name='天井东南下反光', Code='15' where Mac='187ed532c154' and LineAddress='15';
  973. update KaiGuan Set Name='天井西北下反光', Code='16' where Mac='187ed532c154' and LineAddress='16';
  974. update KaiGuan Set Name='天井西南下反光', Code='17' where Mac='187ed532c154' and LineAddress='17';
  975. --3层C区
  976. 第 1 排 (mac: 187ed5329828)
  977. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5329828'
  978. 19
  979. update KaiGuan Set Name='中庭南24伏', Code='1' where Mac='187ed5329828' and LineAddress='1';
  980. update KaiGuan Set Name='夜间照明', Code='2' where Mac='187ed5329828' and LineAddress='2';
  981. update KaiGuan Set Name='中庭北廊D1', Code='3' where Mac='187ed5329828' and LineAddress='3';
  982. update KaiGuan Set Name='中庭西廊T5', Code='4' where Mac='187ed5329828' and LineAddress='4';
  983. update KaiGuan Set Name='中庭东廊T5', Code='5' where Mac='187ed5329828' and LineAddress='5';
  984. update KaiGuan Set Name='机房前廊D1', Code='6' where Mac='187ed5329828' and LineAddress='6';
  985. update KaiGuan Set Name='中庭东廊D1', Code='7' where Mac='187ed5329828' and LineAddress='7';
  986. update KaiGuan Set Name='机房前廊T5', Code='8' where Mac='187ed5329828' and LineAddress='8';
  987. update KaiGuan Set Name='中庭东廊T5', Code='9' where Mac='187ed5329828' and LineAddress='9';
  988. update KaiGuan Set Name='中庭西廊D1', Code='10' where Mac='187ed5329828' and LineAddress='10';
  989. update KaiGuan Set Name='中庭西廊T5', Code='11' where Mac='187ed5329828' and LineAddress='11';
  990. update KaiGuan Set Name='中庭东廊T5', Code='12' where Mac='187ed5329828' and LineAddress='12';
  991. update KaiGuan Set Name='', Code='13' where Mac='187ed5329828' and LineAddress='13';
  992. update KaiGuan Set Name='', Code='14' where Mac='187ed5329828' and LineAddress='14';
  993. update KaiGuan Set Name='中庭东廊D1', Code='15' where Mac='187ed5329828' and LineAddress='15';
  994. update KaiGuan Set Name='', Code='16' where Mac='187ed5329828' and LineAddress='16';
  995. update KaiGuan Set Name='', Code='17' where Mac='187ed5329828' and LineAddress='17';
  996. update KaiGuan Set Name='', Code='18' where Mac='187ed5329828' and LineAddress='18';
  997. update KaiGuan Set Name='', Code='19' where Mac='187ed5329828' and LineAddress='19';
  998. 第 2 排 (mac: 187ed532bc04)
  999. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532bc04'
  1000. 19
  1001. update KaiGuan Set Name='中庭北24伏', Code='1' where Mac='187ed532bc04' and LineAddress='1';
  1002. update KaiGuan Set Name='中庭西南上T5', Code='2' where Mac='187ed532bc04' and LineAddress='2';
  1003. update KaiGuan Set Name='中庭西北下T5', Code='3' where Mac='187ed532bc04' and LineAddress='3';
  1004. update KaiGuan Set Name='中庭北廊T5', Code='4' where Mac='187ed532bc04' and LineAddress='4';
  1005. update KaiGuan Set Name='中庭东南上T5', Code='5' where Mac='187ed532bc04' and LineAddress='5';
  1006. update KaiGuan Set Name='中庭东北下T5', Code='6' where Mac='187ed532bc04' and LineAddress='6';
  1007. update KaiGuan Set Name='中庭西廊T5', Code='7' where Mac='187ed532bc04' and LineAddress='7';
  1008. update KaiGuan Set Name='中庭东南下T5', Code='8' where Mac='187ed532bc04' and LineAddress='8';
  1009. update KaiGuan Set Name='中庭西南下T5', Code='9' where Mac='187ed532bc04' and LineAddress='9';
  1010. update KaiGuan Set Name='中庭东北上T5', Code='10' where Mac='187ed532bc04' and LineAddress='10';
  1011. update KaiGuan Set Name='中庭东廊T5', Code='11' where Mac='187ed532bc04' and LineAddress='11';
  1012. update KaiGuan Set Name='', Code='12' where Mac='187ed532bc04' and LineAddress='12';
  1013. update KaiGuan Set Name='', Code='13' where Mac='187ed532bc04' and LineAddress='13';
  1014. update KaiGuan Set Name='', Code='14' where Mac='187ed532bc04' and LineAddress='14';
  1015. update KaiGuan Set Name='', Code='15' where Mac='187ed532bc04' and LineAddress='15';
  1016. update KaiGuan Set Name='', Code='16' where Mac='187ed532bc04' and LineAddress='16';
  1017. update KaiGuan Set Name='', Code='17' where Mac='187ed532bc04' and LineAddress='17';
  1018. update KaiGuan Set Name='应急照明', Code='18' where Mac='187ed532bc04' and LineAddress='18';
  1019. update KaiGuan Set Name='', Code='19' where Mac='187ed532bc04' and LineAddress='19';
  1020. 第 3 排 (mac: 187ed532ba30)
  1021. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532ba30'
  1022. 18
  1023. update KaiGuan Set Name='中庭北24伏', Code='1' where Mac='187ed532ba30' and LineAddress='1';
  1024. update KaiGuan Set Name='中庭南24伏', Code='2' where Mac='187ed532ba30' and LineAddress='2';
  1025. update KaiGuan Set Name='中庭南廊D1', Code='3' where Mac='187ed532ba30' and LineAddress='3';
  1026. update KaiGuan Set Name='中庭北廊D1', Code='4' where Mac='187ed532ba30' and LineAddress='4';
  1027. update KaiGuan Set Name='中庭西北下T5', Code='5' where Mac='187ed532ba30' and LineAddress='5';
  1028. update KaiGuan Set Name='中庭西廊T5', Code='6' where Mac='187ed532ba30' and LineAddress='6';
  1029. update KaiGuan Set Name='中庭东廊T5', Code='7' where Mac='187ed532ba30' and LineAddress='7';
  1030. update KaiGuan Set Name='中庭东廊T5', Code='8' where Mac='187ed532ba30' and LineAddress='8';
  1031. update KaiGuan Set Name='配电间照明', Code='9' where Mac='187ed532ba30' and LineAddress='9';
  1032. update KaiGuan Set Name='中庭西廊T5', Code='10' where Mac='187ed532ba30' and LineAddress='10';
  1033. update KaiGuan Set Name='机房前廊T5', Code='11' where Mac='187ed532ba30' and LineAddress='11';
  1034. update KaiGuan Set Name='中庭东北上T5', Code='12' where Mac='187ed532ba30' and LineAddress='12';
  1035. update KaiGuan Set Name='中庭西南上T5', Code='13' where Mac='187ed532ba30' and LineAddress='13';
  1036. update KaiGuan Set Name='中庭西北下T5', Code='14' where Mac='187ed532ba30' and LineAddress='14';
  1037. update KaiGuan Set Name='中庭东南下T5', Code='15' where Mac='187ed532ba30' and LineAddress='15';
  1038. update KaiGuan Set Name='中庭西南下T5', Code='16' where Mac='187ed532ba30' and LineAddress='16';
  1039. update KaiGuan Set Name='中庭东北下T5', Code='17' where Mac='187ed532ba30' and LineAddress='17';
  1040. update KaiGuan Set Name='', Code='18' where Mac='187ed532ba30' and LineAddress='18';
  1041. --3层D区
  1042. 第 1 排 (mac: 187ed532b2dc)
  1043. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b2dc'
  1044. 18
  1045. update KaiGuan Set Name='卫生间插座', Code='1' where Mac='187ed532b2dc' and LineAddress='1';
  1046. update KaiGuan Set Name='西连廊D3灯', Code='2' where Mac='187ed532b2dc' and LineAddress='2';
  1047. update KaiGuan Set Name='西连廊反光灯', Code='3' where Mac='187ed532b2dc' and LineAddress='3';
  1048. update KaiGuan Set Name='西扶梯东24伏', Code='4' where Mac='187ed532b2dc' and LineAddress='4';
  1049. update KaiGuan Set Name='', Code='5' where Mac='187ed532b2dc' and LineAddress='5';
  1050. update KaiGuan Set Name='东中庭东走廊反光', Code='6' where Mac='187ed532b2dc' and LineAddress='6';
  1051. update KaiGuan Set Name='西连廊反光灯', Code='7' where Mac='187ed532b2dc' and LineAddress='7';
  1052. update KaiGuan Set Name='扶梯西边灯', Code='8' where Mac='187ed532b2dc' and LineAddress='8';
  1053. update KaiGuan Set Name='西扶梯东边灯', Code='9' where Mac='187ed532b2dc' and LineAddress='9';
  1054. update KaiGuan Set Name='天井西走廊反光', Code='10' where Mac='187ed532b2dc' and LineAddress='10';
  1055. update KaiGuan Set Name='西天井北走廊反光', Code='11' where Mac='187ed532b2dc' and LineAddress='11';
  1056. update KaiGuan Set Name='西扶梯北筒灯', Code='12' where Mac='187ed532b2dc' and LineAddress='12';
  1057. update KaiGuan Set Name='西连廊筒灯', Code='13' where Mac='187ed532b2dc' and LineAddress='13';
  1058. update KaiGuan Set Name='西扶梯西24伏', Code='14' where Mac='187ed532b2dc' and LineAddress='14';
  1059. update KaiGuan Set Name='西连廊西D3灯', Code='15' where Mac='187ed532b2dc' and LineAddress='15';
  1060. update KaiGuan Set Name='', Code='16' where Mac='187ed532b2dc' and LineAddress='16';
  1061. update KaiGuan Set Name='西连廊筒灯', Code='17' where Mac='187ed532b2dc' and LineAddress='17';
  1062. update KaiGuan Set Name='西连廊门口灯', Code='18' where Mac='187ed532b2dc' and LineAddress='18';
  1063. 第 2 排 (mac: 187ed53273b8)
  1064. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed53273b8'
  1065. 18
  1066. update KaiGuan Set Name='卫生间插座', Code='1' where Mac='187ed53273b8' and LineAddress='1';
  1067. update KaiGuan Set Name='', Code='2' where Mac='187ed53273b8' and LineAddress='2';
  1068. update KaiGuan Set Name='西中庭北走廊筒灯', Code='3' where Mac='187ed53273b8' and LineAddress='3';
  1069. update KaiGuan Set Name='西连廊门口筒灯', Code='4' where Mac='187ed53273b8' and LineAddress='4';
  1070. update KaiGuan Set Name='西连廊反光灯', Code='5' where Mac='187ed53273b8' and LineAddress='5';
  1071. update KaiGuan Set Name='西天井南走廊反光灯', Code='6' where Mac='187ed53273b8' and LineAddress='6';
  1072. update KaiGuan Set Name='西北走廊反光灯', Code='7' where Mac='187ed53273b8' and LineAddress='7';
  1073. update KaiGuan Set Name='西走廊反光', Code='8' where Mac='187ed53273b8' and LineAddress='8';
  1074. update KaiGuan Set Name='东中庭东筒灯', Code='9' where Mac='187ed53273b8' and LineAddress='9';
  1075. update KaiGuan Set Name='', Code='10' where Mac='187ed53273b8' and LineAddress='10';
  1076. update KaiGuan Set Name='卫生间前走廊筒灯', Code='11' where Mac='187ed53273b8' and LineAddress='11';
  1077. update KaiGuan Set Name='东庭南走廊反光灯', Code='12' where Mac='187ed53273b8' and LineAddress='12';
  1078. update KaiGuan Set Name='东扶梯西边灯', Code='13' where Mac='187ed53273b8' and LineAddress='13';
  1079. update KaiGuan Set Name='东扶梯东边灯', Code='14' where Mac='187ed53273b8' and LineAddress='14';
  1080. update KaiGuan Set Name='', Code='15' where Mac='187ed53273b8' and LineAddress='15';
  1081. update KaiGuan Set Name='', Code='16' where Mac='187ed53273b8' and LineAddress='16';
  1082. update KaiGuan Set Name='东扶梯西24伏灯', Code='17' where Mac='187ed53273b8' and LineAddress='17';
  1083. update KaiGuan Set Name='卫生间走廊反光灯', Code='18' where Mac='187ed53273b8' and LineAddress='18';
  1084. 第 3 排 (mac: 187ed5329f18)
  1085. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5329f18'
  1086. 18
  1087. update KaiGuan Set Name='卫生间插座', Code='1' where Mac='187ed5329f18' and LineAddress='1';
  1088. update KaiGuan Set Name='天井西南上反光灯', Code='2' where Mac='187ed5329f18' and LineAddress='2';
  1089. update KaiGuan Set Name='东天井东上反光灯', Code='3' where Mac='187ed5329f18' and LineAddress='3';
  1090. update KaiGuan Set Name='东天井东上反光灯', Code='4' where Mac='187ed5329f18' and LineAddress='4';
  1091. update KaiGuan Set Name='东天井东下反光灯', Code='5' where Mac='187ed5329f18' and LineAddress='5';
  1092. update KaiGuan Set Name='东天井西南下反光灯', Code='6' where Mac='187ed5329f18' and LineAddress='6';
  1093. update KaiGuan Set Name='东天井西北下反光灯', Code='7' where Mac='187ed5329f18' and LineAddress='7';
  1094. update KaiGuan Set Name='', Code='8' where Mac='187ed5329f18' and LineAddress='8';
  1095. update KaiGuan Set Name='东天井西走廊反光灯', Code='9' where Mac='187ed5329f18' and LineAddress='9';
  1096. update KaiGuan Set Name='西天井东走廊反光灯', Code='10' where Mac='187ed5329f18' and LineAddress='10';
  1097. update KaiGuan Set Name='', Code='11' where Mac='187ed5329f18' and LineAddress='11';
  1098. update KaiGuan Set Name='西天井东走廊反光灯', Code='12' where Mac='187ed5329f18' and LineAddress='12';
  1099. update KaiGuan Set Name='西中庭东走廊筒灯', Code='13' where Mac='187ed5329f18' and LineAddress='13';
  1100. update KaiGuan Set Name='西扶梯东24伏灯', Code='14' where Mac='187ed5329f18' and LineAddress='14';
  1101. update KaiGuan Set Name='东扶梯东24伏灯', Code='15' where Mac='187ed5329f18' and LineAddress='15';
  1102. update KaiGuan Set Name='', Code='16' where Mac='187ed5329f18' and LineAddress='16';
  1103. update KaiGuan Set Name='东扶梯西24伏灯', Code='17' where Mac='187ed5329f18' and LineAddress='17';
  1104. update KaiGuan Set Name='东中庭东走廊反光', Code='18' where Mac='187ed5329f18' and LineAddress='18';
  1105. 第 4 排 (mac: 187ed532a818)
  1106. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532a818'
  1107. 17
  1108. update KaiGuan Set Name='卫生间插座', Code='1' where Mac='187ed532a818' and LineAddress='1';
  1109. update KaiGuan Set Name='东天井东走廊反光灯', Code='2' where Mac='187ed532a818' and LineAddress='2';
  1110. update KaiGuan Set Name='客梯前筒灯', Code='3' where Mac='187ed532a818' and LineAddress='3';
  1111. update KaiGuan Set Name='东天井西走廊反光灯', Code='4' where Mac='187ed532a818' and LineAddress='4';
  1112. update KaiGuan Set Name='东天井东走廊反光灯', Code='5' where Mac='187ed532a818' and LineAddress='5';
  1113. update KaiGuan Set Name='东天井东走廊反光灯', Code='6' where Mac='187ed532a818' and LineAddress='6';
  1114. update KaiGuan Set Name='东天井东走廊反光灯', Code='7' where Mac='187ed532a818' and LineAddress='7';
  1115. update KaiGuan Set Name='夜间照明灯', Code='8' where Mac='187ed532a818' and LineAddress='8';
  1116. update KaiGuan Set Name='东天井东东走廊反光灯', Code='9' where Mac='187ed532a818' and LineAddress='9';
  1117. update KaiGuan Set Name='西天井东下反光灯', Code='10' where Mac='187ed532a818' and LineAddress='10';
  1118. update KaiGuan Set Name='西天井西北下反光灯', Code='11' where Mac='187ed532a818' and LineAddress='11';
  1119. update KaiGuan Set Name='西天井西南下反光灯', Code='12' where Mac='187ed532a818' and LineAddress='12';
  1120. update KaiGuan Set Name='西天井东上反光灯', Code='13' where Mac='187ed532a818' and LineAddress='13';
  1121. update KaiGuan Set Name='西天井西南上反光灯', Code='14' where Mac='187ed532a818' and LineAddress='14';
  1122. update KaiGuan Set Name='西天井西北上反光灯', Code='15' where Mac='187ed532a818' and LineAddress='15';
  1123. update KaiGuan Set Name='西走廊反光灯', Code='16' where Mac='187ed532a818' and LineAddress='16';
  1124. update KaiGuan Set Name='西扶梯前南筒灯', Code='17' where Mac='187ed532a818' and LineAddress='17';
  1125. 第 5 排 (mac: 187ed532a628)
  1126. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532a628'
  1127. 18
  1128. update KaiGuan Set Name='东扶梯北筒灯', Code='1' where Mac='187ed532a628' and LineAddress='1';
  1129. update KaiGuan Set Name='东连廊反光灯', Code='2' where Mac='187ed532a628' and LineAddress='2';
  1130. update KaiGuan Set Name='东连廊D3灯', Code='3' where Mac='187ed532a628' and LineAddress='3';
  1131. update KaiGuan Set Name='东连廊门口筒灯', Code='4' where Mac='187ed532a628' and LineAddress='4';
  1132. update KaiGuan Set Name='东连廊反光灯', Code='5' where Mac='187ed532a628' and LineAddress='5';
  1133. update KaiGuan Set Name='东中庭北走廊筒灯', Code='6' where Mac='187ed532a628' and LineAddress='6';
  1134. update KaiGuan Set Name='东连廊南反光灯', Code='7' where Mac='187ed532a628' and LineAddress='7';
  1135. update KaiGuan Set Name='东中庭北走廊筒灯', Code='8' where Mac='187ed532a628' and LineAddress='8';
  1136. update KaiGuan Set Name='东连廊西D3灯', Code='9' where Mac='187ed532a628' and LineAddress='9';
  1137. update KaiGuan Set Name='西天井西走廊反光灯', Code='10' where Mac='187ed532a628' and LineAddress='10';
  1138. update KaiGuan Set Name='西天井西走廊反光灯', Code='11' where Mac='187ed532a628' and LineAddress='11';
  1139. update KaiGuan Set Name='卫生间女u5', Code='12' where Mac='187ed532a628' and LineAddress='12';
  1140. update KaiGuan Set Name='卫生间反光灯', Code='13' where Mac='187ed532a628' and LineAddress='13';
  1141. update KaiGuan Set Name='卫生间南卫感应', Code='14' where Mac='187ed532a628' and LineAddress='14';
  1142. update KaiGuan Set Name='', Code='15' where Mac='187ed532a628' and LineAddress='15';
  1143. update KaiGuan Set Name='卫生间前走廊灯', Code='16' where Mac='187ed532a628' and LineAddress='16';
  1144. update KaiGuan Set Name='卫生间女卫感应', Code='17' where Mac='187ed532a628' and LineAddress='17';
  1145. update KaiGuan Set Name='东天井扶梯上筒灯', Code='18' where Mac='187ed532a628' and LineAddress='18';
  1146. 第 6 排 (mac: 187ed532bd34)
  1147. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532bd34'
  1148. 17
  1149. update KaiGuan Set Name='东连廊门口灯', Code='1' where Mac='187ed532bd34' and LineAddress='1';
  1150. update KaiGuan Set Name='东连廊东D3灯', Code='2' where Mac='187ed532bd34' and LineAddress='2';
  1151. update KaiGuan Set Name='东中庭西走廊反光灯', Code='3' where Mac='187ed532bd34' and LineAddress='3';
  1152. update KaiGuan Set Name='', Code='4' where Mac='187ed532bd34' and LineAddress='4';
  1153. update KaiGuan Set Name='东连廊反光灯', Code='5' where Mac='187ed532bd34' and LineAddress='5';
  1154. update KaiGuan Set Name='东连廊筒灯', Code='6' where Mac='187ed532bd34' and LineAddress='6';
  1155. update KaiGuan Set Name='东连廊筒灯', Code='7' where Mac='187ed532bd34' and LineAddress='7';
  1156. update KaiGuan Set Name='东连廊西D3灯', Code='8' where Mac='187ed532bd34' and LineAddress='8';
  1157. update KaiGuan Set Name='东中庭西走廊筒灯', Code='9' where Mac='187ed532bd34' and LineAddress='9';
  1158. update KaiGuan Set Name='客梯灯箱', Code='10' where Mac='187ed532bd34' and LineAddress='10';
  1159. update KaiGuan Set Name='东中庭西反光灯', Code='11' where Mac='187ed532bd34' and LineAddress='11';
  1160. update KaiGuan Set Name='东中庭西走廊反光灯', Code='12' where Mac='187ed532bd34' and LineAddress='12';
  1161. update KaiGuan Set Name='客梯灯箱', Code='13' where Mac='187ed532bd34' and LineAddress='13';
  1162. update KaiGuan Set Name='东中庭西走廊反光灯', Code='14' where Mac='187ed532bd34' and LineAddress='14';
  1163. update KaiGuan Set Name='', Code='15' where Mac='187ed532bd34' and LineAddress='15';
  1164. update KaiGuan Set Name='西天井南走廊反光', Code='16' where Mac='187ed532bd34' and LineAddress='16';
  1165. update KaiGuan Set Name='西中庭南筒灯', Code='17' where Mac='187ed532bd34' and LineAddress='17';
  1166. --4层A区
  1167. 第 1 排 (mac: 187ed5329634)
  1168. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5329634'
  1169. 18
  1170. update KaiGuan Set Name='', Code='1' where Mac='187ed5329634' and LineAddress='1';
  1171. update KaiGuan Set Name='', Code='2' where Mac='187ed5329634' and LineAddress='2';
  1172. update KaiGuan Set Name='', Code='3' where Mac='187ed5329634' and LineAddress='3';
  1173. update KaiGuan Set Name='', Code='4' where Mac='187ed5329634' and LineAddress='4';
  1174. update KaiGuan Set Name='', Code='5' where Mac='187ed5329634' and LineAddress='5';
  1175. update KaiGuan Set Name='', Code='6' where Mac='187ed5329634' and LineAddress='6';
  1176. update KaiGuan Set Name='', Code='7' where Mac='187ed5329634' and LineAddress='7';
  1177. update KaiGuan Set Name='', Code='8' where Mac='187ed5329634' and LineAddress='8';
  1178. update KaiGuan Set Name='', Code='9' where Mac='187ed5329634' and LineAddress='9';
  1179. update KaiGuan Set Name='', Code='10' where Mac='187ed5329634' and LineAddress='10';
  1180. update KaiGuan Set Name='', Code='11' where Mac='187ed5329634' and LineAddress='11';
  1181. update KaiGuan Set Name='', Code='12' where Mac='187ed5329634' and LineAddress='12';
  1182. update KaiGuan Set Name='', Code='13' where Mac='187ed5329634' and LineAddress='13';
  1183. update KaiGuan Set Name='', Code='14' where Mac='187ed5329634' and LineAddress='14';
  1184. update KaiGuan Set Name='', Code='15' where Mac='187ed5329634' and LineAddress='15';
  1185. update KaiGuan Set Name='', Code='16' where Mac='187ed5329634' and LineAddress='16';
  1186. update KaiGuan Set Name='', Code='17' where Mac='187ed5329634' and LineAddress='17';
  1187. update KaiGuan Set Name='', Code='18' where Mac='187ed5329634' and LineAddress='18';
  1188. 第2 排 (mac: 187ed5329fa8)
  1189. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5329fa8'
  1190. 18
  1191. update KaiGuan Set Name='', Code='1' where Mac='187ed5329fa8' and LineAddress='1';
  1192. update KaiGuan Set Name='', Code='2' where Mac='187ed5329fa8' and LineAddress='2';
  1193. update KaiGuan Set Name='', Code='3' where Mac='187ed5329fa8' and LineAddress='3';
  1194. update KaiGuan Set Name='', Code='4' where Mac='187ed5329fa8' and LineAddress='4';
  1195. update KaiGuan Set Name='', Code='5' where Mac='187ed5329fa8' and LineAddress='5';
  1196. update KaiGuan Set Name='', Code='6' where Mac='187ed5329fa8' and LineAddress='6';
  1197. update KaiGuan Set Name='', Code='7' where Mac='187ed5329fa8' and LineAddress='7';
  1198. update KaiGuan Set Name='', Code='8' where Mac='187ed5329fa8' and LineAddress='8';
  1199. update KaiGuan Set Name='', Code='9' where Mac='187ed5329fa8' and LineAddress='9';
  1200. update KaiGuan Set Name='', Code='10' where Mac='187ed5329fa8' and LineAddress='10';
  1201. update KaiGuan Set Name='', Code='11' where Mac='187ed5329fa8' and LineAddress='11';
  1202. update KaiGuan Set Name='', Code='12' where Mac='187ed5329fa8' and LineAddress='12';
  1203. update KaiGuan Set Name='', Code='13' where Mac='187ed5329fa8' and LineAddress='13';
  1204. update KaiGuan Set Name='', Code='14' where Mac='187ed5329fa8' and LineAddress='14';
  1205. update KaiGuan Set Name='', Code='15' where Mac='187ed5329fa8' and LineAddress='15';
  1206. update KaiGuan Set Name='', Code='16' where Mac='187ed5329fa8' and LineAddress='16';
  1207. update KaiGuan Set Name='', Code='17' where Mac='187ed5329fa8' and LineAddress='17';
  1208. update KaiGuan Set Name='', Code='18' where Mac='187ed5329fa8' and LineAddress='18';
  1209. 第 3 排 (mac: 187ed532c19c)
  1210. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532c19c'
  1211. 18
  1212. update KaiGuan Set Name='', Code='1' where Mac='187ed532c19c' and LineAddress='1';
  1213. update KaiGuan Set Name='', Code='2' where Mac='187ed532c19c' and LineAddress='2';
  1214. update KaiGuan Set Name='', Code='3' where Mac='187ed532c19c' and LineAddress='3';
  1215. update KaiGuan Set Name='', Code='4' where Mac='187ed532c19c' and LineAddress='4';
  1216. update KaiGuan Set Name='', Code='5' where Mac='187ed532c19c' and LineAddress='5';
  1217. update KaiGuan Set Name='', Code='6' where Mac='187ed532c19c' and LineAddress='6';
  1218. update KaiGuan Set Name='', Code='7' where Mac='187ed532c19c' and LineAddress='7';
  1219. update KaiGuan Set Name='', Code='8' where Mac='187ed532c19c' and LineAddress='8';
  1220. update KaiGuan Set Name='', Code='9' where Mac='187ed532c19c' and LineAddress='9';
  1221. update KaiGuan Set Name='', Code='10' where Mac='187ed532c19c' and LineAddress='10';
  1222. update KaiGuan Set Name='', Code='11' where Mac='187ed532c19c' and LineAddress='11';
  1223. update KaiGuan Set Name='', Code='12' where Mac='187ed532c19c' and LineAddress='12';
  1224. update KaiGuan Set Name='', Code='13' where Mac='187ed532c19c' and LineAddress='13';
  1225. update KaiGuan Set Name='', Code='14' where Mac='187ed532c19c' and LineAddress='14';
  1226. update KaiGuan Set Name='', Code='15' where Mac='187ed532c19c' and LineAddress='15';
  1227. update KaiGuan Set Name='', Code='16' where Mac='187ed532c19c' and LineAddress='16';
  1228. update KaiGuan Set Name='', Code='17' where Mac='187ed532c19c' and LineAddress='17';
  1229. update KaiGuan Set Name='', Code='18' where Mac='187ed532c19c' and LineAddress='18';
  1230. 第 4 排 (mac: 187ed5329be4)
  1231. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5329be4'
  1232. 17
  1233. update KaiGuan Set Name='', Code='1' where Mac='187ed5329be4' and LineAddress='1';
  1234. update KaiGuan Set Name='', Code='2' where Mac='187ed5329be4' and LineAddress='2';
  1235. update KaiGuan Set Name='', Code='3' where Mac='187ed5329be4' and LineAddress='3';
  1236. update KaiGuan Set Name='', Code='4' where Mac='187ed5329be4' and LineAddress='4';
  1237. update KaiGuan Set Name='', Code='5' where Mac='187ed5329be4' and LineAddress='5';
  1238. update KaiGuan Set Name='', Code='6' where Mac='187ed5329be4' and LineAddress='6';
  1239. update KaiGuan Set Name='', Code='7' where Mac='187ed5329be4' and LineAddress='7';
  1240. update KaiGuan Set Name='', Code='8' where Mac='187ed5329be4' and LineAddress='8';
  1241. update KaiGuan Set Name='', Code='9' where Mac='187ed5329be4' and LineAddress='9';
  1242. update KaiGuan Set Name='', Code='10' where Mac='187ed5329be4' and LineAddress='10';
  1243. update KaiGuan Set Name='', Code='11' where Mac='187ed5329be4' and LineAddress='11';
  1244. update KaiGuan Set Name='', Code='12' where Mac='187ed5329be4' and LineAddress='12';
  1245. update KaiGuan Set Name='', Code='13' where Mac='187ed5329be4' and LineAddress='13';
  1246. update KaiGuan Set Name='', Code='14' where Mac='187ed5329be4' and LineAddress='14';
  1247. update KaiGuan Set Name='', Code='15' where Mac='187ed5329be4' and LineAddress='15';
  1248. update KaiGuan Set Name='', Code='16' where Mac='187ed5329be4' and LineAddress='16';
  1249. update KaiGuan Set Name='', Code='17' where Mac='187ed5329be4' and LineAddress='17';
  1250. 第 5 排 (mac: 187ed5328b04)
  1251. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5328b04'
  1252. 18
  1253. update KaiGuan Set Name='', Code='1' where Mac='187ed5328b04' and LineAddress='1';
  1254. update KaiGuan Set Name='', Code='2' where Mac='187ed5328b04' and LineAddress='2';
  1255. update KaiGuan Set Name='', Code='3' where Mac='187ed5328b04' and LineAddress='3';
  1256. update KaiGuan Set Name='', Code='4' where Mac='187ed5328b04' and LineAddress='4';
  1257. update KaiGuan Set Name='', Code='5' where Mac='187ed5328b04' and LineAddress='5';
  1258. update KaiGuan Set Name='', Code='6' where Mac='187ed5328b04' and LineAddress='6';
  1259. update KaiGuan Set Name='', Code='7' where Mac='187ed5328b04' and LineAddress='7';
  1260. update KaiGuan Set Name='', Code='8' where Mac='187ed5328b04' and LineAddress='8';
  1261. update KaiGuan Set Name='', Code='9' where Mac='187ed5328b04' and LineAddress='9';
  1262. update KaiGuan Set Name='', Code='10' where Mac='187ed5328b04' and LineAddress='10';
  1263. update KaiGuan Set Name='', Code='11' where Mac='187ed5328b04' and LineAddress='11';
  1264. update KaiGuan Set Name='', Code='12' where Mac='187ed5328b04' and LineAddress='12';
  1265. update KaiGuan Set Name='', Code='13' where Mac='187ed5328b04' and LineAddress='13';
  1266. update KaiGuan Set Name='', Code='14' where Mac='187ed5328b04' and LineAddress='14';
  1267. update KaiGuan Set Name='', Code='15' where Mac='187ed5328b04' and LineAddress='15';
  1268. update KaiGuan Set Name='', Code='16' where Mac='187ed5328b04' and LineAddress='16';
  1269. update KaiGuan Set Name='', Code='17' where Mac='187ed5328b04' and LineAddress='17';
  1270. update KaiGuan Set Name='', Code='18' where Mac='187ed5328b04' and LineAddress='18';
  1271. 第 6 排 (mac: 187ed532c2cc)
  1272. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532c2cc'
  1273. 17
  1274. update KaiGuan Set Name='', Code='1' where Mac='187ed532c2cc' and LineAddress='1';
  1275. update KaiGuan Set Name='', Code='2' where Mac='187ed532c2cc' and LineAddress='2';
  1276. update KaiGuan Set Name='', Code='3' where Mac='187ed532c2cc' and LineAddress='3';
  1277. update KaiGuan Set Name='', Code='4' where Mac='187ed532c2cc' and LineAddress='4';
  1278. update KaiGuan Set Name='', Code='5' where Mac='187ed532c2cc' and LineAddress='5';
  1279. update KaiGuan Set Name='', Code='6' where Mac='187ed532c2cc' and LineAddress='6';
  1280. update KaiGuan Set Name='', Code='7' where Mac='187ed532c2cc' and LineAddress='7';
  1281. update KaiGuan Set Name='', Code='8' where Mac='187ed532c2cc' and LineAddress='8';
  1282. update KaiGuan Set Name='', Code='9' where Mac='187ed532c2cc' and LineAddress='9';
  1283. update KaiGuan Set Name='', Code='10' where Mac='187ed532c2cc' and LineAddress='10';
  1284. update KaiGuan Set Name='', Code='11' where Mac='187ed532c2cc' and LineAddress='11';
  1285. update KaiGuan Set Name='', Code='12' where Mac='187ed532c2cc' and LineAddress='12';
  1286. update KaiGuan Set Name='', Code='13' where Mac='187ed532c2cc' and LineAddress='13';
  1287. update KaiGuan Set Name='', Code='14' where Mac='187ed532c2cc' and LineAddress='14';
  1288. update KaiGuan Set Name='', Code='15' where Mac='187ed532c2cc' and LineAddress='15';
  1289. update KaiGuan Set Name='', Code='16' where Mac='187ed532c2cc' and LineAddress='16';
  1290. update KaiGuan Set Name='', Code='17' where Mac='187ed532c2cc' and LineAddress='17';
  1291. --4层B区
  1292. 第 1 排 (mac: 187ed532b414)
  1293. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b414'
  1294. 19
  1295. update KaiGuan Set Name='夜间灯', Code='1' where Mac='187ed532b414' and LineAddress='1';
  1296. update KaiGuan Set Name='走廊灯', Code='2' where Mac='187ed532b414' and LineAddress='2';
  1297. update KaiGuan Set Name='走廊造型反光', Code='3' where Mac='187ed532b414' and LineAddress='3';
  1298. update KaiGuan Set Name='走廊造型', Code='4' where Mac='187ed532b414' and LineAddress='4';
  1299. update KaiGuan Set Name='走廊造型灯', Code='5' where Mac='187ed532b414' and LineAddress='5';
  1300. update KaiGuan Set Name='走廊造型反光', Code='6' where Mac='187ed532b414' and LineAddress='6';
  1301. update KaiGuan Set Name='小圆反光下', Code='7' where Mac='187ed532b414' and LineAddress='7';
  1302. update KaiGuan Set Name='小圆反光下', Code='8' where Mac='187ed532b414' and LineAddress='8';
  1303. update KaiGuan Set Name='小圆反光下', Code='9' where Mac='187ed532b414' and LineAddress='9';
  1304. update KaiGuan Set Name='小圆反光下', Code='10' where Mac='187ed532b414' and LineAddress='10';
  1305. update KaiGuan Set Name='走廊反光', Code='11' where Mac='187ed532b414' and LineAddress='11';
  1306. update KaiGuan Set Name='吊楣反光', Code='12' where Mac='187ed532b414' and LineAddress='12';
  1307. update KaiGuan Set Name='小圆上反光', Code='13' where Mac='187ed532b414' and LineAddress='13';
  1308. update KaiGuan Set Name='小圆下反光', Code='14' where Mac='187ed532b414' and LineAddress='14';
  1309. update KaiGuan Set Name='小圆上反光', Code='15' where Mac='187ed532b414' and LineAddress='15';
  1310. update KaiGuan Set Name='小圆下反光', Code='16' where Mac='187ed532b414' and LineAddress='16';
  1311. update KaiGuan Set Name='走廊反光', Code='17' where Mac='187ed532b414' and LineAddress='17';
  1312. update KaiGuan Set Name='小圆灯', Code='18' where Mac='187ed532b414' and LineAddress='18';
  1313. update KaiGuan Set Name='', Code='19' where Mac='187ed532b414' and LineAddress='19';
  1314. 第 2 排 (mac: 187ed532b274)
  1315. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b274'
  1316. 19
  1317. update KaiGuan Set Name='', Code='1' where Mac='187ed532b274' and LineAddress='1';
  1318. update KaiGuan Set Name='小圆灯', Code='2' where Mac='187ed532b274' and LineAddress='2';
  1319. update KaiGuan Set Name='小圆上反光', Code='3' where Mac='187ed532b274' and LineAddress='3';
  1320. update KaiGuan Set Name='小圆下反光', Code='4' where Mac='187ed532b274' and LineAddress='4';
  1321. update KaiGuan Set Name='小圆下反光', Code='5' where Mac='187ed532b274' and LineAddress='5';
  1322. update KaiGuan Set Name='小圆下反光', Code='6' where Mac='187ed532b274' and LineAddress='6';
  1323. update KaiGuan Set Name='小圆下反光', Code='7' where Mac='187ed532b274' and LineAddress='7';
  1324. update KaiGuan Set Name='走廊反光', Code='8' where Mac='187ed532b274' and LineAddress='8';
  1325. update KaiGuan Set Name='备用', Code='9' where Mac='187ed532b274' and LineAddress='9';
  1326. update KaiGuan Set Name='吊楣反光', Code='10' where Mac='187ed532b274' and LineAddress='10';
  1327. update KaiGuan Set Name='走廊反光', Code='11' where Mac='187ed532b274' and LineAddress='11';
  1328. update KaiGuan Set Name='小圆反光', Code='12' where Mac='187ed532b274' and LineAddress='12';
  1329. update KaiGuan Set Name='小圆灯箱', Code='13' where Mac='187ed532b274' and LineAddress='13';
  1330. update KaiGuan Set Name='小圆灯', Code='14' where Mac='187ed532b274' and LineAddress='14';
  1331. update KaiGuan Set Name='小圆反光下', Code='15' where Mac='187ed532b274' and LineAddress='15';
  1332. update KaiGuan Set Name='小圆反光上', Code='16' where Mac='187ed532b274' and LineAddress='16';
  1333. update KaiGuan Set Name='小圆反光上', Code='17' where Mac='187ed532b274' and LineAddress='17';
  1334. update KaiGuan Set Name='小圆反光上', Code='18' where Mac='187ed532b274' and LineAddress='18';
  1335. update KaiGuan Set Name='', Code='19' where Mac='187ed532b274' and LineAddress='19';
  1336. 第 3 排 (mac: 187ed532b878)
  1337. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b878'
  1338. 18
  1339. update KaiGuan Set Name='', Code='1' where Mac='187ed532b878' and LineAddress='1';
  1340. update KaiGuan Set Name='走廊造型灯', Code='2' where Mac='187ed532b878' and LineAddress='2';
  1341. update KaiGuan Set Name='走廊造型反光', Code='3' where Mac='187ed532b878' and LineAddress='3';
  1342. update KaiGuan Set Name='走廊造型反光', Code='4' where Mac='187ed532b878' and LineAddress='4';
  1343. update KaiGuan Set Name='', Code='5' where Mac='187ed532b878' and LineAddress='5';
  1344. update KaiGuan Set Name='吊楣反光', Code='6' where Mac='187ed532b878' and LineAddress='6';
  1345. update KaiGuan Set Name='吊楣反光', Code='7' where Mac='187ed532b878' and LineAddress='7';
  1346. update KaiGuan Set Name='东走廊灯', Code='8' where Mac='187ed532b878' and LineAddress='8';
  1347. update KaiGuan Set Name='小圆下反光', Code='9' where Mac='187ed532b878' and LineAddress='9';
  1348. update KaiGuan Set Name='小圆下反光', Code='10' where Mac='187ed532b878' and LineAddress='10';
  1349. update KaiGuan Set Name='小圆下反光', Code='11' where Mac='187ed532b878' and LineAddress='11';
  1350. update KaiGuan Set Name='小圆下反光', Code='12' where Mac='187ed532b878' and LineAddress='12';
  1351. update KaiGuan Set Name='吊楣反光', Code='13' where Mac='187ed532b878' and LineAddress='13';
  1352. update KaiGuan Set Name='走廊反光', Code='14' where Mac='187ed532b878' and LineAddress='14';
  1353. update KaiGuan Set Name='走廊反光', Code='15' where Mac='187ed532b878' and LineAddress='15';
  1354. update KaiGuan Set Name='走廊反光', Code='16' where Mac='187ed532b878' and LineAddress='16';
  1355. update KaiGuan Set Name='', Code='17' where Mac='187ed532b878' and LineAddress='17';
  1356. update KaiGuan Set Name='', Code='18' where Mac='187ed532b878' and LineAddress='18';
  1357. --4层C区
  1358. 第1排 187ed532bd7c
  1359. update KaiGuan Set Name='男卫烘手器', Code='1' where Mac='187ed532bd7c' and LineAddress='1';
  1360. update KaiGuan Set Name='夜间照明', Code='2' where Mac='187ed532bd7c' and LineAddress='2';
  1361. update KaiGuan Set Name='走廊灯', Code='3' where Mac='187ed532bd7c' and LineAddress='3';
  1362. update KaiGuan Set Name='走廊反光', Code='4' where Mac='187ed532bd7c' and LineAddress='4';
  1363. update KaiGuan Set Name='吊楣反光', Code='5' where Mac='187ed532bd7c' and LineAddress='5';
  1364. update KaiGuan Set Name='走廊反光', Code='6' where Mac='187ed532bd7c' and LineAddress='6';
  1365. update KaiGuan Set Name='走廊反光', Code='7' where Mac='187ed532bd7c' and LineAddress='7';
  1366. update KaiGuan Set Name='小圆上反光', Code='8' where Mac='187ed532bd7c' and LineAddress='8';
  1367. update KaiGuan Set Name='小圆上反光', Code='9' where Mac='187ed532bd7c' and LineAddress='9';
  1368. update KaiGuan Set Name='小圆灯', Code='10' where Mac='187ed532bd7c' and LineAddress='10';
  1369. update KaiGuan Set Name='小圆灯', Code='11' where Mac='187ed532bd7c' and LineAddress='11';
  1370. update KaiGuan Set Name='小圆上反光', Code='12' where Mac='187ed532bd7c' and LineAddress='12';
  1371. update KaiGuan Set Name='小圆上反光', Code='13' where Mac='187ed532bd7c' and LineAddress='13';
  1372. update KaiGuan Set Name='前室灯', Code='14' where Mac='187ed532bd7c' and LineAddress='14';
  1373. update KaiGuan Set Name='小圆下反光', Code='15' where Mac='187ed532bd7c' and LineAddress='15';
  1374. update KaiGuan Set Name='小圆下反光', Code='16' where Mac='187ed532bd7c' and LineAddress='16';
  1375. update KaiGuan Set Name='货梯灯', Code='17' where Mac='187ed532bd7c' and LineAddress='17';
  1376. update KaiGuan Set Name='小圆下反光', Code='18' where Mac='187ed532bd7c' and LineAddress='18';
  1377. 第2排 187ed532bfc4
  1378. update KaiGuan Set Name='女卫烘手器', Code='1' where Mac='187ed532bfc4' and LineAddress='1';
  1379. update KaiGuan Set Name='小圆下反光', Code='2' where Mac='187ed532bfc4' and LineAddress='2';
  1380. update KaiGuan Set Name='走廊灯', Code='3' where Mac='187ed532bfc4' and LineAddress='3';
  1381. update KaiGuan Set Name='小圆灯', Code='4' where Mac='187ed532bfc4' and LineAddress='4';
  1382. update KaiGuan Set Name='小圆上反光', Code='5' where Mac='187ed532bfc4' and LineAddress='5';
  1383. update KaiGuan Set Name='小圆上反光', Code='6' where Mac='187ed532bfc4' and LineAddress='6';
  1384. update KaiGuan Set Name='小圆灯箱', Code='7' where Mac='187ed532bfc4' and LineAddress='7';
  1385. update KaiGuan Set Name='小圆上反光', Code='8' where Mac='187ed532bfc4' and LineAddress='8';
  1386. update KaiGuan Set Name='走廊造型反光', Code='9' where Mac='187ed532bfc4' and LineAddress='9';
  1387. update KaiGuan Set Name='走廊造型灯', Code='10' where Mac='187ed532bfc4' and LineAddress='10';
  1388. update KaiGuan Set Name='走廊造型反光', Code='11' where Mac='187ed532bfc4' and LineAddress='11';
  1389. update KaiGuan Set Name='走廊反光', Code='12' where Mac='187ed532bfc4' and LineAddress='12';
  1390. update KaiGuan Set Name='走廊反光', Code='13' where Mac='187ed532bfc4' and LineAddress='13';
  1391. update KaiGuan Set Name='走廊造型灯', Code='14' where Mac='187ed532bfc4' and LineAddress='14';
  1392. update KaiGuan Set Name='走廊造型反光', Code='15' where Mac='187ed532bfc4' and LineAddress='15';
  1393. update KaiGuan Set Name='走廊造型反光', Code='16' where Mac='187ed532bfc4' and LineAddress='16';
  1394. update KaiGuan Set Name='走廊灯', Code='17' where Mac='187ed532bfc4' and LineAddress='17';
  1395. update KaiGuan Set Name='走廊灯', Code='18' where Mac='187ed532bfc4' and LineAddress='18';
  1396. update KaiGuan Set Name='女卫暖手宝', Code='19' where Mac='187ed532bfc4' and LineAddress='19';
  1397. 第3排 187ed532adec
  1398. update KaiGuan Set Name='男卫暖手宝', Code='1' where Mac='187ed532adec' and LineAddress='1';
  1399. update KaiGuan Set Name='西吊楣反光', Code='2' where Mac='187ed532adec' and LineAddress='2';
  1400. update KaiGuan Set Name='西吊楣反光', Code='3' where Mac='187ed532adec' and LineAddress='3';
  1401. update KaiGuan Set Name='走廊反光', Code='4' where Mac='187ed532adec' and LineAddress='4';
  1402. update KaiGuan Set Name='小圆下反光', Code='5' where Mac='187ed532adec' and LineAddress='5';
  1403. update KaiGuan Set Name='小圆下反光', Code='6' where Mac='187ed532adec' and LineAddress='6';
  1404. update KaiGuan Set Name='小圆下反光', Code='7' where Mac='187ed532adec' and LineAddress='7';
  1405. update KaiGuan Set Name='小圆下反光', Code='8' where Mac='187ed532adec' and LineAddress='8';
  1406. update KaiGuan Set Name='小圆下反光', Code='9' where Mac='187ed532adec' and LineAddress='9';
  1407. update KaiGuan Set Name='小圆下反光', Code='10' where Mac='187ed532adec' and LineAddress='10';
  1408. update KaiGuan Set Name='小圆下反光', Code='11' where Mac='187ed532adec' and LineAddress='11';
  1409. update KaiGuan Set Name='小圆下反光', Code='12' where Mac='187ed532adec' and LineAddress='12';
  1410. update KaiGuan Set Name='走廊反光', Code='13' where Mac='187ed532adec' and LineAddress='13';
  1411. update KaiGuan Set Name='走廊反光', Code='14' where Mac='187ed532adec' and LineAddress='14';
  1412. update KaiGuan Set Name='吊楣反光', Code='15' where Mac='187ed532adec' and LineAddress='15';
  1413. update KaiGuan Set Name='走廊反光', Code='16' where Mac='187ed532adec' and LineAddress='16';
  1414. update KaiGuan Set Name='', Code='17' where Mac='187ed532adec' and LineAddress='17';
  1415. update KaiGuan Set Name='女卫暖手宝', Code='18' where Mac='187ed532adec' and LineAddress='18';
  1416. --4层D区
  1417. 第 1 排 (mac: 187ed532b838)
  1418. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b838'
  1419. update KaiGuan Set Name='女卫暖手垫', Code='1' where Mac='187ed532b838' and LineAddress='1';
  1420. update KaiGuan Set Name='走廊反光', Code='2' where Mac='187ed532b838' and LineAddress='2';
  1421. update KaiGuan Set Name='吊楣反光', Code='3' where Mac='187ed532b838' and LineAddress='3';
  1422. update KaiGuan Set Name='走廊灯', Code='4' where Mac='187ed532b838' and LineAddress='4';
  1423. update KaiGuan Set Name='扶梯灯', Code='5' where Mac='187ed532b838' and LineAddress='5';
  1424. update KaiGuan Set Name='天井灯', Code='6' where Mac='187ed532b838' and LineAddress='6';
  1425. update KaiGuan Set Name='天井反光', Code='7' where Mac='187ed532b838' and LineAddress='7';
  1426. update KaiGuan Set Name='天井反光下', Code='8' where Mac='187ed532b838' and LineAddress='8';
  1427. update KaiGuan Set Name='天井反光下', Code='9' where Mac='187ed532b838' and LineAddress='9';
  1428. update KaiGuan Set Name='大圆灯箱', Code='10' where Mac='187ed532b838' and LineAddress='10';
  1429. update KaiGuan Set Name='大圆灯箱', Code='11' where Mac='187ed532b838' and LineAddress='11';
  1430. update KaiGuan Set Name='大圆灯箱', Code='12' where Mac='187ed532b838' and LineAddress='12';
  1431. update KaiGuan Set Name='天井反光', Code='13' where Mac='187ed532b838' and LineAddress='13';
  1432. update KaiGuan Set Name='大圆反光下', Code='14' where Mac='187ed532b838' and LineAddress='14';
  1433. update KaiGuan Set Name='大圆反光', Code='15' where Mac='187ed532b838' and LineAddress='15';
  1434. update KaiGuan Set Name='大圆反光', Code='16' where Mac='187ed532b838' and LineAddress='16';
  1435. update KaiGuan Set Name='大圆反光', Code='17' where Mac='187ed532b838' and LineAddress='17';
  1436. update KaiGuan Set Name='走廊反光', Code='18' where Mac='187ed532b838' and LineAddress='18';
  1437. 第 2 排 (mac: 187ed5328454)
  1438. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5328454'
  1439. 18
  1440. update KaiGuan Set Name='女卫干手器', Code='1' where Mac='187ed5328454' and LineAddress='1';
  1441. update KaiGuan Set Name='大圆灯', Code='2' where Mac='187ed5328454' and LineAddress='2';
  1442. update KaiGuan Set Name='大圆灯闪光灯', Code='3' where Mac='187ed5328454' and LineAddress='3';
  1443. update KaiGuan Set Name='大圆反光', Code='4' where Mac='187ed5328454' and LineAddress='4';
  1444. update KaiGuan Set Name='走廊反光', Code='5' where Mac='187ed5328454' and LineAddress='5';
  1445. update KaiGuan Set Name='走廊灯', Code='6' where Mac='187ed5328454' and LineAddress='6';
  1446. update KaiGuan Set Name='走廊反光掉楣反光', Code='7' where Mac='187ed5328454' and LineAddress='7';
  1447. update KaiGuan Set Name='大圆下反光', Code='8' where Mac='187ed5328454' and LineAddress='8';
  1448. update KaiGuan Set Name='大圆反光', Code='9' where Mac='187ed5328454' and LineAddress='9';
  1449. update KaiGuan Set Name='走廊反光', Code='10' where Mac='187ed5328454' and LineAddress='10';
  1450. update KaiGuan Set Name='走廊灯', Code='11' where Mac='187ed5328454' and LineAddress='11';
  1451. update KaiGuan Set Name='吊楣反光', Code='12' where Mac='187ed5328454' and LineAddress='12';
  1452. update KaiGuan Set Name='走廊反光', Code='13' where Mac='187ed5328454' and LineAddress='13';
  1453. update KaiGuan Set Name='大圆反光', Code='14' where Mac='187ed5328454' and LineAddress='14';
  1454. update KaiGuan Set Name='大圆反光', Code='15' where Mac='187ed5328454' and LineAddress='15';
  1455. update KaiGuan Set Name='大圆反光', Code='16' where Mac='187ed5328454' and LineAddress='16';
  1456. update KaiGuan Set Name='大圆反光', Code='17' where Mac='187ed5328454' and LineAddress='17';
  1457. update KaiGuan Set Name='走廊反光', Code='18' where Mac='187ed5328454' and LineAddress='18';
  1458. 第 3 排 (mac: 187ed532b234)
  1459. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b234'
  1460. 18
  1461. update KaiGuan Set Name='男卫生干手器', Code='1' where Mac='187ed532b234' and LineAddress='1';
  1462. update KaiGuan Set Name='天井灯箱', Code='2' where Mac='187ed532b234' and LineAddress='2';
  1463. update KaiGuan Set Name='大圆反光', Code='3' where Mac='187ed532b234' and LineAddress='3';
  1464. update KaiGuan Set Name='大圆反光', Code='4' where Mac='187ed532b234' and LineAddress='4';
  1465. update KaiGuan Set Name='走廊灯', Code='5' where Mac='187ed532b234' and LineAddress='5';
  1466. update KaiGuan Set Name='扶梯灯', Code='6' where Mac='187ed532b234' and LineAddress='6';
  1467. update KaiGuan Set Name='小圆反光', Code='7' where Mac='187ed532b234' and LineAddress='7';
  1468. update KaiGuan Set Name='小圆反光', Code='8' where Mac='187ed532b234' and LineAddress='8';
  1469. update KaiGuan Set Name='小圆反光', Code='9' where Mac='187ed532b234' and LineAddress='9';
  1470. update KaiGuan Set Name='走廊反光', Code='10' where Mac='187ed532b234' and LineAddress='10';
  1471. update KaiGuan Set Name='吊楣反光', Code='11' where Mac='187ed532b234' and LineAddress='11';
  1472. update KaiGuan Set Name='走廊灯', Code='12' where Mac='187ed532b234' and LineAddress='12';
  1473. update KaiGuan Set Name='走廊反光', Code='13' where Mac='187ed532b234' and LineAddress='13';
  1474. update KaiGuan Set Name='小圆反光小圆灯箱', Code='14' where Mac='187ed532b234' and LineAddress='14';
  1475. update KaiGuan Set Name='走廊反光', Code='15' where Mac='187ed532b234' and LineAddress='15';
  1476. update KaiGuan Set Name='小圆灯', Code='16' where Mac='187ed532b234' and LineAddress='16';
  1477. update KaiGuan Set Name='走廊反光', Code='17' where Mac='187ed532b234' and LineAddress='17';
  1478. update KaiGuan Set Name='大圆灯箱', Code='18' where Mac='187ed532b234' and LineAddress='18';
  1479. 第 4 排 (mac: 187ed532c2b8)
  1480. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532c2b8'
  1481. 17
  1482. update KaiGuan Set Name='男卫暖手宝', Code='1' where Mac='187ed532c2b8' and LineAddress='1';
  1483. update KaiGuan Set Name='走廊反光', Code='2' where Mac='187ed532c2b8' and LineAddress='2';
  1484. update KaiGuan Set Name='走廊反光吊楣反光', Code='3' where Mac='187ed532c2b8' and LineAddress='3';
  1485. update KaiGuan Set Name='小圆反光', Code='4' where Mac='187ed532c2b8' and LineAddress='4';
  1486. update KaiGuan Set Name='小圆反光', Code='5' where Mac='187ed532c2b8' and LineAddress='5';
  1487. update KaiGuan Set Name='吊楣反光', Code='6' where Mac='187ed532c2b8' and LineAddress='6';
  1488. update KaiGuan Set Name='小圆反光', Code='7' where Mac='187ed532c2b8' and LineAddress='7';
  1489. update KaiGuan Set Name='走廊反光', Code='8' where Mac='187ed532c2b8' and LineAddress='8';
  1490. update KaiGuan Set Name='走廊反光', Code='9' where Mac='187ed532c2b8' and LineAddress='9';
  1491. update KaiGuan Set Name='吊楣反光', Code='10' where Mac='187ed532c2b8' and LineAddress='10';
  1492. update KaiGuan Set Name='小圆反光', Code='11' where Mac='187ed532c2b8' and LineAddress='11';
  1493. update KaiGuan Set Name='小圆反光', Code='12' where Mac='187ed532c2b8' and LineAddress='12';
  1494. update KaiGuan Set Name='小圆灯', Code='13' where Mac='187ed532c2b8' and LineAddress='13';
  1495. update KaiGuan Set Name='走廊灯', Code='14' where Mac='187ed532c2b8' and LineAddress='14';
  1496. update KaiGuan Set Name='走廊灯', Code='15' where Mac='187ed532c2b8' and LineAddress='15';
  1497. update KaiGuan Set Name='走廊反光', Code='16' where Mac='187ed532c2b8' and LineAddress='16';
  1498. update KaiGuan Set Name='大圆灯箱', Code='17' where Mac='187ed532c2b8' and LineAddress='17';
  1499. 第 5 排 (mac: 187ed5328fc0)
  1500. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed5328fc0'
  1501. 18
  1502. update KaiGuan Set Name='男卫暖手宝', Code='1' where Mac='187ed5328fc0' and LineAddress='1';
  1503. update KaiGuan Set Name='小圆反光', Code='2' where Mac='187ed5328fc0' and LineAddress='2';
  1504. update KaiGuan Set Name='小圆灯', Code='3' where Mac='187ed5328fc0' and LineAddress='3';
  1505. update KaiGuan Set Name='小圆反光', Code='4' where Mac='187ed5328fc0' and LineAddress='4';
  1506. update KaiGuan Set Name='小圆反光', Code='5' where Mac='187ed5328fc0' and LineAddress='5';
  1507. update KaiGuan Set Name='小圆反光', Code='6' where Mac='187ed5328fc0' and LineAddress='6';
  1508. update KaiGuan Set Name='吊楣反光', Code='7' where Mac='187ed5328fc0' and LineAddress='7';
  1509. update KaiGuan Set Name='女卫反光', Code='8' where Mac='187ed5328fc0' and LineAddress='8';
  1510. update KaiGuan Set Name='男卫灯', Code='9' where Mac='187ed5328fc0' and LineAddress='9';
  1511. update KaiGuan Set Name='女卫灯', Code='10' where Mac='187ed5328fc0' and LineAddress='10';
  1512. update KaiGuan Set Name='男卫反光', Code='11' where Mac='187ed5328fc0' and LineAddress='11';
  1513. update KaiGuan Set Name='小圆反光', Code='12' where Mac='187ed5328fc0' and LineAddress='12';
  1514. update KaiGuan Set Name='小圆反光', Code='13' where Mac='187ed5328fc0' and LineAddress='13';
  1515. update KaiGuan Set Name='走廊反光', Code='14' where Mac='187ed5328fc0' and LineAddress='14';
  1516. update KaiGuan Set Name='卫生间廊灯', Code='15' where Mac='187ed5328fc0' and LineAddress='15';
  1517. update KaiGuan Set Name='前空灯', Code='16' where Mac='187ed5328fc0' and LineAddress='16';
  1518. update KaiGuan Set Name='大圆灯箱', Code='17' where Mac='187ed5328fc0' and LineAddress='17';
  1519. update KaiGuan Set Name='卫生间感应', Code='18' where Mac='187ed5328fc0' and LineAddress='18';
  1520. 第 6 排 (mac: 187ed532b5d8)
  1521. select Mac, LineAddress,Name, Code from KaiGuan where Mac='187ed532b5d8'
  1522. 17
  1523. update KaiGuan Set Name='女卫暖手宝', Code='1' where Mac='187ed532b5d8' and LineAddress='1';
  1524. update KaiGuan Set Name='货梯灯', Code='2' where Mac='187ed532b5d8' and LineAddress='2';
  1525. update KaiGuan Set Name='走廊反光', Code='3' where Mac='187ed532b5d8' and LineAddress='3';
  1526. update KaiGuan Set Name='走廊灯', Code='4' where Mac='187ed532b5d8' and LineAddress='4';
  1527. update KaiGuan Set Name='西走廊反光', Code='5' where Mac='187ed532b5d8' and LineAddress='5';
  1528. update KaiGuan Set Name='西走廊反光', Code='6' where Mac='187ed532b5d8' and LineAddress='6';
  1529. update KaiGuan Set Name='西走廊灯', Code='7' where Mac='187ed532b5d8' and LineAddress='7';
  1530. update KaiGuan Set Name='走廊反光', Code='8' where Mac='187ed532b5d8' and LineAddress='8';
  1531. update KaiGuan Set Name='西走廊反光', Code='9' where Mac='187ed532b5d8' and LineAddress='9';
  1532. update KaiGuan Set Name='大圆反光', Code='10' where Mac='187ed532b5d8' and LineAddress='10';
  1533. update KaiGuan Set Name='观光电梯灯', Code='11' where Mac='187ed532b5d8' and LineAddress='11';
  1534. update KaiGuan Set Name='走廊反光', Code='12' where Mac='187ed532b5d8' and LineAddress='12';
  1535. update KaiGuan Set Name='柱子反光', Code='13' where Mac='187ed532b5d8' and LineAddress='13';
  1536. update KaiGuan Set Name='大圆反光', Code='14' where Mac='187ed532b5d8' and LineAddress='14';
  1537. update KaiGuan Set Name='大圆反光', Code='15' where Mac='187ed532b5d8' and LineAddress='15';
  1538. update KaiGuan Set Name='夜间灯', Code='16' where Mac='187ed532b5d8' and LineAddress='16';
  1539. update KaiGuan Set Name='夜间灯', Code='17' where Mac='187ed532b5d8' and LineAddress='17';
  1540. ```