RDSAirControlVC.xib 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina5_5" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="RDSAirControlVC">
  13. <connections>
  14. <outlet property="airTempLab" destination="Q5M-Lo-zcy" id="LbE-Zb-oDa"/>
  15. <outlet property="fanSlider" destination="bsh-mP-EHO" id="dQe-JW-4e1"/>
  16. <outlet property="modeLab" destination="V8e-c8-QWi" id="xrH-b5-yqM"/>
  17. <outlet property="newairBtn" destination="VkB-sk-GuN" id="MUh-D7-yWf"/>
  18. <outlet property="powerBtn" destination="4FE-si-qMp" id="Orz-yA-h5b"/>
  19. <outlet property="roomCo2Lab" destination="zAt-Qd-zbU" id="Mh8-gl-iRl"/>
  20. <outlet property="roomHumidityLab" destination="VS1-fQ-gMA" id="EMo-Aj-2s4"/>
  21. <outlet property="roomPm25Lab" destination="ppq-FP-eCW" id="NDe-92-GuK"/>
  22. <outlet property="roomTempLab" destination="waa-oO-0Y0" id="w4W-wa-4XE"/>
  23. <outlet property="sleepBtn" destination="bXy-UU-gfP" id="COk-Nk-POg"/>
  24. <outlet property="tempView" destination="Zyq-Wi-E9C" id="n5x-mu-A1k"/>
  25. <outlet property="timingBtn" destination="eIS-2H-B8e" id="Iah-kt-Dui"/>
  26. <outlet property="timingLab" destination="9CL-54-bjP" id="EyT-Ck-X1G"/>
  27. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  28. </connections>
  29. </placeholder>
  30. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  31. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  32. <rect key="frame" x="0.0" y="0.0" width="414" height="672"/>
  33. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  34. <subviews>
  35. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5d0-gu-6DK">
  36. <rect key="frame" x="0.0" y="0.0" width="405.33333333333331" height="491"/>
  37. <subviews>
  38. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Kbl-WG-ZWC">
  39. <rect key="frame" x="52" y="96" width="301.33333333333331" height="256.33333333333331"/>
  40. <subviews>
  41. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zyq-Wi-E9C">
  42. <rect key="frame" x="27.666666666666686" y="0.0" width="246" height="246"/>
  43. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. <constraints>
  45. <constraint firstAttribute="height" constant="246" id="DcU-y6-orW"/>
  46. <constraint firstAttribute="width" constant="246" id="ZYE-41-BFr"/>
  47. </constraints>
  48. <userDefinedRuntimeAttributes>
  49. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  50. <integer key="value" value="123"/>
  51. </userDefinedRuntimeAttribute>
  52. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  53. </userDefinedRuntimeAttributes>
  54. </view>
  55. <view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uRf-pJ-KLN">
  56. <rect key="frame" x="42.666666666666686" y="0.0" width="216" height="216.33333333333334"/>
  57. <subviews>
  58. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="28" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Q5M-Lo-zcy">
  59. <rect key="frame" x="78.333333333333329" y="80" width="59.666666666666671" height="56.333333333333343"/>
  60. <fontDescription key="fontDescription" type="boldSystem" pointSize="47"/>
  61. <color key="textColor" red="0.15294117647058825" green="0.1803921568627451" blue="0.23137254901960785" alpha="1" colorSpace="calibratedRGB"/>
  62. <nil key="highlightedColor"/>
  63. </label>
  64. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="℃" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9yS-2d-GcF">
  65. <rect key="frame" x="138" y="86" width="29.666666666666657" height="30"/>
  66. <fontDescription key="fontDescription" type="boldSystem" pointSize="25"/>
  67. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="制冷 一档" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="V8e-c8-QWi">
  71. <rect key="frame" x="79.999999999999986" y="139.33333333333331" width="56.333333333333329" height="15.666666666666657"/>
  72. <fontDescription key="fontDescription" type="boldSystem" pointSize="13"/>
  73. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  74. <nil key="highlightedColor"/>
  75. </label>
  76. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="定时:开" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9CL-54-bjP">
  77. <rect key="frame" x="81.333333333333329" y="160" width="53.333333333333329" height="15.666666666666657"/>
  78. <fontDescription key="fontDescription" type="boldSystem" pointSize="13"/>
  79. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  80. <nil key="highlightedColor"/>
  81. </label>
  82. </subviews>
  83. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  84. <constraints>
  85. <constraint firstItem="9CL-54-bjP" firstAttribute="top" secondItem="V8e-c8-QWi" secondAttribute="bottom" constant="5" id="68S-Cg-pBU"/>
  86. <constraint firstItem="V8e-c8-QWi" firstAttribute="top" secondItem="Q5M-Lo-zcy" secondAttribute="bottom" constant="3" id="Fqb-tn-lSg"/>
  87. <constraint firstItem="9CL-54-bjP" firstAttribute="centerX" secondItem="uRf-pJ-KLN" secondAttribute="centerX" id="NFd-Fc-H13"/>
  88. <constraint firstItem="Q5M-Lo-zcy" firstAttribute="centerX" secondItem="uRf-pJ-KLN" secondAttribute="centerX" id="am9-Gj-0de"/>
  89. <constraint firstItem="Q5M-Lo-zcy" firstAttribute="top" secondItem="9yS-2d-GcF" secondAttribute="top" constant="-6" id="bLL-mu-pSn"/>
  90. <constraint firstAttribute="width" secondItem="uRf-pJ-KLN" secondAttribute="height" id="bjF-Jr-Vkb"/>
  91. <constraint firstItem="V8e-c8-QWi" firstAttribute="centerX" secondItem="uRf-pJ-KLN" secondAttribute="centerX" id="cqt-mG-IJN"/>
  92. <constraint firstItem="Q5M-Lo-zcy" firstAttribute="centerY" secondItem="uRf-pJ-KLN" secondAttribute="centerY" id="iPg-Gd-xOG"/>
  93. <constraint firstItem="9yS-2d-GcF" firstAttribute="leading" secondItem="Q5M-Lo-zcy" secondAttribute="trailing" id="ycz-3H-4OG"/>
  94. </constraints>
  95. </view>
  96. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9uN-a5-kmu">
  97. <rect key="frame" x="7.6666666666666643" y="216.33333333333331" width="40" height="40"/>
  98. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  99. <constraints>
  100. <constraint firstAttribute="height" constant="40" id="JZk-up-fMK"/>
  101. <constraint firstAttribute="width" constant="40" id="oYJ-PA-NQr"/>
  102. </constraints>
  103. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  104. <state key="normal" image="icon_reduce"/>
  105. <connections>
  106. <action selector="onMovTempAction:" destination="-1" eventType="touchUpInside" id="Zfj-2P-PRD"/>
  107. </connections>
  108. </button>
  109. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Exg-z6-gwm">
  110. <rect key="frame" x="238.66666666666669" y="216.33333333333331" width="40" height="40"/>
  111. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  112. <constraints>
  113. <constraint firstAttribute="height" constant="40" id="m2H-WE-Mc7"/>
  114. <constraint firstAttribute="width" constant="40" id="zuf-8s-sBV"/>
  115. </constraints>
  116. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  117. <state key="normal" image="icon_add_1"/>
  118. <connections>
  119. <action selector="onAddTempAction:" destination="-1" eventType="touchUpInside" id="7T1-V6-9jU"/>
  120. </connections>
  121. </button>
  122. </subviews>
  123. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  124. <constraints>
  125. <constraint firstItem="uRf-pJ-KLN" firstAttribute="centerX" secondItem="Kbl-WG-ZWC" secondAttribute="centerX" id="0jj-SU-n21"/>
  126. <constraint firstItem="uRf-pJ-KLN" firstAttribute="top" secondItem="Kbl-WG-ZWC" secondAttribute="top" id="5x9-zr-gli"/>
  127. <constraint firstAttribute="bottom" secondItem="Exg-z6-gwm" secondAttribute="bottom" id="Bgl-gA-6SV"/>
  128. <constraint firstAttribute="width" secondItem="Kbl-WG-ZWC" secondAttribute="height" multiplier="10:8.5" id="F8E-TE-bs0"/>
  129. <constraint firstItem="Zyq-Wi-E9C" firstAttribute="top" secondItem="Kbl-WG-ZWC" secondAttribute="top" id="KRs-vo-blP"/>
  130. <constraint firstAttribute="bottom" secondItem="9uN-a5-kmu" secondAttribute="bottom" id="MGU-rb-05L"/>
  131. <constraint firstItem="Exg-z6-gwm" firstAttribute="leading" secondItem="uRf-pJ-KLN" secondAttribute="trailing" constant="-20" id="Q6d-Hv-WMO"/>
  132. <constraint firstItem="Zyq-Wi-E9C" firstAttribute="leading" secondItem="9uN-a5-kmu" secondAttribute="trailing" constant="-20" id="W6q-c7-kPw"/>
  133. <constraint firstItem="Zyq-Wi-E9C" firstAttribute="centerX" secondItem="Kbl-WG-ZWC" secondAttribute="centerX" id="pM3-GX-BLI"/>
  134. <constraint firstItem="9uN-a5-kmu" firstAttribute="top" secondItem="uRf-pJ-KLN" secondAttribute="bottom" id="tDm-DK-4cL"/>
  135. </constraints>
  136. </view>
  137. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uPo-GP-WtY">
  138. <rect key="frame" x="22" y="306" width="361.33333333333331" height="80"/>
  139. <subviews>
  140. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="13℃" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="waa-oO-0Y0">
  141. <rect key="frame" x="23.666666666666668" y="42" width="34.666666666666657" height="25.333333333333329"/>
  142. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="18"/>
  143. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  144. <nil key="highlightedColor"/>
  145. </label>
  146. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="52%" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VS1-fQ-gMA">
  147. <rect key="frame" x="114.99999999999999" y="42" width="39.333333333333329" height="25.333333333333329"/>
  148. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="18"/>
  149. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  150. <nil key="highlightedColor"/>
  151. </label>
  152. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_temperature_g" translatesAutoresizingMaskIntoConstraints="NO" id="1DD-Tr-TNt">
  153. <rect key="frame" x="27" y="12" width="28" height="28"/>
  154. <constraints>
  155. <constraint firstAttribute="width" constant="28" id="Kw1-iD-FQk"/>
  156. <constraint firstAttribute="height" constant="28" id="LUY-AY-Oly"/>
  157. </constraints>
  158. </imageView>
  159. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_humidity_g" translatesAutoresizingMaskIntoConstraints="NO" id="Byx-CF-qt6">
  160. <rect key="frame" x="120.66666666666666" y="12" width="28" height="28"/>
  161. </imageView>
  162. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_pm2.5_g" translatesAutoresizingMaskIntoConstraints="NO" id="QY3-Lp-b97">
  163. <rect key="frame" x="212.66666666666666" y="12" width="28" height="28"/>
  164. </imageView>
  165. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_co2_g" translatesAutoresizingMaskIntoConstraints="NO" id="FUb-zI-XCf">
  166. <rect key="frame" x="311.33333333333331" y="12" width="28" height="28"/>
  167. <constraints>
  168. <constraint firstAttribute="width" constant="28" id="wKf-yq-LUl"/>
  169. </constraints>
  170. </imageView>
  171. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="400" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ppq-FP-eCW">
  172. <rect key="frame" x="210.33333333333334" y="42" width="32.666666666666657" height="25.333333333333329"/>
  173. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="18"/>
  174. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  175. <nil key="highlightedColor"/>
  176. </label>
  177. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="480" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zAt-Qd-zbU">
  178. <rect key="frame" x="309" y="42" width="32.666666666666686" height="25.333333333333329"/>
  179. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="18"/>
  180. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  181. <nil key="highlightedColor"/>
  182. </label>
  183. </subviews>
  184. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  185. <constraints>
  186. <constraint firstItem="ppq-FP-eCW" firstAttribute="centerX" secondItem="QY3-Lp-b97" secondAttribute="centerX" id="1iS-Mj-0JU"/>
  187. <constraint firstItem="waa-oO-0Y0" firstAttribute="top" secondItem="1DD-Tr-TNt" secondAttribute="bottom" constant="2" id="3Xj-da-rzY"/>
  188. <constraint firstItem="waa-oO-0Y0" firstAttribute="centerX" secondItem="1DD-Tr-TNt" secondAttribute="centerX" id="8PT-k3-GY1"/>
  189. <constraint firstItem="Byx-CF-qt6" firstAttribute="centerY" secondItem="1DD-Tr-TNt" secondAttribute="centerY" id="8Tg-qc-lDo"/>
  190. <constraint firstItem="VS1-fQ-gMA" firstAttribute="centerX" secondItem="Byx-CF-qt6" secondAttribute="centerX" id="BvE-CA-nFR"/>
  191. <constraint firstItem="zAt-Qd-zbU" firstAttribute="centerX" secondItem="FUb-zI-XCf" secondAttribute="centerX" id="D6L-6f-TPk"/>
  192. <constraint firstItem="ppq-FP-eCW" firstAttribute="centerY" secondItem="waa-oO-0Y0" secondAttribute="centerY" id="Kjw-TO-T0B"/>
  193. <constraint firstAttribute="height" constant="80" id="Qe9-mv-UjB"/>
  194. <constraint firstItem="QY3-Lp-b97" firstAttribute="centerY" secondItem="1DD-Tr-TNt" secondAttribute="centerY" id="RDF-hZ-mIQ"/>
  195. <constraint firstItem="1DD-Tr-TNt" firstAttribute="leading" secondItem="uPo-GP-WtY" secondAttribute="leading" constant="27" id="Xts-KQ-rOi"/>
  196. <constraint firstItem="VS1-fQ-gMA" firstAttribute="centerY" secondItem="waa-oO-0Y0" secondAttribute="centerY" id="Yta-d0-ksb"/>
  197. <constraint firstItem="Byx-CF-qt6" firstAttribute="centerX" secondItem="uPo-GP-WtY" secondAttribute="centerX" constant="-46" id="boy-Zo-VJL"/>
  198. <constraint firstItem="1DD-Tr-TNt" firstAttribute="top" secondItem="uPo-GP-WtY" secondAttribute="top" constant="12" id="eLt-7E-zH4"/>
  199. <constraint firstItem="QY3-Lp-b97" firstAttribute="centerX" secondItem="uPo-GP-WtY" secondAttribute="centerX" constant="46" id="ec8-3y-TUJ"/>
  200. <constraint firstAttribute="trailing" secondItem="FUb-zI-XCf" secondAttribute="trailing" constant="22" id="f98-LY-NXh"/>
  201. <constraint firstItem="FUb-zI-XCf" firstAttribute="centerY" secondItem="1DD-Tr-TNt" secondAttribute="centerY" id="fyU-Tp-isv"/>
  202. <constraint firstItem="zAt-Qd-zbU" firstAttribute="centerY" secondItem="waa-oO-0Y0" secondAttribute="centerY" id="jPk-kY-cvW"/>
  203. </constraints>
  204. <userDefinedRuntimeAttributes>
  205. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  206. <integer key="value" value="16"/>
  207. </userDefinedRuntimeAttribute>
  208. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  209. </userDefinedRuntimeAttributes>
  210. </view>
  211. <view multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8ya-bf-jnR">
  212. <rect key="frame" x="22" y="406" width="361.33333333333331" height="85"/>
  213. <subviews>
  214. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_fan" translatesAutoresizingMaskIntoConstraints="NO" id="xJ6-9s-4Dp">
  215. <rect key="frame" x="18" y="31.666666666666686" width="22" height="22"/>
  216. <constraints>
  217. <constraint firstAttribute="width" constant="22" id="egO-gM-gaS"/>
  218. <constraint firstAttribute="height" constant="22" id="kFy-1K-rQv"/>
  219. </constraints>
  220. </imageView>
  221. <slider opaque="NO" contentMode="scaleAspectFit" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="1" minValue="0.0" maxValue="5" translatesAutoresizingMaskIntoConstraints="NO" id="bsh-mP-EHO" customClass="RDSlider">
  222. <rect key="frame" x="47" y="27.666666666666686" width="298.33333333333331" height="31"/>
  223. <connections>
  224. <action selector="onFanSliderValueChanged:" destination="-1" eventType="valueChanged" id="b5Z-LI-KwP"/>
  225. <action selector="onFanSliderValueDidChanged:" destination="-1" eventType="touchUpInside" id="mve-tQ-Mbn"/>
  226. </connections>
  227. </slider>
  228. </subviews>
  229. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  230. <gestureRecognizers/>
  231. <constraints>
  232. <constraint firstItem="bsh-mP-EHO" firstAttribute="leading" secondItem="xJ6-9s-4Dp" secondAttribute="trailing" constant="9" id="MRJ-mS-ERp"/>
  233. <constraint firstItem="xJ6-9s-4Dp" firstAttribute="centerY" secondItem="8ya-bf-jnR" secondAttribute="centerY" id="QRo-N3-bft"/>
  234. <constraint firstItem="xJ6-9s-4Dp" firstAttribute="leading" secondItem="8ya-bf-jnR" secondAttribute="leading" constant="18" id="Qno-pJ-qLk"/>
  235. <constraint firstAttribute="trailing" secondItem="bsh-mP-EHO" secondAttribute="trailing" constant="18" id="RHT-fW-csw"/>
  236. <constraint firstAttribute="width" secondItem="8ya-bf-jnR" secondAttribute="height" multiplier="34:8" id="rcN-wW-Qcw"/>
  237. <constraint firstItem="bsh-mP-EHO" firstAttribute="centerY" secondItem="8ya-bf-jnR" secondAttribute="centerY" id="xs3-4R-DGx"/>
  238. </constraints>
  239. <userDefinedRuntimeAttributes>
  240. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="16"/>
  241. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  242. </userDefinedRuntimeAttributes>
  243. </view>
  244. </subviews>
  245. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  246. <constraints>
  247. <constraint firstItem="Kbl-WG-ZWC" firstAttribute="centerX" secondItem="5d0-gu-6DK" secondAttribute="centerX" id="3uY-da-JT2"/>
  248. <constraint firstItem="uPo-GP-WtY" firstAttribute="centerX" secondItem="5d0-gu-6DK" secondAttribute="centerX" id="7KS-fJ-0OX"/>
  249. <constraint firstItem="uPo-GP-WtY" firstAttribute="height" secondItem="8ya-bf-jnR" secondAttribute="height" multiplier="0.941176" id="8w0-xa-8Ec"/>
  250. <constraint firstItem="8ya-bf-jnR" firstAttribute="centerX" secondItem="5d0-gu-6DK" secondAttribute="centerX" id="9WE-tn-gAl"/>
  251. <constraint firstItem="uPo-GP-WtY" firstAttribute="trailing" secondItem="8ya-bf-jnR" secondAttribute="trailing" id="FIV-L0-K0s"/>
  252. <constraint firstItem="Kbl-WG-ZWC" firstAttribute="top" secondItem="5d0-gu-6DK" secondAttribute="top" constant="96" id="JH1-aL-vio"/>
  253. <constraint firstItem="8ya-bf-jnR" firstAttribute="top" secondItem="uPo-GP-WtY" secondAttribute="bottom" constant="20" id="PZu-Eg-Rt7"/>
  254. <constraint firstItem="uPo-GP-WtY" firstAttribute="leading" secondItem="8ya-bf-jnR" secondAttribute="leading" id="Qzd-nq-aVv"/>
  255. <constraint firstAttribute="bottom" secondItem="8ya-bf-jnR" secondAttribute="bottom" id="mQv-H9-5Mv"/>
  256. </constraints>
  257. </view>
  258. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="dih-XE-4lS">
  259. <rect key="frame" x="23" y="551" width="359.33333333333331" height="70"/>
  260. <subviews>
  261. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VkB-sk-GuN">
  262. <rect key="frame" x="0.0" y="0.0" width="82.333333333333329" height="70"/>
  263. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  264. <state key="normal" image="icon_newair"/>
  265. <state key="selected" image="icon_newair_sel"/>
  266. <userDefinedRuntimeAttributes>
  267. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="16"/>
  268. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  269. </userDefinedRuntimeAttributes>
  270. <connections>
  271. <action selector="onNewAirPowerAction:" destination="-1" eventType="touchUpInside" id="vM8-xa-tNr"/>
  272. </connections>
  273. </button>
  274. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4FE-si-qMp">
  275. <rect key="frame" x="92.333333333333343" y="0.0" width="82.333333333333343" height="70"/>
  276. <constraints>
  277. <constraint firstAttribute="width" secondItem="4FE-si-qMp" secondAttribute="height" multiplier="100:85" id="uoc-6y-T8v"/>
  278. </constraints>
  279. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  280. <state key="normal" image="icon_on_1"/>
  281. <state key="selected" image="icon_on_sel_1"/>
  282. <userDefinedRuntimeAttributes>
  283. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="16"/>
  284. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  285. </userDefinedRuntimeAttributes>
  286. <connections>
  287. <action selector="onPowerAction:" destination="-1" eventType="touchUpInside" id="2bR-Ex-FNS"/>
  288. </connections>
  289. </button>
  290. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bXy-UU-gfP">
  291. <rect key="frame" x="184.66666666666666" y="0.0" width="82.333333333333343" height="70"/>
  292. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  293. <state key="normal" image="icon_sleep"/>
  294. <state key="selected" image="icon_sleep_sel"/>
  295. <connections>
  296. <action selector="onSleepAction:" destination="-1" eventType="touchUpInside" id="SKg-0M-qhu"/>
  297. </connections>
  298. </button>
  299. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eIS-2H-B8e">
  300. <rect key="frame" x="277" y="0.0" width="82.333333333333314" height="70"/>
  301. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  302. <state key="normal" title="" image="icon_time"/>
  303. <state key="selected" image="icon_time_sel"/>
  304. <userDefinedRuntimeAttributes>
  305. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="16"/>
  306. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  307. </userDefinedRuntimeAttributes>
  308. <connections>
  309. <action selector="onTimingAction:" destination="-1" eventType="touchUpInside" id="hsV-ad-8w6"/>
  310. </connections>
  311. </button>
  312. </subviews>
  313. <constraints>
  314. <constraint firstItem="eIS-2H-B8e" firstAttribute="width" secondItem="4FE-si-qMp" secondAttribute="width" id="Jnv-AO-smg"/>
  315. <constraint firstItem="4FE-si-qMp" firstAttribute="width" secondItem="VkB-sk-GuN" secondAttribute="width" id="b4E-NE-QDM"/>
  316. <constraint firstItem="4FE-si-qMp" firstAttribute="height" secondItem="VkB-sk-GuN" secondAttribute="height" id="sgn-um-Igj"/>
  317. <constraint firstItem="eIS-2H-B8e" firstAttribute="height" secondItem="4FE-si-qMp" secondAttribute="height" id="wNk-e2-3Cr"/>
  318. </constraints>
  319. </stackView>
  320. </subviews>
  321. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  322. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  323. <constraints>
  324. <constraint firstItem="5d0-gu-6DK" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="C2j-e6-WO3"/>
  325. <constraint firstItem="5d0-gu-6DK" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="EWh-G9-35V"/>
  326. <constraint firstItem="Kbl-WG-ZWC" firstAttribute="width" secondItem="i5M-Pr-FkT" secondAttribute="width" multiplier="290:390" id="GUZ-Ao-18M"/>
  327. <constraint firstItem="dih-XE-4lS" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="23" id="SxW-2a-T3Q"/>
  328. <constraint firstItem="8ya-bf-jnR" firstAttribute="width" secondItem="Q5M-cg-NOt" secondAttribute="width" multiplier="340:390" id="XBc-qX-5yd"/>
  329. <constraint firstItem="Q5M-cg-NOt" firstAttribute="bottom" secondItem="dih-XE-4lS" secondAttribute="bottom" constant="51" id="hxc-Od-O5B"/>
  330. <constraint firstItem="dih-XE-4lS" firstAttribute="top" secondItem="5d0-gu-6DK" secondAttribute="bottom" constant="60" id="j74-Kh-aju"/>
  331. <constraint firstItem="5d0-gu-6DK" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" id="leH-Yn-2Sh"/>
  332. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="dih-XE-4lS" secondAttribute="trailing" constant="23" id="mUt-ir-gUR"/>
  333. </constraints>
  334. <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" translucent="NO" prompted="NO"/>
  335. <point key="canvasLocation" x="130.40000000000001" y="18.440779610194905"/>
  336. </view>
  337. </objects>
  338. <resources>
  339. <image name="icon_add_1" width="40" height="40"/>
  340. <image name="icon_co2_g" width="28" height="28"/>
  341. <image name="icon_fan" width="22" height="22"/>
  342. <image name="icon_humidity_g" width="28" height="28"/>
  343. <image name="icon_newair" width="75" height="70"/>
  344. <image name="icon_newair_sel" width="75" height="70"/>
  345. <image name="icon_on_1" width="75" height="70"/>
  346. <image name="icon_on_sel_1" width="75" height="70"/>
  347. <image name="icon_pm2.5_g" width="28" height="28"/>
  348. <image name="icon_reduce" width="40" height="40"/>
  349. <image name="icon_sleep" width="75" height="70"/>
  350. <image name="icon_sleep_sel" width="75" height="70"/>
  351. <image name="icon_temperature_g" width="28" height="28"/>
  352. <image name="icon_time" width="75" height="70"/>
  353. <image name="icon_time_sel" width="75" height="70"/>
  354. <systemColor name="systemBackgroundColor">
  355. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  356. </systemColor>
  357. </resources>
  358. </document>