CommandClassControlNodeView.xib 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9060" systemVersion="15B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
  3. <dependencies>
  4. <deployment identifier="iOS"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9051"/>
  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="35" 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. <animations/>
  14. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  15. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  16. <point key="canvasLocation" x="188.5" y="-58.5"/>
  17. </view>
  18. <view tag="4" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="35" id="PzG-ZS-Utu" customClass="CommandClassControlNodeSensorBinaryView">
  19. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  20. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  21. <subviews>
  22. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mPv-1F-CLy" customClass="CustomLabel">
  23. <rect key="frame" x="-42" y="-21" width="42" height="21"/>
  24. <animations/>
  25. <constraints>
  26. <constraint firstAttribute="height" constant="35" id="JDa-SU-jBU"/>
  27. </constraints>
  28. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  29. <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  30. <nil key="highlightedColor"/>
  31. <variation key="default">
  32. <mask key="constraints">
  33. <exclude reference="JDa-SU-jBU"/>
  34. </mask>
  35. </variation>
  36. <variation key="heightClass=regular-widthClass=compact">
  37. <mask key="constraints">
  38. <include reference="JDa-SU-jBU"/>
  39. </mask>
  40. </variation>
  41. </label>
  42. </subviews>
  43. <animations/>
  44. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  45. <constraints>
  46. <constraint firstAttribute="trailing" secondItem="mPv-1F-CLy" secondAttribute="trailing" id="G6W-z4-ukc"/>
  47. <constraint firstItem="mPv-1F-CLy" firstAttribute="top" secondItem="PzG-ZS-Utu" secondAttribute="top" id="gOg-Jq-UVa"/>
  48. <constraint firstAttribute="bottom" secondItem="mPv-1F-CLy" secondAttribute="bottom" id="jmf-IY-jkg"/>
  49. <constraint firstItem="mPv-1F-CLy" firstAttribute="leading" secondItem="PzG-ZS-Utu" secondAttribute="leading" id="jvn-9Q-RmT"/>
  50. </constraints>
  51. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  52. <variation key="default">
  53. <mask key="subviews">
  54. <exclude reference="mPv-1F-CLy"/>
  55. </mask>
  56. <mask key="constraints">
  57. <exclude reference="G6W-z4-ukc"/>
  58. <exclude reference="gOg-Jq-UVa"/>
  59. <exclude reference="jmf-IY-jkg"/>
  60. <exclude reference="jvn-9Q-RmT"/>
  61. </mask>
  62. </variation>
  63. <variation key="heightClass=regular-widthClass=compact">
  64. <mask key="subviews">
  65. <include reference="mPv-1F-CLy"/>
  66. </mask>
  67. <mask key="constraints">
  68. <include reference="G6W-z4-ukc"/>
  69. <include reference="gOg-Jq-UVa"/>
  70. <include reference="jmf-IY-jkg"/>
  71. <include reference="jvn-9Q-RmT"/>
  72. </mask>
  73. </variation>
  74. <connections>
  75. <outlet property="lblSensor" destination="mPv-1F-CLy" id="XYY-rA-Hmh"/>
  76. </connections>
  77. <point key="canvasLocation" x="188.5" y="21.5"/>
  78. </view>
  79. <view tag="17" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="35" id="GPT-SK-oJV" customClass="CommandClassControlNodeValveView">
  80. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  81. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  82. <subviews>
  83. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kNj-fv-6d1" customClass="CustomButton">
  84. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  85. <animations/>
  86. <color key="backgroundColor" red="1" green="0.50196081400000003" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  87. <constraints>
  88. <constraint firstAttribute="width" constant="50" id="aZH-2u-hLi"/>
  89. </constraints>
  90. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  91. <state key="normal" title="Open"/>
  92. <variation key="default">
  93. <mask key="constraints">
  94. <exclude reference="aZH-2u-hLi"/>
  95. </mask>
  96. </variation>
  97. <variation key="heightClass=regular-widthClass=compact">
  98. <mask key="constraints">
  99. <include reference="aZH-2u-hLi"/>
  100. </mask>
  101. </variation>
  102. <connections>
  103. <action selector="btnOpenTouched:" destination="GPT-SK-oJV" eventType="touchUpInside" id="Kjg-PJ-RSE"/>
  104. </connections>
  105. </button>
  106. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vn6-Ik-kEG" customClass="CustomButton">
  107. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  108. <animations/>
  109. <color key="backgroundColor" red="1" green="0.50196081400000003" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  110. <constraints>
  111. <constraint firstAttribute="width" constant="50" id="Iyt-Pq-Ueb"/>
  112. </constraints>
  113. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  114. <state key="normal" title="Close"/>
  115. <variation key="default">
  116. <mask key="constraints">
  117. <exclude reference="Iyt-Pq-Ueb"/>
  118. </mask>
  119. </variation>
  120. <variation key="heightClass=regular-widthClass=compact">
  121. <mask key="constraints">
  122. <include reference="Iyt-Pq-Ueb"/>
  123. </mask>
  124. </variation>
  125. <connections>
  126. <action selector="btnCloseTouched:" destination="GPT-SK-oJV" eventType="touchUpInside" id="aqo-tb-vlr"/>
  127. </connections>
  128. </button>
  129. </subviews>
  130. <animations/>
  131. <color key="backgroundColor" red="0.77653595249999996" green="0.96839857299999998" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  132. <constraints>
  133. <constraint firstItem="vn6-Ik-kEG" firstAttribute="top" secondItem="GPT-SK-oJV" secondAttribute="top" id="31R-os-3VG"/>
  134. <constraint firstItem="vn6-Ik-kEG" firstAttribute="leading" secondItem="kNj-fv-6d1" secondAttribute="trailing" constant="10" id="4WG-Zd-Q6S"/>
  135. <constraint firstItem="vn6-Ik-kEG" firstAttribute="leading" secondItem="kNj-fv-6d1" secondAttribute="trailing" constant="10" id="9Uk-rI-oJd"/>
  136. <constraint firstAttribute="bottom" secondItem="vn6-Ik-kEG" secondAttribute="bottom" id="OJT-2t-bsV"/>
  137. <constraint firstItem="kNj-fv-6d1" firstAttribute="leading" secondItem="GPT-SK-oJV" secondAttribute="leading" id="VnL-ad-44T"/>
  138. <constraint firstItem="kNj-fv-6d1" firstAttribute="top" secondItem="GPT-SK-oJV" secondAttribute="top" id="Xzw-Pb-ISi"/>
  139. <constraint firstAttribute="bottom" secondItem="kNj-fv-6d1" secondAttribute="bottom" id="gnd-oc-Gr2"/>
  140. </constraints>
  141. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  142. <variation key="default">
  143. <mask key="subviews">
  144. <exclude reference="kNj-fv-6d1"/>
  145. <exclude reference="vn6-Ik-kEG"/>
  146. </mask>
  147. <mask key="constraints">
  148. <exclude reference="VnL-ad-44T"/>
  149. <exclude reference="Xzw-Pb-ISi"/>
  150. <exclude reference="gnd-oc-Gr2"/>
  151. <exclude reference="31R-os-3VG"/>
  152. <exclude reference="4WG-Zd-Q6S"/>
  153. <exclude reference="9Uk-rI-oJd"/>
  154. <exclude reference="OJT-2t-bsV"/>
  155. </mask>
  156. </variation>
  157. <variation key="heightClass=regular-widthClass=compact">
  158. <mask key="subviews">
  159. <include reference="kNj-fv-6d1"/>
  160. <include reference="vn6-Ik-kEG"/>
  161. </mask>
  162. <mask key="constraints">
  163. <include reference="VnL-ad-44T"/>
  164. <include reference="Xzw-Pb-ISi"/>
  165. <include reference="gnd-oc-Gr2"/>
  166. <include reference="31R-os-3VG"/>
  167. <include reference="4WG-Zd-Q6S"/>
  168. <include reference="9Uk-rI-oJd"/>
  169. <include reference="OJT-2t-bsV"/>
  170. </mask>
  171. </variation>
  172. <connections>
  173. <outlet property="btnClose" destination="vn6-Ik-kEG" id="CyE-Ne-6fR"/>
  174. <outlet property="btnOpen" destination="kNj-fv-6d1" id="zFe-tu-Sfi"/>
  175. <outlet property="constraintBtnCloseWidth" destination="Iyt-Pq-Ueb" id="Xax-0S-UxB"/>
  176. <outlet property="constraintBtnOpenWidth" destination="aZH-2u-hLi" id="tad-TX-PBu"/>
  177. <outlet property="constraintBtnSpace" destination="9Uk-rI-oJd" id="KLE-cx-9rR"/>
  178. </connections>
  179. <point key="canvasLocation" x="188.5" y="111.5"/>
  180. </view>
  181. <view tag="1" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="35" id="MVI-pn-8Ny" customClass="CommandClassControlNodeSwitchBinaryView">
  182. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  183. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  184. <subviews>
  185. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="P99-Wb-HM1" customClass="CustomButton">
  186. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  187. <animations/>
  188. <color key="backgroundColor" red="1" green="0.50196081400000003" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  189. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  190. <state key="normal" title="Off"/>
  191. <connections>
  192. <action selector="btnOffTouched:" destination="MVI-pn-8Ny" eventType="touchUpInside" id="RSp-gc-6f4"/>
  193. </connections>
  194. </button>
  195. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YxQ-cn-TDq" customClass="CustomButton">
  196. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  197. <animations/>
  198. <color key="backgroundColor" red="1" green="0.50196081400000003" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  199. <constraints>
  200. <constraint firstAttribute="width" constant="50" id="PWT-nC-BaK"/>
  201. </constraints>
  202. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  203. <state key="normal" title="On"/>
  204. <variation key="default">
  205. <mask key="constraints">
  206. <exclude reference="PWT-nC-BaK"/>
  207. </mask>
  208. </variation>
  209. <variation key="heightClass=regular-widthClass=compact">
  210. <mask key="constraints">
  211. <include reference="PWT-nC-BaK"/>
  212. </mask>
  213. </variation>
  214. <connections>
  215. <action selector="btnOnTouched:" destination="MVI-pn-8Ny" eventType="touchUpInside" id="qMB-ju-XR8"/>
  216. </connections>
  217. </button>
  218. </subviews>
  219. <animations/>
  220. <color key="backgroundColor" red="0.77653595249999996" green="0.96839857299999998" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  221. <constraints>
  222. <constraint firstAttribute="bottom" secondItem="P99-Wb-HM1" secondAttribute="bottom" id="1sR-sB-vIJ"/>
  223. <constraint firstItem="P99-Wb-HM1" firstAttribute="leading" secondItem="YxQ-cn-TDq" secondAttribute="trailing" constant="10" id="295-mQ-3Qk"/>
  224. <constraint firstAttribute="bottom" secondItem="YxQ-cn-TDq" secondAttribute="bottom" id="KKj-Dx-R4U"/>
  225. <constraint firstItem="P99-Wb-HM1" firstAttribute="width" secondItem="YxQ-cn-TDq" secondAttribute="width" id="Kda-xi-CbP"/>
  226. <constraint firstItem="YxQ-cn-TDq" firstAttribute="top" secondItem="MVI-pn-8Ny" secondAttribute="top" id="L3l-8z-lpv"/>
  227. <constraint firstItem="P99-Wb-HM1" firstAttribute="top" secondItem="MVI-pn-8Ny" secondAttribute="top" id="ivv-S5-xZe"/>
  228. <constraint firstItem="YxQ-cn-TDq" firstAttribute="leading" secondItem="MVI-pn-8Ny" secondAttribute="leading" id="jdd-uM-uQX"/>
  229. <constraint firstItem="P99-Wb-HM1" firstAttribute="leading" secondItem="YxQ-cn-TDq" secondAttribute="trailing" constant="10" id="wZU-op-EIu"/>
  230. </constraints>
  231. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  232. <variation key="default">
  233. <mask key="subviews">
  234. <exclude reference="P99-Wb-HM1"/>
  235. <exclude reference="YxQ-cn-TDq"/>
  236. </mask>
  237. <mask key="constraints">
  238. <exclude reference="1sR-sB-vIJ"/>
  239. <exclude reference="295-mQ-3Qk"/>
  240. <exclude reference="Kda-xi-CbP"/>
  241. <exclude reference="ivv-S5-xZe"/>
  242. <exclude reference="wZU-op-EIu"/>
  243. <exclude reference="KKj-Dx-R4U"/>
  244. <exclude reference="L3l-8z-lpv"/>
  245. <exclude reference="jdd-uM-uQX"/>
  246. </mask>
  247. </variation>
  248. <variation key="heightClass=regular-widthClass=compact">
  249. <mask key="subviews">
  250. <include reference="P99-Wb-HM1"/>
  251. <include reference="YxQ-cn-TDq"/>
  252. </mask>
  253. <mask key="constraints">
  254. <include reference="1sR-sB-vIJ"/>
  255. <include reference="295-mQ-3Qk"/>
  256. <include reference="Kda-xi-CbP"/>
  257. <include reference="ivv-S5-xZe"/>
  258. <include reference="wZU-op-EIu"/>
  259. <include reference="KKj-Dx-R4U"/>
  260. <include reference="L3l-8z-lpv"/>
  261. <include reference="jdd-uM-uQX"/>
  262. </mask>
  263. </variation>
  264. <connections>
  265. <outlet property="btnOff" destination="P99-Wb-HM1" id="F8k-BR-8dw"/>
  266. <outlet property="btnOn" destination="YxQ-cn-TDq" id="afe-wr-U49"/>
  267. <outlet property="constraintBtnOnWidth" destination="PWT-nC-BaK" id="VYp-Lw-7hn"/>
  268. </connections>
  269. <point key="canvasLocation" x="188.5" y="211.5"/>
  270. </view>
  271. <view tag="2" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="35" id="brC-x4-wfJ" customClass="CommandClassControlNodeSwitchMultiLevelView">
  272. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  273. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  274. <subviews>
  275. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2Ao-DP-arx" customClass="CustomButton">
  276. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  277. <animations/>
  278. <inset key="titleEdgeInsets" minX="20" minY="0.0" maxX="0.0" maxY="0.0"/>
  279. <state key="normal" title="Button"/>
  280. <variation key="heightClass=regular-widthClass=compact" fixedFrame="YES">
  281. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  282. </variation>
  283. <connections>
  284. <action selector="btnMutilLevelTouched:" destination="brC-x4-wfJ" eventType="touchUpInside" id="4zF-Oa-hPS"/>
  285. </connections>
  286. </button>
  287. </subviews>
  288. <animations/>
  289. <color key="backgroundColor" red="0.77653595249999996" green="0.96839857299999998" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  290. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  291. <variation key="default">
  292. <mask key="subviews">
  293. <exclude reference="2Ao-DP-arx"/>
  294. </mask>
  295. </variation>
  296. <variation key="heightClass=regular-widthClass=compact">
  297. <mask key="subviews">
  298. <include reference="2Ao-DP-arx"/>
  299. </mask>
  300. </variation>
  301. <connections>
  302. <outlet property="btnMultiLevel" destination="2Ao-DP-arx" id="y22-9L-XLu"/>
  303. </connections>
  304. <point key="canvasLocation" x="188.5" y="295.5"/>
  305. </view>
  306. </objects>
  307. </document>