IHGatewayCell.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <customFonts key="customFonts">
  11. <array key="PingFangSC Heavy.ttf">
  12. <string>PingFang-SC-Heavy</string>
  13. </array>
  14. </customFonts>
  15. <objects>
  16. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  17. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  18. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="gatewayCell" rowHeight="136" id="phg-h1-X3y" customClass="IHGatewayCell" customModule="智能照明" customModuleProvider="target">
  19. <rect key="frame" x="0.0" y="0.0" width="393" height="136"/>
  20. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  21. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="phg-h1-X3y" id="u7J-pv-nQs">
  22. <rect key="frame" x="0.0" y="0.0" width="393" height="136"/>
  23. <autoresizingMask key="autoresizingMask"/>
  24. <subviews>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Lights-4738" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ncA-kV-WFI">
  26. <rect key="frame" x="62" y="24" width="95.5" height="22.5"/>
  27. <fontDescription key="fontDescription" name="PingFang-SC-Heavy" family="PingFang SC" pointSize="16"/>
  28. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dOg-LV-X9F">
  32. <rect key="frame" x="62" y="51.5" width="311" height="20"/>
  33. <subviews>
  34. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID:HG837827333" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SpW-2F-QWb">
  35. <rect key="frame" x="10" y="1.5" width="105.5" height="17"/>
  36. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  37. <color key="textColor" red="0.3411764706" green="0.2470588235" blue="0.58431372550000005" alpha="1" colorSpace="calibratedRGB"/>
  38. <nil key="highlightedColor"/>
  39. </label>
  40. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2018" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NRM-YP-kzz">
  41. <rect key="frame" x="274" y="1.5" width="27" height="17"/>
  42. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  43. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  44. <nil key="highlightedColor"/>
  45. </label>
  46. </subviews>
  47. <color key="backgroundColor" red="0.94117647058823528" green="0.94901960784313721" blue="0.96078431372549022" alpha="1" colorSpace="calibratedRGB"/>
  48. <constraints>
  49. <constraint firstItem="SpW-2F-QWb" firstAttribute="centerY" secondItem="dOg-LV-X9F" secondAttribute="centerY" id="4MI-JF-YaT"/>
  50. <constraint firstAttribute="trailing" secondItem="NRM-YP-kzz" secondAttribute="trailing" constant="10" id="6Pt-ut-LwN"/>
  51. <constraint firstAttribute="height" constant="20" id="b6t-a0-Peh"/>
  52. <constraint firstItem="NRM-YP-kzz" firstAttribute="centerY" secondItem="dOg-LV-X9F" secondAttribute="centerY" id="fmt-Y1-wlA"/>
  53. <constraint firstItem="SpW-2F-QWb" firstAttribute="leading" secondItem="dOg-LV-X9F" secondAttribute="leading" constant="10" id="hV0-Tp-ptd"/>
  54. </constraints>
  55. <userDefinedRuntimeAttributes>
  56. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  57. <real key="value" value="2"/>
  58. </userDefinedRuntimeAttribute>
  59. </userDefinedRuntimeAttributes>
  60. </view>
  61. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qg0-Q4-9Wr">
  62. <rect key="frame" x="20" y="20" width="30" height="30"/>
  63. <subviews>
  64. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="gateway_Information" translatesAutoresizingMaskIntoConstraints="NO" id="iB8-Nj-kwT">
  65. <rect key="frame" x="0.0" y="0.0" width="30" height="30"/>
  66. <constraints>
  67. <constraint firstAttribute="height" constant="30" id="5wJ-zv-SEM"/>
  68. <constraint firstAttribute="width" constant="30" id="h9H-dk-EvJ"/>
  69. </constraints>
  70. <userDefinedRuntimeAttributes>
  71. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  72. <real key="value" value="15"/>
  73. </userDefinedRuntimeAttribute>
  74. </userDefinedRuntimeAttributes>
  75. </imageView>
  76. </subviews>
  77. <color key="backgroundColor" red="0.019607843140000001" green="0.81176470590000005" blue="0.6705882353" alpha="0.10000000000000001" colorSpace="custom" customColorSpace="sRGB"/>
  78. <constraints>
  79. <constraint firstAttribute="height" constant="30" id="K5o-sR-6ha"/>
  80. <constraint firstItem="iB8-Nj-kwT" firstAttribute="centerX" secondItem="Qg0-Q4-9Wr" secondAttribute="centerX" id="b7k-kV-pC5"/>
  81. <constraint firstItem="iB8-Nj-kwT" firstAttribute="centerY" secondItem="Qg0-Q4-9Wr" secondAttribute="centerY" id="gTB-J9-rv8"/>
  82. <constraint firstAttribute="width" constant="30" id="yRM-1a-2q8"/>
  83. </constraints>
  84. <userDefinedRuntimeAttributes>
  85. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  86. <real key="value" value="15"/>
  87. </userDefinedRuntimeAttribute>
  88. </userDefinedRuntimeAttributes>
  89. </view>
  90. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="网关" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aZe-WJ-Q0t">
  91. <rect key="frame" x="345" y="25" width="28" height="20"/>
  92. <fontDescription key="fontDescription" name="PingFang-SC-Heavy" family="PingFang SC" pointSize="14"/>
  93. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  94. <nil key="highlightedColor"/>
  95. </label>
  96. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="硬件版本" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kJL-1A-Si3">
  97. <rect key="frame" x="72" y="81.5" width="48" height="17"/>
  98. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  99. <color key="textColor" red="0.67450980390000004" green="0.70588235290000001" blue="0.74117647060000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  100. <nil key="highlightedColor"/>
  101. </label>
  102. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="软件版本" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZXK-a8-mC8">
  103. <rect key="frame" x="325" y="81.5" width="48" height="17"/>
  104. <constraints>
  105. <constraint firstAttribute="height" constant="17" id="iaF-2t-h3h"/>
  106. </constraints>
  107. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  108. <color key="textColor" red="0.67450980390000004" green="0.70588235290000001" blue="0.74117647060000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  109. <nil key="highlightedColor"/>
  110. </label>
  111. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="无" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="coy-Kg-hMB">
  112. <rect key="frame" x="359" y="100.5" width="14" height="20"/>
  113. <constraints>
  114. <constraint firstAttribute="height" constant="20" id="Nx3-Dz-XGC"/>
  115. </constraints>
  116. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="14"/>
  117. <nil key="textColor"/>
  118. <nil key="highlightedColor"/>
  119. </label>
  120. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="000" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jvb-QE-oBU">
  121. <rect key="frame" x="72" y="100.5" width="25.5" height="20"/>
  122. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="14"/>
  123. <nil key="textColor"/>
  124. <nil key="highlightedColor"/>
  125. </label>
  126. </subviews>
  127. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  128. <constraints>
  129. <constraint firstItem="Jvb-QE-oBU" firstAttribute="top" secondItem="kJL-1A-Si3" secondAttribute="bottom" constant="2" id="0Lg-wE-QwY"/>
  130. <constraint firstItem="dOg-LV-X9F" firstAttribute="trailing" secondItem="aZe-WJ-Q0t" secondAttribute="trailing" id="0P3-Ff-3Ze"/>
  131. <constraint firstItem="ZXK-a8-mC8" firstAttribute="top" secondItem="dOg-LV-X9F" secondAttribute="bottom" constant="10" id="3PT-98-VJB"/>
  132. <constraint firstItem="aZe-WJ-Q0t" firstAttribute="centerY" secondItem="ncA-kV-WFI" secondAttribute="centerY" id="FbA-DK-NbV"/>
  133. <constraint firstItem="coy-Kg-hMB" firstAttribute="top" secondItem="ZXK-a8-mC8" secondAttribute="bottom" constant="2" id="IKq-WZ-o34"/>
  134. <constraint firstItem="coy-Kg-hMB" firstAttribute="trailing" secondItem="ZXK-a8-mC8" secondAttribute="trailing" id="O3y-p9-SNW"/>
  135. <constraint firstItem="dOg-LV-X9F" firstAttribute="leading" secondItem="ncA-kV-WFI" secondAttribute="leading" id="PYV-lt-q00"/>
  136. <constraint firstItem="Jvb-QE-oBU" firstAttribute="leading" secondItem="kJL-1A-Si3" secondAttribute="leading" id="Pkj-wb-74D"/>
  137. <constraint firstItem="ZXK-a8-mC8" firstAttribute="trailing" secondItem="dOg-LV-X9F" secondAttribute="trailing" id="WFn-a6-50j"/>
  138. <constraint firstAttribute="trailing" secondItem="aZe-WJ-Q0t" secondAttribute="trailing" constant="20" id="buA-fu-RKK"/>
  139. <constraint firstItem="kJL-1A-Si3" firstAttribute="top" secondItem="dOg-LV-X9F" secondAttribute="bottom" constant="10" id="c0M-cX-Xmu"/>
  140. <constraint firstItem="ncA-kV-WFI" firstAttribute="centerY" secondItem="Qg0-Q4-9Wr" secondAttribute="centerY" id="gTm-Tb-d9p"/>
  141. <constraint firstItem="Qg0-Q4-9Wr" firstAttribute="top" secondItem="u7J-pv-nQs" secondAttribute="top" constant="20" id="nCc-4h-dV7"/>
  142. <constraint firstItem="Qg0-Q4-9Wr" firstAttribute="leading" secondItem="u7J-pv-nQs" secondAttribute="leading" constant="20" id="rFr-hQ-88J"/>
  143. <constraint firstItem="kJL-1A-Si3" firstAttribute="leading" secondItem="SpW-2F-QWb" secondAttribute="leading" id="uLm-ao-LUC"/>
  144. <constraint firstItem="dOg-LV-X9F" firstAttribute="top" secondItem="ncA-kV-WFI" secondAttribute="bottom" constant="5" id="wLo-VZ-akV"/>
  145. <constraint firstItem="ncA-kV-WFI" firstAttribute="leading" secondItem="Qg0-Q4-9Wr" secondAttribute="trailing" constant="12" id="yuC-vF-6y7"/>
  146. </constraints>
  147. <userDefinedRuntimeAttributes>
  148. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  149. <real key="value" value="15"/>
  150. </userDefinedRuntimeAttribute>
  151. </userDefinedRuntimeAttributes>
  152. </tableViewCellContentView>
  153. <viewLayoutGuide key="safeArea" id="cdx-UM-Ndu"/>
  154. <connections>
  155. <outlet property="gatewayIdLabel" destination="SpW-2F-QWb" id="vcJ-DN-Tn2"/>
  156. <outlet property="gatewayNameLabel" destination="ncA-kV-WFI" id="vFY-U6-f5C"/>
  157. <outlet property="hardwareVersion" destination="Jvb-QE-oBU" id="w1f-UG-5Oh"/>
  158. <outlet property="roomNumberLabel" destination="NRM-YP-kzz" id="i5k-AE-xIR"/>
  159. <outlet property="softwareVersionLabel" destination="coy-Kg-hMB" id="PG8-9q-7hF"/>
  160. </connections>
  161. <point key="canvasLocation" x="52.898550724637687" y="89.732142857142847"/>
  162. </tableViewCell>
  163. </objects>
  164. <resources>
  165. <image name="gateway_Information" width="60" height="60"/>
  166. </resources>
  167. </document>