CommandClassControlNodeView.xib 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9531" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
  3. <dependencies>
  4. <deployment identifier="iOS"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
  6. </dependencies>
  7. <objects>
  8. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  9. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  10. <view contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" id="A4o-gP-Y81" customClass="CommandClassControlNodeView">
  11. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  12. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  13. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  14. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  15. <point key="canvasLocation" x="188.5" y="-58.5"/>
  16. </view>
  17. <view tag="4" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" id="WJ2-zs-abu" customClass="CommandClassControlNodeSensorBinaryView">
  18. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <button opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="50" placeholderIntrinsicHeight="32" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="trN-UZ-hsQ" customClass="CustomButton">
  22. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  23. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  24. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  25. <state key="normal" title="Off" backgroundImage="img_rule_btn_statebg_default">
  26. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  27. </state>
  28. <state key="disabled" backgroundImage="img_rule_btn_statebg_default_disable"/>
  29. <state key="selected" backgroundImage="img_rule_btn_statebg_active">
  30. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  31. </state>
  32. <state key="highlighted" backgroundImage="img_rule_btn_statebg_active">
  33. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  34. </state>
  35. <userDefinedRuntimeAttributes>
  36. <userDefinedRuntimeAttribute type="rect" keyPath="rectForCapBackground">
  37. <rect key="value" x="16" y="16" width="16" height="16"/>
  38. </userDefinedRuntimeAttribute>
  39. </userDefinedRuntimeAttributes>
  40. <connections>
  41. <action selector="btnOffTouched:" destination="WJ2-zs-abu" eventType="touchUpInside" id="SSp-Wr-UPL"/>
  42. </connections>
  43. </button>
  44. <button opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="50" placeholderIntrinsicHeight="32" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Q43-bx-beK" customClass="CustomButton">
  45. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  46. <constraints>
  47. <constraint firstAttribute="width" constant="50" id="X6r-vb-w6v"/>
  48. </constraints>
  49. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  50. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  51. <state key="normal" title="On" backgroundImage="img_rule_btn_statebg_default">
  52. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  53. </state>
  54. <state key="disabled" backgroundImage="img_rule_btn_statebg_default_disable"/>
  55. <state key="selected" backgroundImage="img_rule_btn_statebg_active">
  56. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  57. </state>
  58. <state key="highlighted" backgroundImage="img_rule_btn_statebg_active">
  59. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  60. </state>
  61. <userDefinedRuntimeAttributes>
  62. <userDefinedRuntimeAttribute type="rect" keyPath="rectForCapBackground">
  63. <rect key="value" x="16" y="16" width="16" height="16"/>
  64. </userDefinedRuntimeAttribute>
  65. </userDefinedRuntimeAttributes>
  66. <variation key="default">
  67. <mask key="constraints">
  68. <exclude reference="X6r-vb-w6v"/>
  69. </mask>
  70. </variation>
  71. <variation key="heightClass=regular-widthClass=compact">
  72. <mask key="constraints">
  73. <include reference="X6r-vb-w6v"/>
  74. </mask>
  75. </variation>
  76. <connections>
  77. <action selector="btnOnTouched:" destination="WJ2-zs-abu" eventType="touchUpInside" id="EZ2-Xs-bXI"/>
  78. </connections>
  79. </button>
  80. </subviews>
  81. <constraints>
  82. <constraint firstAttribute="bottom" secondItem="Q43-bx-beK" secondAttribute="bottom" id="12h-tQ-njQ">
  83. <variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
  84. </constraint>
  85. <constraint firstItem="trN-UZ-hsQ" firstAttribute="leading" secondItem="Q43-bx-beK" secondAttribute="trailing" constant="10" id="4gK-Ag-uzq"/>
  86. <constraint firstItem="Q43-bx-beK" firstAttribute="top" secondItem="WJ2-zs-abu" secondAttribute="top" id="4je-0E-44s"/>
  87. <constraint firstItem="trN-UZ-hsQ" firstAttribute="width" secondItem="Q43-bx-beK" secondAttribute="width" id="Lxw-SJ-UeT"/>
  88. <constraint firstItem="trN-UZ-hsQ" firstAttribute="top" secondItem="WJ2-zs-abu" secondAttribute="top" id="Tfb-lI-Zrl"/>
  89. <constraint firstItem="Q43-bx-beK" firstAttribute="leading" secondItem="WJ2-zs-abu" secondAttribute="leading" id="YoC-te-uRV"/>
  90. <constraint firstAttribute="bottom" secondItem="trN-UZ-hsQ" secondAttribute="bottom" id="xsE-8l-QrH">
  91. <variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
  92. </constraint>
  93. </constraints>
  94. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  95. <variation key="default">
  96. <mask key="subviews">
  97. <exclude reference="trN-UZ-hsQ"/>
  98. <exclude reference="Q43-bx-beK"/>
  99. </mask>
  100. <mask key="constraints">
  101. <exclude reference="12h-tQ-njQ"/>
  102. <exclude reference="4je-0E-44s"/>
  103. <exclude reference="YoC-te-uRV"/>
  104. <exclude reference="4gK-Ag-uzq"/>
  105. <exclude reference="Lxw-SJ-UeT"/>
  106. <exclude reference="Tfb-lI-Zrl"/>
  107. <exclude reference="xsE-8l-QrH"/>
  108. </mask>
  109. </variation>
  110. <variation key="heightClass=regular-widthClass=compact">
  111. <mask key="subviews">
  112. <include reference="trN-UZ-hsQ"/>
  113. <include reference="Q43-bx-beK"/>
  114. </mask>
  115. <mask key="constraints">
  116. <include reference="12h-tQ-njQ"/>
  117. <include reference="4je-0E-44s"/>
  118. <include reference="YoC-te-uRV"/>
  119. <include reference="4gK-Ag-uzq"/>
  120. <include reference="Lxw-SJ-UeT"/>
  121. <include reference="Tfb-lI-Zrl"/>
  122. <include reference="xsE-8l-QrH"/>
  123. </mask>
  124. </variation>
  125. <connections>
  126. <outlet property="btnOff" destination="trN-UZ-hsQ" id="y8g-QX-avb"/>
  127. <outlet property="btnOn" destination="Q43-bx-beK" id="lDx-rt-14F"/>
  128. <outlet property="constraintBtnOnWidth" destination="X6r-vb-w6v" id="4Wc-8b-UBU"/>
  129. </connections>
  130. <point key="canvasLocation" x="188.5" y="24"/>
  131. </view>
  132. <view tag="17" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" id="GPT-SK-oJV" customClass="CommandClassControlNodeValveView">
  133. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  134. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  135. <subviews>
  136. <button opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="50" placeholderIntrinsicHeight="32" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kNj-fv-6d1" customClass="CustomButton">
  137. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  138. <constraints>
  139. <constraint firstAttribute="width" constant="50" id="aZH-2u-hLi"/>
  140. </constraints>
  141. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  142. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  143. <state key="normal" title="Open" backgroundImage="img_rule_btn_statebg_default">
  144. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  145. </state>
  146. <state key="disabled" backgroundImage="img_rule_btn_statebg_default_disable"/>
  147. <state key="selected" backgroundImage="img_rule_btn_statebg_active">
  148. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  149. </state>
  150. <state key="highlighted" backgroundImage="img_rule_btn_statebg_active">
  151. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  152. </state>
  153. <userDefinedRuntimeAttributes>
  154. <userDefinedRuntimeAttribute type="rect" keyPath="rectForCapBackground">
  155. <rect key="value" x="16" y="16" width="16" height="16"/>
  156. </userDefinedRuntimeAttribute>
  157. </userDefinedRuntimeAttributes>
  158. <variation key="default">
  159. <mask key="constraints">
  160. <exclude reference="aZH-2u-hLi"/>
  161. </mask>
  162. </variation>
  163. <variation key="heightClass=regular-widthClass=compact">
  164. <mask key="constraints">
  165. <include reference="aZH-2u-hLi"/>
  166. </mask>
  167. </variation>
  168. <connections>
  169. <action selector="btnOpenTouched:" destination="GPT-SK-oJV" eventType="touchUpInside" id="Kjg-PJ-RSE"/>
  170. </connections>
  171. </button>
  172. <button opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="50" placeholderIntrinsicHeight="32" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vn6-Ik-kEG" customClass="CustomButton">
  173. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  174. <constraints>
  175. <constraint firstAttribute="width" constant="50" id="Iyt-Pq-Ueb"/>
  176. </constraints>
  177. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  178. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  179. <state key="normal" title="Close" backgroundImage="img_rule_btn_statebg_default">
  180. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  181. </state>
  182. <state key="disabled" backgroundImage="img_rule_btn_statebg_default_disable"/>
  183. <state key="selected" backgroundImage="img_rule_btn_statebg_active">
  184. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  185. </state>
  186. <state key="highlighted" backgroundImage="img_rule_btn_statebg_active">
  187. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  188. </state>
  189. <userDefinedRuntimeAttributes>
  190. <userDefinedRuntimeAttribute type="rect" keyPath="rectForCapBackground">
  191. <rect key="value" x="16" y="16" width="16" height="16"/>
  192. </userDefinedRuntimeAttribute>
  193. </userDefinedRuntimeAttributes>
  194. <variation key="default">
  195. <mask key="constraints">
  196. <exclude reference="Iyt-Pq-Ueb"/>
  197. </mask>
  198. </variation>
  199. <variation key="heightClass=regular-widthClass=compact">
  200. <mask key="constraints">
  201. <include reference="Iyt-Pq-Ueb"/>
  202. </mask>
  203. </variation>
  204. <connections>
  205. <action selector="btnCloseTouched:" destination="GPT-SK-oJV" eventType="touchUpInside" id="aqo-tb-vlr"/>
  206. </connections>
  207. </button>
  208. </subviews>
  209. <constraints>
  210. <constraint firstItem="vn6-Ik-kEG" firstAttribute="top" secondItem="GPT-SK-oJV" secondAttribute="top" id="31R-os-3VG"/>
  211. <constraint firstItem="vn6-Ik-kEG" firstAttribute="leading" secondItem="kNj-fv-6d1" secondAttribute="trailing" constant="10" id="4WG-Zd-Q6S"/>
  212. <constraint firstAttribute="bottom" secondItem="vn6-Ik-kEG" secondAttribute="bottom" id="OJT-2t-bsV"/>
  213. <constraint firstItem="kNj-fv-6d1" firstAttribute="leading" secondItem="GPT-SK-oJV" secondAttribute="leading" id="VnL-ad-44T"/>
  214. <constraint firstItem="kNj-fv-6d1" firstAttribute="top" secondItem="GPT-SK-oJV" secondAttribute="top" id="Xzw-Pb-ISi"/>
  215. <constraint firstAttribute="bottom" secondItem="kNj-fv-6d1" secondAttribute="bottom" id="gnd-oc-Gr2"/>
  216. </constraints>
  217. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  218. <variation key="default">
  219. <mask key="subviews">
  220. <exclude reference="kNj-fv-6d1"/>
  221. <exclude reference="vn6-Ik-kEG"/>
  222. </mask>
  223. <mask key="constraints">
  224. <exclude reference="VnL-ad-44T"/>
  225. <exclude reference="Xzw-Pb-ISi"/>
  226. <exclude reference="gnd-oc-Gr2"/>
  227. <exclude reference="31R-os-3VG"/>
  228. <exclude reference="4WG-Zd-Q6S"/>
  229. <exclude reference="OJT-2t-bsV"/>
  230. </mask>
  231. </variation>
  232. <variation key="heightClass=regular-widthClass=compact">
  233. <mask key="subviews">
  234. <include reference="kNj-fv-6d1"/>
  235. <include reference="vn6-Ik-kEG"/>
  236. </mask>
  237. <mask key="constraints">
  238. <include reference="VnL-ad-44T"/>
  239. <include reference="Xzw-Pb-ISi"/>
  240. <include reference="gnd-oc-Gr2"/>
  241. <include reference="31R-os-3VG"/>
  242. <include reference="4WG-Zd-Q6S"/>
  243. <include reference="OJT-2t-bsV"/>
  244. </mask>
  245. </variation>
  246. <connections>
  247. <outlet property="btnClose" destination="vn6-Ik-kEG" id="CyE-Ne-6fR"/>
  248. <outlet property="btnOpen" destination="kNj-fv-6d1" id="zFe-tu-Sfi"/>
  249. <outlet property="constraintBtnCloseWidth" destination="Iyt-Pq-Ueb" id="Xax-0S-UxB"/>
  250. <outlet property="constraintBtnOpenWidth" destination="aZH-2u-hLi" id="tad-TX-PBu"/>
  251. </connections>
  252. <point key="canvasLocation" x="188.5" y="111"/>
  253. </view>
  254. <view tag="1" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" id="MVI-pn-8Ny" customClass="CommandClassControlNodeSwitchBinaryView">
  255. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  256. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  257. <subviews>
  258. <button opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="50" placeholderIntrinsicHeight="32" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="P99-Wb-HM1" customClass="CustomButton">
  259. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  260. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  261. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  262. <state key="normal" title="Off" backgroundImage="img_rule_btn_statebg_default">
  263. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  264. </state>
  265. <state key="disabled" backgroundImage="img_rule_btn_statebg_default_disable"/>
  266. <state key="selected" backgroundImage="img_rule_btn_statebg_active">
  267. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  268. </state>
  269. <state key="highlighted" backgroundImage="img_rule_btn_statebg_active">
  270. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  271. </state>
  272. <userDefinedRuntimeAttributes>
  273. <userDefinedRuntimeAttribute type="rect" keyPath="rectForCapBackground">
  274. <rect key="value" x="16" y="16" width="16" height="16"/>
  275. </userDefinedRuntimeAttribute>
  276. </userDefinedRuntimeAttributes>
  277. <connections>
  278. <action selector="btnOffTouched:" destination="MVI-pn-8Ny" eventType="touchUpInside" id="RSp-gc-6f4"/>
  279. </connections>
  280. </button>
  281. <button opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="50" placeholderIntrinsicHeight="32" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YxQ-cn-TDq" customClass="CustomButton">
  282. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  283. <constraints>
  284. <constraint firstAttribute="width" constant="50" id="PWT-nC-BaK"/>
  285. </constraints>
  286. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  287. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  288. <state key="normal" title="On" backgroundImage="img_rule_btn_statebg_default">
  289. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  290. </state>
  291. <state key="disabled" backgroundImage="img_rule_btn_statebg_default_disable"/>
  292. <state key="selected" backgroundImage="img_rule_btn_statebg_active">
  293. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  294. </state>
  295. <state key="highlighted" backgroundImage="img_rule_btn_statebg_active">
  296. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  297. </state>
  298. <userDefinedRuntimeAttributes>
  299. <userDefinedRuntimeAttribute type="rect" keyPath="rectForCapBackground">
  300. <rect key="value" x="16" y="16" width="16" height="16"/>
  301. </userDefinedRuntimeAttribute>
  302. </userDefinedRuntimeAttributes>
  303. <variation key="default">
  304. <mask key="constraints">
  305. <exclude reference="PWT-nC-BaK"/>
  306. </mask>
  307. </variation>
  308. <variation key="heightClass=regular-widthClass=compact">
  309. <mask key="constraints">
  310. <include reference="PWT-nC-BaK"/>
  311. </mask>
  312. </variation>
  313. <connections>
  314. <action selector="btnOnTouched:" destination="MVI-pn-8Ny" eventType="touchUpInside" id="qMB-ju-XR8"/>
  315. </connections>
  316. </button>
  317. </subviews>
  318. <constraints>
  319. <constraint firstAttribute="bottom" secondItem="P99-Wb-HM1" secondAttribute="bottom" id="1sR-sB-vIJ">
  320. <variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
  321. </constraint>
  322. <constraint firstItem="P99-Wb-HM1" firstAttribute="leading" secondItem="YxQ-cn-TDq" secondAttribute="trailing" constant="10" id="295-mQ-3Qk"/>
  323. <constraint firstAttribute="bottom" secondItem="YxQ-cn-TDq" secondAttribute="bottom" id="KKj-Dx-R4U">
  324. <variation key="heightClass=regular-widthClass=compact" constant="0.0"/>
  325. </constraint>
  326. <constraint firstItem="P99-Wb-HM1" firstAttribute="width" secondItem="YxQ-cn-TDq" secondAttribute="width" id="Kda-xi-CbP"/>
  327. <constraint firstItem="YxQ-cn-TDq" firstAttribute="top" secondItem="MVI-pn-8Ny" secondAttribute="top" id="L3l-8z-lpv"/>
  328. <constraint firstItem="P99-Wb-HM1" firstAttribute="top" secondItem="MVI-pn-8Ny" secondAttribute="top" id="ivv-S5-xZe"/>
  329. <constraint firstItem="YxQ-cn-TDq" firstAttribute="leading" secondItem="MVI-pn-8Ny" secondAttribute="leading" id="jdd-uM-uQX"/>
  330. </constraints>
  331. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  332. <variation key="default">
  333. <mask key="subviews">
  334. <exclude reference="P99-Wb-HM1"/>
  335. <exclude reference="YxQ-cn-TDq"/>
  336. </mask>
  337. <mask key="constraints">
  338. <exclude reference="1sR-sB-vIJ"/>
  339. <exclude reference="295-mQ-3Qk"/>
  340. <exclude reference="Kda-xi-CbP"/>
  341. <exclude reference="ivv-S5-xZe"/>
  342. <exclude reference="KKj-Dx-R4U"/>
  343. <exclude reference="L3l-8z-lpv"/>
  344. <exclude reference="jdd-uM-uQX"/>
  345. </mask>
  346. </variation>
  347. <variation key="heightClass=regular-widthClass=compact">
  348. <mask key="subviews">
  349. <include reference="P99-Wb-HM1"/>
  350. <include reference="YxQ-cn-TDq"/>
  351. </mask>
  352. <mask key="constraints">
  353. <include reference="1sR-sB-vIJ"/>
  354. <include reference="295-mQ-3Qk"/>
  355. <include reference="Kda-xi-CbP"/>
  356. <include reference="ivv-S5-xZe"/>
  357. <include reference="KKj-Dx-R4U"/>
  358. <include reference="L3l-8z-lpv"/>
  359. <include reference="jdd-uM-uQX"/>
  360. </mask>
  361. </variation>
  362. <connections>
  363. <outlet property="btnOff" destination="P99-Wb-HM1" id="F8k-BR-8dw"/>
  364. <outlet property="btnOn" destination="YxQ-cn-TDq" id="afe-wr-U49"/>
  365. <outlet property="constraintBtnOnWidth" destination="PWT-nC-BaK" id="VYp-Lw-7hn"/>
  366. </connections>
  367. <point key="canvasLocation" x="188.5" y="211.5"/>
  368. </view>
  369. <view tag="2" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" id="brC-x4-wfJ" customClass="CommandClassControlNodeSwitchMultiLevelView">
  370. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  371. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  372. <subviews>
  373. <button opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2Ao-DP-arx" customClass="CustomButton">
  374. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  375. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  376. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  377. <inset key="titleEdgeInsets" minX="20" minY="0.0" maxX="0.0" maxY="0.0"/>
  378. <state key="normal" backgroundImage="img_input_round_bg_default">
  379. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  380. </state>
  381. <state key="disabled" backgroundImage="img_input_round_bg_disable">
  382. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  383. </state>
  384. <state key="selected" backgroundImage="img_input_round_bg_active">
  385. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  386. </state>
  387. <state key="highlighted">
  388. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  389. </state>
  390. <userDefinedRuntimeAttributes>
  391. <userDefinedRuntimeAttribute type="color" keyPath="placeHolderColor">
  392. <color key="value" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  393. </userDefinedRuntimeAttribute>
  394. <userDefinedRuntimeAttribute type="string" keyPath="placeHolder" value="컨텐츠 밸류"/>
  395. <userDefinedRuntimeAttribute type="rect" keyPath="rectForCapBackground">
  396. <rect key="value" x="16" y="16" width="16" height="16"/>
  397. </userDefinedRuntimeAttribute>
  398. </userDefinedRuntimeAttributes>
  399. <variation key="heightClass=regular-widthClass=compact" fixedFrame="YES">
  400. <rect key="frame" x="0.0" y="0.0" width="215" height="32"/>
  401. </variation>
  402. <connections>
  403. <action selector="btnMutilLevelTouched:" destination="brC-x4-wfJ" eventType="touchUpInside" id="4zF-Oa-hPS"/>
  404. </connections>
  405. </button>
  406. </subviews>
  407. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  408. <variation key="default">
  409. <mask key="subviews">
  410. <exclude reference="2Ao-DP-arx"/>
  411. </mask>
  412. </variation>
  413. <variation key="heightClass=regular-widthClass=compact">
  414. <mask key="subviews">
  415. <include reference="2Ao-DP-arx"/>
  416. </mask>
  417. </variation>
  418. <connections>
  419. <outlet property="btnMultiLevel" destination="2Ao-DP-arx" id="y22-9L-XLu"/>
  420. </connections>
  421. <point key="canvasLocation" x="188.5" y="295.5"/>
  422. </view>
  423. <view tag="5" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" id="keF-Sr-VIg" customClass="CommandClassControlNodeSensorMultiLevelView">
  424. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  425. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  426. <subviews>
  427. <button opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="igw-0c-k1t" customClass="CustomButton">
  428. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  429. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  430. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  431. <inset key="titleEdgeInsets" minX="20" minY="0.0" maxX="0.0" maxY="0.0"/>
  432. <state key="normal" backgroundImage="img_input_round_bg_default">
  433. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  434. </state>
  435. <state key="disabled" backgroundImage="img_input_round_bg_disable">
  436. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  437. </state>
  438. <state key="selected" backgroundImage="img_input_round_bg_active">
  439. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  440. </state>
  441. <state key="highlighted">
  442. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  443. </state>
  444. <userDefinedRuntimeAttributes>
  445. <userDefinedRuntimeAttribute type="color" keyPath="placeHolderColor">
  446. <color key="value" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  447. </userDefinedRuntimeAttribute>
  448. <userDefinedRuntimeAttribute type="string" keyPath="placeHolder" value="컨텐츠 밸류"/>
  449. <userDefinedRuntimeAttribute type="rect" keyPath="rectForCapBackground">
  450. <rect key="value" x="16" y="16" width="16" height="16"/>
  451. </userDefinedRuntimeAttribute>
  452. </userDefinedRuntimeAttributes>
  453. <variation key="heightClass=regular-widthClass=compact" fixedFrame="YES">
  454. <rect key="frame" x="0.0" y="0.0" width="215" height="32"/>
  455. </variation>
  456. <connections>
  457. <action selector="btnMutilLevelTouched:" destination="keF-Sr-VIg" eventType="touchUpInside" id="jPx-5B-Jtf"/>
  458. </connections>
  459. </button>
  460. </subviews>
  461. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  462. <variation key="default">
  463. <mask key="subviews">
  464. <exclude reference="igw-0c-k1t"/>
  465. </mask>
  466. </variation>
  467. <variation key="heightClass=regular-widthClass=compact">
  468. <mask key="subviews">
  469. <include reference="igw-0c-k1t"/>
  470. </mask>
  471. </variation>
  472. <connections>
  473. <outlet property="btnMultiLevel" destination="igw-0c-k1t" id="5ji-1F-T0D"/>
  474. </connections>
  475. <point key="canvasLocation" x="188.5" y="375"/>
  476. </view>
  477. <view tag="18" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" id="FWA-LR-5WX" customClass="CommandClassControlNodeBatteryView">
  478. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  479. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  480. <subviews>
  481. <button opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="atQ-wr-2Fg" customClass="CustomButton">
  482. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  483. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  484. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  485. <inset key="titleEdgeInsets" minX="20" minY="0.0" maxX="0.0" maxY="0.0"/>
  486. <state key="normal" backgroundImage="img_input_round_bg_default">
  487. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  488. </state>
  489. <state key="disabled" backgroundImage="img_input_round_bg_disable">
  490. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  491. </state>
  492. <state key="selected" backgroundImage="img_input_round_bg_active">
  493. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  494. </state>
  495. <state key="highlighted">
  496. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  497. </state>
  498. <userDefinedRuntimeAttributes>
  499. <userDefinedRuntimeAttribute type="color" keyPath="placeHolderColor">
  500. <color key="value" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  501. </userDefinedRuntimeAttribute>
  502. <userDefinedRuntimeAttribute type="rect" keyPath="rectForCapBackground">
  503. <rect key="value" x="16" y="16" width="16" height="16"/>
  504. </userDefinedRuntimeAttribute>
  505. </userDefinedRuntimeAttributes>
  506. <variation key="heightClass=regular-widthClass=compact" fixedFrame="YES">
  507. <rect key="frame" x="0.0" y="0.0" width="215" height="32"/>
  508. </variation>
  509. <connections>
  510. <action selector="btnMutilLevelTouched:" destination="FWA-LR-5WX" eventType="touchUpInside" id="VFV-2Y-6Bz"/>
  511. </connections>
  512. </button>
  513. </subviews>
  514. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  515. <variation key="default">
  516. <mask key="subviews">
  517. <exclude reference="atQ-wr-2Fg"/>
  518. </mask>
  519. </variation>
  520. <variation key="heightClass=regular-widthClass=compact">
  521. <mask key="subviews">
  522. <include reference="atQ-wr-2Fg"/>
  523. </mask>
  524. </variation>
  525. <connections>
  526. <outlet property="btnMultiLevel" destination="atQ-wr-2Fg" id="LRe-X2-krL"/>
  527. </connections>
  528. <point key="canvasLocation" x="188.5" y="453"/>
  529. </view>
  530. <view tag="22" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" id="RRG-aA-jqQ" customClass="CommandClassControlNodeMeterView">
  531. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  532. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  533. <subviews>
  534. <button opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="32" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ikE-ef-aul" customClass="CustomButton">
  535. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  536. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  537. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  538. <inset key="titleEdgeInsets" minX="20" minY="0.0" maxX="0.0" maxY="0.0"/>
  539. <state key="normal" backgroundImage="img_input_round_bg_default">
  540. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  541. </state>
  542. <state key="disabled" backgroundImage="img_input_round_bg_disable">
  543. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  544. </state>
  545. <state key="selected" backgroundImage="img_input_round_bg_active">
  546. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  547. </state>
  548. <state key="highlighted">
  549. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  550. </state>
  551. <userDefinedRuntimeAttributes>
  552. <userDefinedRuntimeAttribute type="color" keyPath="placeHolderColor">
  553. <color key="value" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
  554. </userDefinedRuntimeAttribute>
  555. <userDefinedRuntimeAttribute type="rect" keyPath="rectForCapBackground">
  556. <rect key="value" x="16" y="16" width="16" height="16"/>
  557. </userDefinedRuntimeAttribute>
  558. </userDefinedRuntimeAttributes>
  559. <variation key="heightClass=regular-widthClass=compact" fixedFrame="YES">
  560. <rect key="frame" x="0.0" y="0.0" width="215" height="32"/>
  561. </variation>
  562. <connections>
  563. <action selector="btnMutilLevelTouched:" destination="RRG-aA-jqQ" eventType="touchUpInside" id="XHx-O1-ylB"/>
  564. </connections>
  565. </button>
  566. </subviews>
  567. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  568. <variation key="default">
  569. <mask key="subviews">
  570. <exclude reference="ikE-ef-aul"/>
  571. </mask>
  572. </variation>
  573. <variation key="heightClass=regular-widthClass=compact">
  574. <mask key="subviews">
  575. <include reference="ikE-ef-aul"/>
  576. </mask>
  577. </variation>
  578. <connections>
  579. <outlet property="btnMultiLevel" destination="ikE-ef-aul" id="kBg-0c-i0c"/>
  580. </connections>
  581. <point key="canvasLocation" x="188.5" y="532"/>
  582. </view>
  583. </objects>
  584. <resources>
  585. <image name="img_input_round_bg_active" width="41" height="32"/>
  586. <image name="img_input_round_bg_default" width="41" height="32"/>
  587. <image name="img_input_round_bg_disable" width="41" height="32"/>
  588. <image name="img_rule_btn_statebg_active" width="42" height="32"/>
  589. <image name="img_rule_btn_statebg_default" width="42" height="32"/>
  590. <image name="img_rule_btn_statebg_default_disable" width="42" height="32"/>
  591. </resources>
  592. </document>