CommandClassControlNodeView.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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. <animations/>
  22. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  23. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  24. <point key="canvasLocation" x="188.5" y="21.5"/>
  25. </view>
  26. <view tag="19" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="35" id="GPT-SK-oJV" customClass="CommandClassControlNodeValveView">
  27. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  28. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  29. <subviews>
  30. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kNj-fv-6d1" customClass="CustomButton">
  31. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  32. <animations/>
  33. <color key="backgroundColor" red="1" green="0.50196081400000003" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  34. <constraints>
  35. <constraint firstAttribute="width" constant="50" id="6Eb-HY-qCx"/>
  36. </constraints>
  37. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  38. <state key="normal" title="Open"/>
  39. <variation key="default">
  40. <mask key="constraints">
  41. <exclude reference="6Eb-HY-qCx"/>
  42. </mask>
  43. </variation>
  44. <variation key="heightClass=regular-widthClass=compact">
  45. <mask key="constraints">
  46. <include reference="6Eb-HY-qCx"/>
  47. </mask>
  48. </variation>
  49. <connections>
  50. <action selector="btnOpenTouched:" destination="GPT-SK-oJV" eventType="touchUpInside" id="Kjg-PJ-RSE"/>
  51. </connections>
  52. </button>
  53. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vn6-Ik-kEG" customClass="CustomButton">
  54. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  55. <animations/>
  56. <color key="backgroundColor" red="1" green="0.50196081400000003" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  57. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  58. <state key="normal" title="Close"/>
  59. <connections>
  60. <action selector="btnCloseTouched:" destination="GPT-SK-oJV" eventType="touchUpInside" id="aqo-tb-vlr"/>
  61. </connections>
  62. </button>
  63. </subviews>
  64. <animations/>
  65. <color key="backgroundColor" red="0.77653595249999996" green="0.96839857299999998" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  66. <constraints>
  67. <constraint firstItem="vn6-Ik-kEG" firstAttribute="top" secondItem="GPT-SK-oJV" secondAttribute="top" id="31R-os-3VG"/>
  68. <constraint firstItem="vn6-Ik-kEG" firstAttribute="leading" secondItem="kNj-fv-6d1" secondAttribute="trailing" constant="10" id="4WG-Zd-Q6S"/>
  69. <constraint firstItem="vn6-Ik-kEG" firstAttribute="leading" secondItem="kNj-fv-6d1" secondAttribute="trailing" constant="10" id="9Uk-rI-oJd"/>
  70. <constraint firstAttribute="bottom" secondItem="vn6-Ik-kEG" secondAttribute="bottom" id="OJT-2t-bsV"/>
  71. <constraint firstItem="kNj-fv-6d1" firstAttribute="leading" secondItem="GPT-SK-oJV" secondAttribute="leading" id="VnL-ad-44T"/>
  72. <constraint firstItem="kNj-fv-6d1" firstAttribute="top" secondItem="GPT-SK-oJV" secondAttribute="top" id="Xzw-Pb-ISi"/>
  73. <constraint firstAttribute="bottom" secondItem="kNj-fv-6d1" secondAttribute="bottom" id="gnd-oc-Gr2"/>
  74. <constraint firstItem="vn6-Ik-kEG" firstAttribute="width" secondItem="kNj-fv-6d1" secondAttribute="width" id="nws-mM-q9e"/>
  75. </constraints>
  76. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  77. <variation key="default">
  78. <mask key="subviews">
  79. <exclude reference="kNj-fv-6d1"/>
  80. <exclude reference="vn6-Ik-kEG"/>
  81. </mask>
  82. <mask key="constraints">
  83. <exclude reference="VnL-ad-44T"/>
  84. <exclude reference="Xzw-Pb-ISi"/>
  85. <exclude reference="gnd-oc-Gr2"/>
  86. <exclude reference="31R-os-3VG"/>
  87. <exclude reference="4WG-Zd-Q6S"/>
  88. <exclude reference="9Uk-rI-oJd"/>
  89. <exclude reference="OJT-2t-bsV"/>
  90. <exclude reference="nws-mM-q9e"/>
  91. </mask>
  92. </variation>
  93. <variation key="heightClass=regular-widthClass=compact">
  94. <mask key="subviews">
  95. <include reference="kNj-fv-6d1"/>
  96. <include reference="vn6-Ik-kEG"/>
  97. </mask>
  98. <mask key="constraints">
  99. <include reference="VnL-ad-44T"/>
  100. <include reference="Xzw-Pb-ISi"/>
  101. <include reference="gnd-oc-Gr2"/>
  102. <include reference="31R-os-3VG"/>
  103. <include reference="4WG-Zd-Q6S"/>
  104. <include reference="9Uk-rI-oJd"/>
  105. <include reference="OJT-2t-bsV"/>
  106. <include reference="nws-mM-q9e"/>
  107. </mask>
  108. </variation>
  109. <connections>
  110. <outlet property="btnClose" destination="vn6-Ik-kEG" id="CyE-Ne-6fR"/>
  111. <outlet property="btnOpen" destination="kNj-fv-6d1" id="zFe-tu-Sfi"/>
  112. <outlet property="constraintBtnOpenWidth" destination="6Eb-HY-qCx" id="4XY-ID-QYl"/>
  113. </connections>
  114. <point key="canvasLocation" x="188.5" y="111.5"/>
  115. </view>
  116. <view tag="1" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="35" id="MVI-pn-8Ny" customClass="CommandClassControlNodeSwitchBinaryView">
  117. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  118. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  119. <subviews>
  120. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="P99-Wb-HM1" customClass="CustomButton">
  121. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  122. <animations/>
  123. <color key="backgroundColor" red="1" green="0.50196081400000003" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  124. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  125. <state key="normal" title="Off"/>
  126. <connections>
  127. <action selector="btnOffTouched:" destination="MVI-pn-8Ny" eventType="touchUpInside" id="RSp-gc-6f4"/>
  128. </connections>
  129. </button>
  130. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YxQ-cn-TDq" customClass="CustomButton">
  131. <rect key="frame" x="-23" y="-15" width="46" height="30"/>
  132. <animations/>
  133. <color key="backgroundColor" red="1" green="0.50196081400000003" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  134. <constraints>
  135. <constraint firstAttribute="width" constant="50" id="PWT-nC-BaK"/>
  136. </constraints>
  137. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  138. <state key="normal" title="On"/>
  139. <variation key="default">
  140. <mask key="constraints">
  141. <exclude reference="PWT-nC-BaK"/>
  142. </mask>
  143. </variation>
  144. <variation key="heightClass=regular-widthClass=compact">
  145. <mask key="constraints">
  146. <include reference="PWT-nC-BaK"/>
  147. </mask>
  148. </variation>
  149. <connections>
  150. <action selector="btnOnTouched:" destination="MVI-pn-8Ny" eventType="touchUpInside" id="qMB-ju-XR8"/>
  151. </connections>
  152. </button>
  153. </subviews>
  154. <animations/>
  155. <color key="backgroundColor" red="0.77653595249999996" green="0.96839857299999998" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  156. <constraints>
  157. <constraint firstAttribute="bottom" secondItem="P99-Wb-HM1" secondAttribute="bottom" id="1sR-sB-vIJ"/>
  158. <constraint firstItem="P99-Wb-HM1" firstAttribute="leading" secondItem="YxQ-cn-TDq" secondAttribute="trailing" constant="10" id="295-mQ-3Qk"/>
  159. <constraint firstAttribute="bottom" secondItem="YxQ-cn-TDq" secondAttribute="bottom" id="KKj-Dx-R4U"/>
  160. <constraint firstItem="P99-Wb-HM1" firstAttribute="width" secondItem="YxQ-cn-TDq" secondAttribute="width" id="Kda-xi-CbP"/>
  161. <constraint firstItem="YxQ-cn-TDq" firstAttribute="top" secondItem="MVI-pn-8Ny" secondAttribute="top" id="L3l-8z-lpv"/>
  162. <constraint firstItem="P99-Wb-HM1" firstAttribute="top" secondItem="MVI-pn-8Ny" secondAttribute="top" id="ivv-S5-xZe"/>
  163. <constraint firstItem="YxQ-cn-TDq" firstAttribute="leading" secondItem="MVI-pn-8Ny" secondAttribute="leading" id="jdd-uM-uQX"/>
  164. <constraint firstItem="P99-Wb-HM1" firstAttribute="leading" secondItem="YxQ-cn-TDq" secondAttribute="trailing" constant="10" id="wZU-op-EIu"/>
  165. </constraints>
  166. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  167. <variation key="default">
  168. <mask key="subviews">
  169. <exclude reference="P99-Wb-HM1"/>
  170. <exclude reference="YxQ-cn-TDq"/>
  171. </mask>
  172. <mask key="constraints">
  173. <exclude reference="1sR-sB-vIJ"/>
  174. <exclude reference="295-mQ-3Qk"/>
  175. <exclude reference="Kda-xi-CbP"/>
  176. <exclude reference="ivv-S5-xZe"/>
  177. <exclude reference="wZU-op-EIu"/>
  178. <exclude reference="KKj-Dx-R4U"/>
  179. <exclude reference="L3l-8z-lpv"/>
  180. <exclude reference="jdd-uM-uQX"/>
  181. </mask>
  182. </variation>
  183. <variation key="heightClass=regular-widthClass=compact">
  184. <mask key="subviews">
  185. <include reference="P99-Wb-HM1"/>
  186. <include reference="YxQ-cn-TDq"/>
  187. </mask>
  188. <mask key="constraints">
  189. <include reference="1sR-sB-vIJ"/>
  190. <include reference="295-mQ-3Qk"/>
  191. <include reference="Kda-xi-CbP"/>
  192. <include reference="ivv-S5-xZe"/>
  193. <include reference="wZU-op-EIu"/>
  194. <include reference="KKj-Dx-R4U"/>
  195. <include reference="L3l-8z-lpv"/>
  196. <include reference="jdd-uM-uQX"/>
  197. </mask>
  198. </variation>
  199. <connections>
  200. <outlet property="btnOff" destination="P99-Wb-HM1" id="F8k-BR-8dw"/>
  201. <outlet property="btnOn" destination="YxQ-cn-TDq" id="afe-wr-U49"/>
  202. <outlet property="constraintBtnOnWidth" destination="PWT-nC-BaK" id="VYp-Lw-7hn"/>
  203. </connections>
  204. <point key="canvasLocation" x="188.5" y="211.5"/>
  205. </view>
  206. <view tag="2" contentMode="scaleToFill" placeholderIntrinsicWidth="215" placeholderIntrinsicHeight="35" id="brC-x4-wfJ" customClass="CommandClassControlNodeSwitchMultiLevelView">
  207. <rect key="frame" x="0.0" y="0.0" width="215" height="35"/>
  208. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  209. <animations/>
  210. <color key="backgroundColor" red="0.77653595249999996" green="0.96839857299999998" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  211. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  212. <point key="canvasLocation" x="188.5" y="295.5"/>
  213. </view>
  214. </objects>
  215. </document>