SBTSetLoadVCtr.xib 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <customFonts key="customFonts">
  13. <array key="PingFangSC Heavy.ttf">
  14. <string>PingFang-SC-Heavy</string>
  15. </array>
  16. </customFonts>
  17. <objects>
  18. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="SBTSetLoadVCtr" customModule="SolarBT" customModuleProvider="target">
  19. <connections>
  20. <outlet property="cancelBtn" destination="ykA-PT-aM2" id="3oP-HE-wFt"/>
  21. <outlet property="closeLabel" destination="cL9-0V-VPl" id="KfX-g5-av0"/>
  22. <outlet property="lightDelayTime" destination="1b6-Wu-7IR" id="HY0-Of-Myk"/>
  23. <outlet property="lightDelayTimeBox" destination="0Pz-fa-uqE" id="L2e-Mw-dhm"/>
  24. <outlet property="lightDelayTimeLabel" destination="7SD-bX-7Ne" id="mWM-wj-saH"/>
  25. <outlet property="lightVoltage" destination="ejK-6S-0ds" id="DM9-oE-uHK"/>
  26. <outlet property="lightVoltageBox" destination="SaD-Cj-deY" id="Vbm-3r-aIe"/>
  27. <outlet property="lightVoltageLabel" destination="7Xo-ss-rnQ" id="o2J-1n-WAW"/>
  28. <outlet property="loadSettintLabel" destination="CHd-Ge-Q2n" id="tcN-gl-V9D"/>
  29. <outlet property="loadWorkModeBox" destination="3lD-5d-SoB" id="Etd-Tx-XBt"/>
  30. <outlet property="loadWorkmode" destination="jnj-ix-5QT" id="lzB-rd-QNA"/>
  31. <outlet property="loadworkModeLabel" destination="uGe-IN-eFv" id="LBI-ye-3LL"/>
  32. <outlet property="saveBtn" destination="Mvt-vl-93F" id="tPp-iX-AWY"/>
  33. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  34. </connections>
  35. </placeholder>
  36. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  37. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  38. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  39. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  40. <subviews>
  41. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZAl-XS-eX1">
  42. <rect key="frame" x="0.0" y="176" width="375" height="315"/>
  43. <subviews>
  44. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="负载设置" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CHd-Ge-Q2n">
  45. <rect key="frame" x="25" y="8" width="64" height="22.5"/>
  46. <fontDescription key="fontDescription" name="PingFang-SC-Heavy" family="PingFang SC" pointSize="16"/>
  47. <color key="textColor" red="0.99215686270000003" green="0.5450980392" blue="0.13725490200000001" alpha="1" colorSpace="calibratedRGB"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收起" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cL9-0V-VPl">
  51. <rect key="frame" x="326" y="10" width="24" height="17"/>
  52. <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
  53. <color key="textColor" red="0.62352941179999999" green="0.62352941179999999" blue="0.62352941179999999" alpha="1" colorSpace="calibratedRGB"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0Pz-fa-uqE">
  57. <rect key="frame" x="200" y="51.5" width="150" height="89"/>
  58. <subviews>
  59. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="光控延时时间(min)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7SD-bX-7Ne" userLabel="光控延时时间">
  60. <rect key="frame" x="15" y="20" width="92" height="15.5"/>
  61. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
  62. <color key="textColor" red="0.1333333333" green="0.1333333333" blue="0.1333333333" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  63. <nil key="highlightedColor"/>
  64. </label>
  65. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="1b6-Wu-7IR">
  66. <rect key="frame" x="15" y="43.5" width="120" height="23"/>
  67. <nil key="textColor"/>
  68. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="16"/>
  69. <textInputTraits key="textInputTraits" keyboardType="numberPad"/>
  70. </textField>
  71. </subviews>
  72. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  73. <constraints>
  74. <constraint firstAttribute="height" constant="89" id="9JC-Mr-5bE"/>
  75. <constraint firstItem="1b6-Wu-7IR" firstAttribute="leading" secondItem="0Pz-fa-uqE" secondAttribute="leading" constant="15" id="EgU-4n-THe"/>
  76. <constraint firstAttribute="trailing" secondItem="1b6-Wu-7IR" secondAttribute="trailing" constant="15" id="ImT-gi-sSk"/>
  77. <constraint firstItem="7SD-bX-7Ne" firstAttribute="top" secondItem="0Pz-fa-uqE" secondAttribute="top" constant="20" id="KJl-eU-Dsa"/>
  78. <constraint firstItem="7SD-bX-7Ne" firstAttribute="leading" secondItem="0Pz-fa-uqE" secondAttribute="leading" constant="15" id="wNA-Ve-IzX"/>
  79. <constraint firstItem="1b6-Wu-7IR" firstAttribute="top" secondItem="7SD-bX-7Ne" secondAttribute="bottom" constant="8" id="xLI-0n-wCZ"/>
  80. </constraints>
  81. <userDefinedRuntimeAttributes>
  82. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  83. <color key="value" red="0.82352941180000006" green="0.82352941180000006" blue="0.82352941180000006" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  84. </userDefinedRuntimeAttribute>
  85. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  86. <real key="value" value="1"/>
  87. </userDefinedRuntimeAttribute>
  88. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  89. <real key="value" value="5"/>
  90. </userDefinedRuntimeAttribute>
  91. </userDefinedRuntimeAttributes>
  92. </view>
  93. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3lD-5d-SoB">
  94. <rect key="frame" x="25" y="51.5" width="150" height="89"/>
  95. <subviews>
  96. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="手动模式" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jnj-ix-5QT">
  97. <rect key="frame" x="15" y="49.5" width="120" height="22.5"/>
  98. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="16"/>
  99. <color key="textColor" red="0.73333333329999995" green="0.73333333329999995" blue="0.73333333329999995" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  100. <nil key="highlightedColor"/>
  101. </label>
  102. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="负载工作模式" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uGe-IN-eFv">
  103. <rect key="frame" x="15" y="20" width="66" height="15.5"/>
  104. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
  105. <color key="textColor" red="0.1333333333" green="0.1333333333" blue="0.1333333333" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  106. <nil key="highlightedColor"/>
  107. </label>
  108. </subviews>
  109. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  110. <constraints>
  111. <constraint firstItem="jnj-ix-5QT" firstAttribute="leading" secondItem="3lD-5d-SoB" secondAttribute="leading" constant="15" id="6mN-qw-iyg"/>
  112. <constraint firstAttribute="height" constant="89" id="Cnz-L5-9Ge"/>
  113. <constraint firstAttribute="trailing" secondItem="jnj-ix-5QT" secondAttribute="trailing" constant="15" id="dUn-iq-fgS"/>
  114. <constraint firstItem="uGe-IN-eFv" firstAttribute="top" secondItem="3lD-5d-SoB" secondAttribute="top" constant="20" id="fMV-zE-dkC"/>
  115. <constraint firstItem="uGe-IN-eFv" firstAttribute="leading" secondItem="3lD-5d-SoB" secondAttribute="leading" constant="15" id="jHa-hj-stw"/>
  116. <constraint firstAttribute="bottom" secondItem="jnj-ix-5QT" secondAttribute="bottom" constant="17" id="qXN-0S-ldl"/>
  117. </constraints>
  118. <userDefinedRuntimeAttributes>
  119. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  120. <color key="value" red="0.82352941180000006" green="0.82352941180000006" blue="0.82352941180000006" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  121. </userDefinedRuntimeAttribute>
  122. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  123. <real key="value" value="1"/>
  124. </userDefinedRuntimeAttribute>
  125. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  126. <real key="value" value="5"/>
  127. </userDefinedRuntimeAttribute>
  128. </userDefinedRuntimeAttributes>
  129. </view>
  130. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="SaD-Cj-deY">
  131. <rect key="frame" x="25" y="155.5" width="150" height="89"/>
  132. <subviews>
  133. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="光控电压(V)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Xo-ss-rnQ">
  134. <rect key="frame" x="15" y="20" width="58.5" height="15.5"/>
  135. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
  136. <color key="textColor" red="0.1333333333" green="0.1333333333" blue="0.1333333333" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  137. <nil key="highlightedColor"/>
  138. </label>
  139. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="ejK-6S-0ds">
  140. <rect key="frame" x="15" y="43.5" width="120" height="23"/>
  141. <color key="textColor" red="0.13333333333333333" green="0.13333333333333333" blue="0.13333333333333333" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  142. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="16"/>
  143. <textInputTraits key="textInputTraits" keyboardType="numberPad"/>
  144. </textField>
  145. </subviews>
  146. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  147. <constraints>
  148. <constraint firstItem="7Xo-ss-rnQ" firstAttribute="top" secondItem="SaD-Cj-deY" secondAttribute="top" constant="20" id="GKn-4M-Ox3"/>
  149. <constraint firstItem="7Xo-ss-rnQ" firstAttribute="leading" secondItem="SaD-Cj-deY" secondAttribute="leading" constant="15" id="IIy-0l-jqf"/>
  150. <constraint firstAttribute="trailing" secondItem="ejK-6S-0ds" secondAttribute="trailing" constant="15" id="PdU-w7-xB7"/>
  151. <constraint firstAttribute="height" constant="89" id="UJa-1T-2LV"/>
  152. <constraint firstItem="ejK-6S-0ds" firstAttribute="top" secondItem="7Xo-ss-rnQ" secondAttribute="bottom" constant="8" id="YWE-6Z-LLJ"/>
  153. <constraint firstItem="ejK-6S-0ds" firstAttribute="leading" secondItem="7Xo-ss-rnQ" secondAttribute="leading" id="cMV-2c-nIO"/>
  154. </constraints>
  155. <userDefinedRuntimeAttributes>
  156. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  157. <color key="value" red="0.82352941180000006" green="0.82352941180000006" blue="0.82352941180000006" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  158. </userDefinedRuntimeAttribute>
  159. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  160. <real key="value" value="1"/>
  161. </userDefinedRuntimeAttribute>
  162. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  163. <real key="value" value="5"/>
  164. </userDefinedRuntimeAttribute>
  165. </userDefinedRuntimeAttributes>
  166. </view>
  167. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Mvt-vl-93F">
  168. <rect key="frame" x="268" y="255" width="79" height="45"/>
  169. <constraints>
  170. <constraint firstAttribute="width" constant="79" id="GMh-jO-Hnd"/>
  171. <constraint firstAttribute="height" constant="45" id="JuA-iV-Geu"/>
  172. </constraints>
  173. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="14"/>
  174. <state key="normal" title="保存">
  175. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  176. </state>
  177. <userDefinedRuntimeAttributes>
  178. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  179. <real key="value" value="23"/>
  180. </userDefinedRuntimeAttribute>
  181. </userDefinedRuntimeAttributes>
  182. <connections>
  183. <action selector="saveAction:" destination="-1" eventType="touchUpInside" id="9gE-NY-ygb"/>
  184. </connections>
  185. </button>
  186. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ykA-PT-aM2">
  187. <rect key="frame" x="183" y="255" width="70" height="45"/>
  188. <constraints>
  189. <constraint firstAttribute="height" constant="45" id="DMf-c0-5Pk"/>
  190. <constraint firstAttribute="width" constant="70" id="ZH8-Lk-PWf"/>
  191. </constraints>
  192. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="14"/>
  193. <state key="normal" title="取消">
  194. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  195. </state>
  196. <userDefinedRuntimeAttributes>
  197. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  198. <real key="value" value="23"/>
  199. </userDefinedRuntimeAttribute>
  200. </userDefinedRuntimeAttributes>
  201. <connections>
  202. <action selector="cancelAction:" destination="-1" eventType="touchUpInside" id="Umy-rO-8cM"/>
  203. </connections>
  204. </button>
  205. </subviews>
  206. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  207. <constraints>
  208. <constraint firstAttribute="trailing" secondItem="0Pz-fa-uqE" secondAttribute="trailing" constant="25" id="0Kv-gl-tDR"/>
  209. <constraint firstItem="0Pz-fa-uqE" firstAttribute="width" secondItem="3lD-5d-SoB" secondAttribute="width" id="180-N0-sm8"/>
  210. <constraint firstItem="0Pz-fa-uqE" firstAttribute="leading" secondItem="3lD-5d-SoB" secondAttribute="trailing" constant="25" id="BAP-8U-H7o"/>
  211. <constraint firstItem="0Pz-fa-uqE" firstAttribute="top" secondItem="3lD-5d-SoB" secondAttribute="top" id="EJ0-wA-Tpu"/>
  212. <constraint firstAttribute="trailing" secondItem="cL9-0V-VPl" secondAttribute="trailing" constant="25" id="GBh-6P-oVn"/>
  213. <constraint firstItem="CHd-Ge-Q2n" firstAttribute="top" secondItem="ZAl-XS-eX1" secondAttribute="top" constant="8" id="N9t-dx-Shg"/>
  214. <constraint firstItem="cL9-0V-VPl" firstAttribute="top" secondItem="ZAl-XS-eX1" secondAttribute="top" constant="10" id="TIB-7z-XfD"/>
  215. <constraint firstItem="SaD-Cj-deY" firstAttribute="leading" secondItem="3lD-5d-SoB" secondAttribute="leading" id="TQ2-7T-HAs"/>
  216. <constraint firstItem="3lD-5d-SoB" firstAttribute="top" secondItem="CHd-Ge-Q2n" secondAttribute="bottom" constant="21" id="duB-6O-3vi"/>
  217. <constraint firstItem="CHd-Ge-Q2n" firstAttribute="leading" secondItem="ZAl-XS-eX1" secondAttribute="leading" constant="25" id="eyY-Wq-s90"/>
  218. <constraint firstItem="SaD-Cj-deY" firstAttribute="top" secondItem="3lD-5d-SoB" secondAttribute="bottom" constant="15" id="fvN-UZ-Qx5"/>
  219. <constraint firstAttribute="bottom" secondItem="Mvt-vl-93F" secondAttribute="bottom" constant="15" id="iHv-9a-rhr"/>
  220. <constraint firstItem="3lD-5d-SoB" firstAttribute="leading" secondItem="ZAl-XS-eX1" secondAttribute="leading" constant="25" id="jlT-gs-KRc"/>
  221. <constraint firstAttribute="bottom" secondItem="ykA-PT-aM2" secondAttribute="bottom" constant="15" id="qYO-Xx-yOj"/>
  222. <constraint firstItem="Mvt-vl-93F" firstAttribute="leading" secondItem="ykA-PT-aM2" secondAttribute="trailing" constant="15" id="rsb-yP-SGc"/>
  223. <constraint firstItem="0Pz-fa-uqE" firstAttribute="leading" secondItem="3lD-5d-SoB" secondAttribute="trailing" constant="25" id="rvU-9Q-pDL"/>
  224. <constraint firstAttribute="height" constant="315" id="sDN-gd-pnt"/>
  225. <constraint firstAttribute="trailing" secondItem="Mvt-vl-93F" secondAttribute="trailing" constant="28" id="tO3-64-QDA"/>
  226. <constraint firstItem="SaD-Cj-deY" firstAttribute="width" secondItem="3lD-5d-SoB" secondAttribute="width" id="umP-dH-94f"/>
  227. </constraints>
  228. </view>
  229. </subviews>
  230. <color key="backgroundColor" red="1" green="1" blue="1" alpha="0.83999999999999997" colorSpace="custom" customColorSpace="sRGB"/>
  231. <constraints>
  232. <constraint firstItem="ZAl-XS-eX1" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="5aw-9m-Pwp"/>
  233. <constraint firstItem="ZAl-XS-eX1" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="Xse-Zj-uWv"/>
  234. <constraint firstItem="ZAl-XS-eX1" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="Xya-su-Krf"/>
  235. </constraints>
  236. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  237. </view>
  238. </objects>
  239. </document>