123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
- <device id="retina6_1" orientation="portrait" appearance="light"/>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
- <capability name="Safe area layout guides" minToolsVersion="9.0"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <customFonts key="customFonts">
- <array key="Alibaba-PuHuiTi-Regular.otf">
- <string>AlibabaPuHuiTiR</string>
- </array>
- <array key="PingFangSC Heavy.ttf">
- <string>PingFang-SC-Heavy</string>
- </array>
- </customFonts>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="associated" rowHeight="99" id="PCD-jZ-mbt" customClass="IHAssociatedGatewayCell" customModule="智能照明" customModuleProvider="target">
- <rect key="frame" x="0.0" y="0.0" width="317" height="99"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="PCD-jZ-mbt" id="Jdl-ui-2J0">
- <rect key="frame" x="0.0" y="0.0" width="317" height="99"/>
- <autoresizingMask key="autoresizingMask"/>
- <subviews>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="全开" translatesAutoresizingMaskIntoConstraints="NO" id="Ul1-fr-Tbu">
- <rect key="frame" x="23.5" y="17" width="40" height="40"/>
- <constraints>
- <constraint firstAttribute="height" constant="40" id="nYo-cF-hB1"/>
- <constraint firstAttribute="width" constant="40" id="phU-sA-4KK"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
- <real key="value" value="20"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </imageView>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="09w-oj-M41">
- <rect key="frame" x="75.5" y="17" width="39" height="20"/>
- <constraints>
- <constraint firstAttribute="height" constant="20" id="tTT-NO-P6V"/>
- </constraints>
- <fontDescription key="fontDescription" name="PingFang-SC-Heavy" family="PingFang SC" pointSize="14"/>
- <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="信号_弱" translatesAutoresizingMaskIntoConstraints="NO" id="IvB-Lv-XIe">
- <rect key="frame" x="119.5" y="21" width="12.5" height="12.5"/>
- <constraints>
- <constraint firstAttribute="height" constant="12.5" id="dd8-4T-n3S"/>
- <constraint firstAttribute="width" constant="12.5" id="xpA-FM-PbR"/>
- </constraints>
- </imageView>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID73823789" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="T12-j3-T8m">
- <rect key="frame" x="75.5" y="39" width="61.5" height="15.5"/>
- <constraints>
- <constraint firstAttribute="height" constant="15.5" id="LBA-dq-MdA"/>
- </constraints>
- <fontDescription key="fontDescription" name="AlibabaPuHuiTiR" family="Alibaba PuHuiTi" pointSize="11"/>
- <color key="textColor" red="0.39607843139999999" green="0.43921568630000002" blue="0.52156862749999999" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uwe-hf-dOa">
- <rect key="frame" x="279" y="22" width="30" height="30"/>
- <constraints>
- <constraint firstAttribute="width" constant="30" id="cxm-YK-8UF"/>
- <constraint firstAttribute="height" constant="30" id="xNx-86-Uz1"/>
- </constraints>
- <state key="normal" image="禁止"/>
- <connections>
- <action selector="forbidAction:" destination="PCD-jZ-mbt" eventType="touchUpInside" id="zmN-XQ-JPN"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="SuU-Yo-N9U">
- <rect key="frame" x="229" y="22" width="30" height="30"/>
- <constraints>
- <constraint firstAttribute="width" constant="30" id="Ncr-6m-a8B"/>
- <constraint firstAttribute="height" constant="30" id="kfX-k9-rTN"/>
- </constraints>
- <state key="normal" image="关灯"/>
- <state key="selected" image="开灯"/>
- <connections>
- <action selector="turnOnOrOff:" destination="PCD-jZ-mbt" eventType="touchUpInside" id="n7E-nF-BHL"/>
- </connections>
- </button>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dNK-mQ-SgS">
- <rect key="frame" x="75.5" y="65" width="233.5" height="21"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="关联设备" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yeB-Aw-nyV">
- <rect key="frame" x="13" y="3" width="50" height="15"/>
- <constraints>
- <constraint firstAttribute="height" constant="15" id="9i6-Sn-cqV"/>
- <constraint firstAttribute="width" constant="50" id="fMs-lE-vfU"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <color key="textColor" red="0.396078431372549" green="0.4392156862745098" blue="0.52156862745098043" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="教室灯" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JmT-CM-dr8">
- <rect key="frame" x="174" y="3" width="37" height="15"/>
- <constraints>
- <constraint firstAttribute="height" constant="15" id="bZ9-sS-WmC"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <color key="textColor" red="0.396078431372549" green="0.4392156862745098" blue="0.52156862745098043" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="byM-s5-NWA">
- <rect key="frame" x="211" y="0.0" width="22" height="21"/>
- <constraints>
- <constraint firstAttribute="width" constant="22" id="Nuu-fJ-HCn"/>
- </constraints>
- <state key="normal" image="youpoint"/>
- </button>
- </subviews>
- <color key="backgroundColor" red="0.96470588235294119" green="0.97254901960784312" blue="0.98039215686274506" alpha="1" colorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstAttribute="trailing" secondItem="byM-s5-NWA" secondAttribute="trailing" constant="0.5" id="8Kz-0j-Lth"/>
- <constraint firstAttribute="bottom" secondItem="byM-s5-NWA" secondAttribute="bottom" id="BTU-1o-WYi"/>
- <constraint firstItem="yeB-Aw-nyV" firstAttribute="leading" secondItem="dNK-mQ-SgS" secondAttribute="leading" constant="13" id="Gqc-Hs-21M"/>
- <constraint firstItem="yeB-Aw-nyV" firstAttribute="centerY" secondItem="dNK-mQ-SgS" secondAttribute="centerY" id="JHF-Be-5MR"/>
- <constraint firstItem="byM-s5-NWA" firstAttribute="leading" secondItem="JmT-CM-dr8" secondAttribute="trailing" id="TQT-k6-9dH"/>
- <constraint firstItem="JmT-CM-dr8" firstAttribute="centerY" secondItem="dNK-mQ-SgS" secondAttribute="centerY" id="WJc-JW-Orm"/>
- <constraint firstAttribute="height" constant="21" id="aEc-yM-vii"/>
- <constraint firstItem="byM-s5-NWA" firstAttribute="top" secondItem="dNK-mQ-SgS" secondAttribute="top" id="c66-vu-AbQ"/>
- </constraints>
- </view>
- </subviews>
- <constraints>
- <constraint firstItem="uwe-hf-dOa" firstAttribute="top" secondItem="Jdl-ui-2J0" secondAttribute="top" constant="22" id="3x7-In-WSe"/>
- <constraint firstItem="IvB-Lv-XIe" firstAttribute="leading" secondItem="09w-oj-M41" secondAttribute="trailing" constant="5" id="4Cl-9P-AUz"/>
- <constraint firstItem="SuU-Yo-N9U" firstAttribute="top" secondItem="Jdl-ui-2J0" secondAttribute="top" constant="22" id="GgL-kx-Y4q"/>
- <constraint firstItem="T12-j3-T8m" firstAttribute="leading" secondItem="Ul1-fr-Tbu" secondAttribute="trailing" constant="12" id="Ien-O7-Ub0"/>
- <constraint firstItem="uwe-hf-dOa" firstAttribute="leading" secondItem="SuU-Yo-N9U" secondAttribute="trailing" constant="20" id="Ik4-GN-9za"/>
- <constraint firstItem="Ul1-fr-Tbu" firstAttribute="leading" secondItem="Jdl-ui-2J0" secondAttribute="leading" constant="23.5" id="JXD-a3-Lrz"/>
- <constraint firstItem="09w-oj-M41" firstAttribute="leading" secondItem="Ul1-fr-Tbu" secondAttribute="trailing" constant="12" id="Mu0-r0-qqc"/>
- <constraint firstItem="Ul1-fr-Tbu" firstAttribute="top" secondItem="Jdl-ui-2J0" secondAttribute="top" constant="17" id="OvF-R0-ms3"/>
- <constraint firstItem="IvB-Lv-XIe" firstAttribute="top" secondItem="Jdl-ui-2J0" secondAttribute="top" constant="21" id="PFk-iz-1Eq"/>
- <constraint firstItem="dNK-mQ-SgS" firstAttribute="leading" secondItem="Jdl-ui-2J0" secondAttribute="leading" constant="75.5" id="TEE-T5-Ny5"/>
- <constraint firstItem="T12-j3-T8m" firstAttribute="top" secondItem="09w-oj-M41" secondAttribute="bottom" constant="2" id="Xxy-PC-L1C"/>
- <constraint firstItem="dNK-mQ-SgS" firstAttribute="top" secondItem="Ul1-fr-Tbu" secondAttribute="bottom" constant="8" id="e8x-bb-YqP"/>
- <constraint firstItem="09w-oj-M41" firstAttribute="top" secondItem="Jdl-ui-2J0" secondAttribute="top" constant="17" id="gKv-Dl-gNJ"/>
- <constraint firstAttribute="trailing" secondItem="uwe-hf-dOa" secondAttribute="trailing" constant="8" id="sRD-3J-kBL"/>
- <constraint firstAttribute="trailing" secondItem="dNK-mQ-SgS" secondAttribute="trailing" constant="8" id="vbr-Ca-zWM"/>
- </constraints>
- </tableViewCellContentView>
- <viewLayoutGuide key="safeArea" id="OS1-9P-16B"/>
- <connections>
- <outlet property="devIcon" destination="Ul1-fr-Tbu" id="cbd-El-dtn"/>
- <outlet property="devId" destination="T12-j3-T8m" id="hgZ-wA-18n"/>
- <outlet property="devName" destination="09w-oj-M41" id="SEC-bF-e0h"/>
- <outlet property="deviceTypeLabel" destination="JmT-CM-dr8" id="OK5-3T-zsq"/>
- <outlet property="lampTurnOnBtn" destination="SuU-Yo-N9U" id="fl6-rM-NUm"/>
- </connections>
- <point key="canvasLocation" x="116.66666666666667" y="27.120535714285712"/>
- </tableViewCell>
- </objects>
- <resources>
- <image name="youpoint" width="8" height="8"/>
- <image name="信号_弱" width="12" height="9"/>
- <image name="全开" width="36" height="36"/>
- <image name="关灯" width="30" height="30"/>
- <image name="开灯" width="30" height="30"/>
- <image name="禁止" width="30" height="30"/>
- </resources>
- </document>
|