wether station gui client
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

smarthome.wxg 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. <?xml version="1.0"?>
  2. <!-- generated by wxGlade 0.9.3 on Sun Sep 6 14:34:01 2020 -->
  3. <application class="MyApp" encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" mark_blocks="1" name="app" option="0" overwrite="0" path="./smarthome.py" source_extension=".cpp" top_window="wetation" use_gettext="0" use_new_namespace="1">
  4. <object class="Wetation" name="wetation" base="EditFrame">
  5. <size>800, 600</size>
  6. <background>#faf9ff</background>
  7. <foreground>#23238e</foreground>
  8. <title>frame</title>
  9. <style>wxDEFAULT_FRAME_STYLE</style>
  10. <object class="wxBoxSizer" name="sizer_main" base="EditBoxSizer">
  11. <orient>wxVERTICAL</orient>
  12. <object class="sizeritem">
  13. <option>0</option>
  14. <border>0</border>
  15. <flag>wxEXPAND</flag>
  16. <object class="wxStaticText" name="spacer_1" base="EditStaticText">
  17. <background>#23238e</background>
  18. <font>
  19. <size>5</size>
  20. <family>default</family>
  21. <style>normal</style>
  22. <weight>normal</weight>
  23. <underlined>0</underlined>
  24. <face />
  25. </font>
  26. </object>
  27. </object>
  28. <object class="sizeritem">
  29. <option>0</option>
  30. <border>0</border>
  31. <flag>wxEXPAND</flag>
  32. <object class="wxBoxSizer" name="sizer_date_time" base="EditBoxSizer">
  33. <orient>wxHORIZONTAL</orient>
  34. <object class="sizeritem">
  35. <option>1</option>
  36. <border>0</border>
  37. <flag>wxLEFT|wxEXPAND</flag>
  38. <object class="wxStaticText" name="date" base="EditStaticText">
  39. <background>#23238e</background>
  40. <foreground>#ffffff</foreground>
  41. <font>
  42. <size>24</size>
  43. <family>default</family>
  44. <style>normal</style>
  45. <weight>normal</weight>
  46. <underlined>0</underlined>
  47. <face />
  48. </font>
  49. <style>wxALIGN_LEFT</style>
  50. <label>xx.xx.xxxx</label>
  51. </object>
  52. </object>
  53. <object class="sizeritem">
  54. <option>1</option>
  55. <border>0</border>
  56. <flag>wxRIGHT|wxEXPAND</flag>
  57. <object class="wxStaticText" name="time" base="EditStaticText">
  58. <background>#23238e</background>
  59. <foreground>#ffffff</foreground>
  60. <font>
  61. <size>24</size>
  62. <family>default</family>
  63. <style>normal</style>
  64. <weight>normal</weight>
  65. <underlined>0</underlined>
  66. <face />
  67. </font>
  68. <style>wxALIGN_RIGHT</style>
  69. <label>xx:xx</label>
  70. </object>
  71. </object>
  72. </object>
  73. </object>
  74. <object class="sizeritem">
  75. <option>0</option>
  76. <border>0</border>
  77. <flag>wxEXPAND</flag>
  78. <object class="wxStaticText" name="spacer_2" base="EditStaticText">
  79. <background>#23238e</background>
  80. <font>
  81. <size>5</size>
  82. <family>default</family>
  83. <style>normal</style>
  84. <weight>normal</weight>
  85. <underlined>0</underlined>
  86. <face />
  87. </font>
  88. </object>
  89. </object>
  90. <object class="sizeritem">
  91. <option>0</option>
  92. <border>0</border>
  93. <flag>wxEXPAND</flag>
  94. <object class="wxStaticText" name="spacer_3" base="EditStaticText">
  95. <background>#000000</background>
  96. <foreground>#faf9ff</foreground>
  97. <font>
  98. <size>12</size>
  99. <family>default</family>
  100. <style>normal</style>
  101. <weight>normal</weight>
  102. <underlined>0</underlined>
  103. <face />
  104. </font>
  105. <label>Außentemperatur</label>
  106. </object>
  107. </object>
  108. <object class="sizeritem">
  109. <option>0</option>
  110. <border>0</border>
  111. <flag>wxEXPAND</flag>
  112. <object class="wxBoxSizer" name="sizer_env_data_out" base="EditBoxSizer">
  113. <orient>wxHORIZONTAL</orient>
  114. <object class="sizeritem">
  115. <option>1</option>
  116. <border>0</border>
  117. <flag>wxEXPAND</flag>
  118. <object class="wxBoxSizer" name="sizer_4" base="EditBoxSizer">
  119. <orient>wxVERTICAL</orient>
  120. <object class="sizeritem">
  121. <option>1</option>
  122. <border>0</border>
  123. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  124. <object class="wxStaticText" name="out_humidity" base="EditStaticText">
  125. <font>
  126. <size>24</size>
  127. <family>default</family>
  128. <style>normal</style>
  129. <weight>normal</weight>
  130. <underlined>0</underlined>
  131. <face />
  132. </font>
  133. <style>wxALIGN_RIGHT</style>
  134. <label>- %</label>
  135. </object>
  136. </object>
  137. <object class="sizeritem">
  138. <option>1</option>
  139. <border>0</border>
  140. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  141. <object class="wxStaticText" name="out_pressure" base="EditStaticText">
  142. <font>
  143. <size>24</size>
  144. <family>default</family>
  145. <style>normal</style>
  146. <weight>normal</weight>
  147. <underlined>0</underlined>
  148. <face />
  149. </font>
  150. <style>wxALIGN_RIGHT</style>
  151. <label>- mbar</label>
  152. </object>
  153. </object>
  154. </object>
  155. </object>
  156. <object class="sizeritem">
  157. <option>1</option>
  158. <border>0</border>
  159. <flag>wxEXPAND</flag>
  160. <object class="wxBoxSizer" name="sizer_7" base="EditBoxSizer">
  161. <orient>wxVERTICAL</orient>
  162. <object class="sizeritem">
  163. <option>1</option>
  164. <border>0</border>
  165. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  166. <object class="wxStaticText" name="out_temperature_min" base="EditStaticText">
  167. <font>
  168. <size>24</size>
  169. <family>default</family>
  170. <style>normal</style>
  171. <weight>normal</weight>
  172. <underlined>0</underlined>
  173. <face />
  174. </font>
  175. <style>wxALIGN_RIGHT</style>
  176. <label>-.- °C</label>
  177. </object>
  178. </object>
  179. <object class="sizeritem">
  180. <option>1</option>
  181. <border>0</border>
  182. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  183. <object class="wxStaticText" name="out_temperature_max" base="EditStaticText">
  184. <font>
  185. <size>24</size>
  186. <family>default</family>
  187. <style>normal</style>
  188. <weight>normal</weight>
  189. <underlined>0</underlined>
  190. <face />
  191. </font>
  192. <style>wxALIGN_RIGHT</style>
  193. <label>-.- °C</label>
  194. </object>
  195. </object>
  196. </object>
  197. </object>
  198. <object class="sizeritem">
  199. <option>0</option>
  200. <border>0</border>
  201. <object class="spacer" name="spacer" base="EditSpacer">
  202. <width>50</width>
  203. <height>20</height>
  204. </object>
  205. </object>
  206. <object class="sizeritem">
  207. <option>2</option>
  208. <border>0</border>
  209. <flag>wxRIGHT|wxALIGN_RIGHT</flag>
  210. <object class="wxStaticText" name="out_temperature" base="EditStaticText">
  211. <font>
  212. <size>48</size>
  213. <family>default</family>
  214. <style>normal</style>
  215. <weight>normal</weight>
  216. <underlined>0</underlined>
  217. <face />
  218. </font>
  219. <style>wxALIGN_RIGHT</style>
  220. <label>-.- °C</label>
  221. </object>
  222. </object>
  223. </object>
  224. </object>
  225. <object class="sizeritem">
  226. <option>0</option>
  227. <border>0</border>
  228. <flag>wxEXPAND</flag>
  229. <object class="wxStaticText" name="spacer_4" base="EditStaticText">
  230. <background>#000000</background>
  231. <foreground>#faf9ff</foreground>
  232. <font>
  233. <size>12</size>
  234. <family>default</family>
  235. <style>normal</style>
  236. <weight>normal</weight>
  237. <underlined>0</underlined>
  238. <face />
  239. </font>
  240. <label>Innentemperatur</label>
  241. </object>
  242. </object>
  243. <object class="sizeritem">
  244. <option>0</option>
  245. <border>0</border>
  246. <flag>wxEXPAND</flag>
  247. <object class="wxBoxSizer" name="sizer_env_data_in" base="EditBoxSizer">
  248. <orient>wxHORIZONTAL</orient>
  249. <object class="sizeritem">
  250. <option>1</option>
  251. <border>0</border>
  252. <flag>wxEXPAND</flag>
  253. <object class="wxBoxSizer" name="sizer_5" base="EditBoxSizer">
  254. <orient>wxVERTICAL</orient>
  255. <object class="sizeritem">
  256. <option>1</option>
  257. <border>0</border>
  258. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  259. <object class="wxStaticText" name="in_humidity" base="EditStaticText">
  260. <font>
  261. <size>24</size>
  262. <family>default</family>
  263. <style>normal</style>
  264. <weight>normal</weight>
  265. <underlined>0</underlined>
  266. <face />
  267. </font>
  268. <style>wxALIGN_RIGHT</style>
  269. <label>- %</label>
  270. </object>
  271. </object>
  272. <object class="sizeritem">
  273. <option>1</option>
  274. <border>0</border>
  275. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  276. <object class="wxStaticText" name="in_pressure" base="EditStaticText">
  277. <font>
  278. <size>24</size>
  279. <family>default</family>
  280. <style>normal</style>
  281. <weight>normal</weight>
  282. <underlined>0</underlined>
  283. <face />
  284. </font>
  285. <style>wxALIGN_RIGHT</style>
  286. <label>- mbar</label>
  287. </object>
  288. </object>
  289. </object>
  290. </object>
  291. <object class="sizeritem">
  292. <option>1</option>
  293. <border>0</border>
  294. <flag>wxEXPAND</flag>
  295. <object class="wxBoxSizer" name="sizer_9" base="EditBoxSizer">
  296. <orient>wxVERTICAL</orient>
  297. <object class="sizeritem">
  298. <option>1</option>
  299. <border>0</border>
  300. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  301. <object class="wxStaticText" name="in_temperature_min" base="EditStaticText">
  302. <font>
  303. <size>24</size>
  304. <family>default</family>
  305. <style>normal</style>
  306. <weight>normal</weight>
  307. <underlined>0</underlined>
  308. <face />
  309. </font>
  310. <style>wxALIGN_RIGHT</style>
  311. <label>-.- °C</label>
  312. </object>
  313. </object>
  314. <object class="sizeritem">
  315. <option>1</option>
  316. <border>0</border>
  317. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  318. <object class="wxStaticText" name="in_temperature_max" base="EditStaticText">
  319. <font>
  320. <size>24</size>
  321. <family>default</family>
  322. <style>normal</style>
  323. <weight>normal</weight>
  324. <underlined>0</underlined>
  325. <face />
  326. </font>
  327. <style>wxALIGN_RIGHT</style>
  328. <label>-.- °C</label>
  329. </object>
  330. </object>
  331. </object>
  332. </object>
  333. <object class="sizeritem">
  334. <option>0</option>
  335. <border>0</border>
  336. <object class="spacer" name="spacer" base="EditSpacer">
  337. <width>50</width>
  338. <height>20</height>
  339. </object>
  340. </object>
  341. <object class="sizeritem">
  342. <option>2</option>
  343. <border>0</border>
  344. <flag>wxRIGHT|wxALIGN_RIGHT</flag>
  345. <object class="wxStaticText" name="in_temperature" base="EditStaticText">
  346. <font>
  347. <size>48</size>
  348. <family>default</family>
  349. <style>normal</style>
  350. <weight>normal</weight>
  351. <underlined>0</underlined>
  352. <face />
  353. </font>
  354. <style>wxALIGN_RIGHT</style>
  355. <label>-.- °C</label>
  356. </object>
  357. </object>
  358. </object>
  359. </object>
  360. <object class="sizeritem">
  361. <option>1</option>
  362. <border>0</border>
  363. <object class="spacer" name="spacer" base="EditSpacer">
  364. <width>10</width>
  365. <height>10</height>
  366. </object>
  367. </object>
  368. <object class="sizeritem">
  369. <option>0</option>
  370. <border>0</border>
  371. <flag>wxEXPAND</flag>
  372. <object class="wxStaticText" name="spacer_5" base="EditStaticText">
  373. <background>#000000</background>
  374. <foreground>#faf9ff</foreground>
  375. <font>
  376. <size>12</size>
  377. <family>default</family>
  378. <style>normal</style>
  379. <weight>normal</weight>
  380. <underlined>0</underlined>
  381. <face />
  382. </font>
  383. <label>Garage</label>
  384. </object>
  385. </object>
  386. <object class="sizeritem">
  387. <option>0</option>
  388. <border>0</border>
  389. <flag>wxEXPAND</flag>
  390. <object class="wxBoxSizer" name="sizer_8" base="EditBoxSizer">
  391. <orient>wxHORIZONTAL</orient>
  392. <object class="sizeritem">
  393. <option>0</option>
  394. <border>0</border>
  395. <object class="wxButton" name="garage_oc" base="EditButton">
  396. <events>
  397. <handler event="EVT_BUTTON">garage_oc_evt</handler>
  398. </events>
  399. <label>Garage</label>
  400. </object>
  401. </object>
  402. <object class="sizeritem">
  403. <option>0</option>
  404. <border>0</border>
  405. <flag>wxALIGN_CENTER</flag>
  406. <object class="wxStaticText" name="gate__open" base="EditStaticText">
  407. <label>Close</label>
  408. </object>
  409. </object>
  410. <object class="sizeritem">
  411. <option>1</option>
  412. <border>0</border>
  413. <flag>wxEXPAND</flag>
  414. <object class="wxSlider" name="gate_position" base="EditSlider">
  415. <disabled>1</disabled>
  416. <style>wxSL_HORIZONTAL</style>
  417. <range>0, 100</range>
  418. <value>50</value>
  419. </object>
  420. </object>
  421. <object class="sizeritem">
  422. <option>0</option>
  423. <border>0</border>
  424. <flag>wxALIGN_CENTER</flag>
  425. <object class="wxStaticText" name="gate_open" base="EditStaticText">
  426. <label>Open</label>
  427. </object>
  428. </object>
  429. </object>
  430. </object>
  431. </object>
  432. </object>
  433. </application>