ifish/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/ElectricityView.xib

158 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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="19519"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="N2a-Po-JOp" customClass="ElectricityView">
<rect key="frame" x="0.0" y="0.0" width="414" height="210"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4Qf-DG-52V" userLabel="backView">
<rect key="frame" x="0.0" y="44" width="414" height="166"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pww-SJ-9UO" userLabel="h">
<rect key="frame" x="15" y="121" width="384" height="1"/>
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="VV7-UY-80g"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="feW-KG-pge">
<rect key="frame" x="107" y="41" width="200" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="JYd-mR-tbg"/>
<constraint firstAttribute="width" constant="200" id="YEK-uK-nfz"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="33"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="今日电量(kwh)" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TlN-UU-bfn" userLabel="day">
<rect key="frame" x="107" y="71" width="200" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="uWc-0K-bUB"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wFK-LA-M1Q" userLabel="v">
<rect key="frame" x="206.5" y="122" width="1" height="44"/>
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="1" id="s4e-66-efB"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="当前功率(w)" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ol0-Oy-fGu" userLabel="ratingLabel">
<rect key="frame" x="0.0" y="122" width="206.5" height="22"/>
<constraints>
<constraint firstAttribute="height" constant="22" id="8pi-6I-czO"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="月用电量(kwh)" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NGi-wj-8PK" userLabel="powerLabel">
<rect key="frame" x="206.5" y="122" width="207.5" height="22"/>
<constraints>
<constraint firstAttribute="height" constant="22" id="aKb-46-SkF"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="29d-RV-1qC" userLabel="rating">
<rect key="frame" x="0.0" y="144" width="206.5" height="22"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="W44-9Q-CNb" userLabel="monthPower">
<rect key="frame" x="207.5" y="144" width="206.5" height="22"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="0.87058823529411766" green="0.38431372549019605" blue="0.28627450980392155" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="W44-9Q-CNb" firstAttribute="top" secondItem="NGi-wj-8PK" secondAttribute="bottom" id="3qB-Jr-QOs"/>
<constraint firstItem="W44-9Q-CNb" firstAttribute="leading" secondItem="wFK-LA-M1Q" secondAttribute="trailing" id="5hW-oQ-GMh"/>
<constraint firstItem="pww-SJ-9UO" firstAttribute="leading" secondItem="4Qf-DG-52V" secondAttribute="leading" constant="15" id="7Gk-Al-oGx"/>
<constraint firstItem="ol0-Oy-fGu" firstAttribute="top" secondItem="pww-SJ-9UO" secondAttribute="bottom" id="7TK-ud-1KZ"/>
<constraint firstItem="wFK-LA-M1Q" firstAttribute="top" secondItem="pww-SJ-9UO" secondAttribute="bottom" id="9Ka-d4-SbC"/>
<constraint firstItem="29d-RV-1qC" firstAttribute="leading" secondItem="4Qf-DG-52V" secondAttribute="leading" id="Dfg-Zb-6Gn"/>
<constraint firstItem="29d-RV-1qC" firstAttribute="top" secondItem="ol0-Oy-fGu" secondAttribute="bottom" id="Fgh-Ax-aZW"/>
<constraint firstItem="TlN-UU-bfn" firstAttribute="centerX" secondItem="feW-KG-pge" secondAttribute="centerX" id="GDU-dI-mkT"/>
<constraint firstItem="TlN-UU-bfn" firstAttribute="top" secondItem="feW-KG-pge" secondAttribute="bottom" id="KZd-Dl-RWU"/>
<constraint firstItem="NGi-wj-8PK" firstAttribute="top" secondItem="pww-SJ-9UO" secondAttribute="bottom" id="LlM-ND-yL7"/>
<constraint firstItem="feW-KG-pge" firstAttribute="centerX" secondItem="4Qf-DG-52V" secondAttribute="centerX" id="PF1-W6-bM3"/>
<constraint firstItem="feW-KG-pge" firstAttribute="top" secondItem="4Qf-DG-52V" secondAttribute="top" constant="41" id="QdL-ap-84W"/>
<constraint firstItem="wFK-LA-M1Q" firstAttribute="leading" secondItem="29d-RV-1qC" secondAttribute="trailing" id="UVW-Fy-5UD"/>
<constraint firstItem="NGi-wj-8PK" firstAttribute="leading" secondItem="wFK-LA-M1Q" secondAttribute="leading" id="W0b-Ht-2Zi"/>
<constraint firstAttribute="bottom" secondItem="29d-RV-1qC" secondAttribute="bottom" id="bax-hG-w5F"/>
<constraint firstItem="wFK-LA-M1Q" firstAttribute="centerX" secondItem="4Qf-DG-52V" secondAttribute="centerX" id="bv5-4m-CbF"/>
<constraint firstAttribute="bottom" secondItem="wFK-LA-M1Q" secondAttribute="bottom" id="hyL-I6-MhL"/>
<constraint firstAttribute="bottom" secondItem="W44-9Q-CNb" secondAttribute="bottom" id="hya-S7-pwO"/>
<constraint firstItem="TlN-UU-bfn" firstAttribute="width" secondItem="feW-KG-pge" secondAttribute="width" id="ikZ-x6-s11"/>
<constraint firstAttribute="bottom" secondItem="pww-SJ-9UO" secondAttribute="bottom" constant="44" id="kSJ-Cs-Cxo"/>
<constraint firstItem="ol0-Oy-fGu" firstAttribute="leading" secondItem="4Qf-DG-52V" secondAttribute="leading" id="ldS-pW-rYO"/>
<constraint firstAttribute="trailing" secondItem="pww-SJ-9UO" secondAttribute="trailing" constant="15" id="tQe-Wl-U3H"/>
<constraint firstAttribute="trailing" secondItem="W44-9Q-CNb" secondAttribute="trailing" id="toY-V9-jzu"/>
<constraint firstItem="wFK-LA-M1Q" firstAttribute="leading" secondItem="ol0-Oy-fGu" secondAttribute="trailing" id="v8V-zk-shC"/>
<constraint firstAttribute="trailing" secondItem="NGi-wj-8PK" secondAttribute="trailing" id="y8d-J9-NgV"/>
</constraints>
</view>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="统计" translatesAutoresizingMaskIntoConstraints="NO" id="iIQ-Ig-q8A" userLabel="icon">
<rect key="frame" x="5" y="9" width="30" height="26"/>
<constraints>
<constraint firstAttribute="height" constant="26" id="fQp-TK-gcR"/>
<constraint firstAttribute="width" constant="30" id="mRo-ch-xO5"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="电量统计" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IL0-d4-Vb1">
<rect key="frame" x="40" y="0.0" width="119" height="44"/>
<constraints>
<constraint firstAttribute="width" constant="119" id="QRp-If-JND"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="iIQ-Ig-q8A" firstAttribute="leading" secondItem="N2a-Po-JOp" secondAttribute="leading" constant="5" id="048-4i-pwW"/>
<constraint firstItem="4Qf-DG-52V" firstAttribute="top" secondItem="N2a-Po-JOp" secondAttribute="top" constant="44" id="4vE-In-MaQ"/>
<constraint firstItem="4Qf-DG-52V" firstAttribute="top" secondItem="IL0-d4-Vb1" secondAttribute="bottom" id="AK1-H2-PWG"/>
<constraint firstItem="4Qf-DG-52V" firstAttribute="leading" secondItem="N2a-Po-JOp" secondAttribute="leading" id="XL6-3o-lKy"/>
<constraint firstAttribute="bottom" secondItem="4Qf-DG-52V" secondAttribute="bottom" id="YIQ-w2-c7T"/>
<constraint firstItem="iIQ-Ig-q8A" firstAttribute="centerY" secondItem="IL0-d4-Vb1" secondAttribute="centerY" id="cjv-PW-nvX"/>
<constraint firstItem="IL0-d4-Vb1" firstAttribute="leading" secondItem="iIQ-Ig-q8A" secondAttribute="trailing" constant="5" id="kzO-42-wt4"/>
<constraint firstAttribute="trailing" secondItem="4Qf-DG-52V" secondAttribute="trailing" id="qRU-PT-u7j"/>
<constraint firstItem="IL0-d4-Vb1" firstAttribute="top" secondItem="N2a-Po-JOp" secondAttribute="top" id="vLB-Qu-OIC"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<connections>
<outlet property="dayPowerLabel" destination="feW-KG-pge" id="4tg-my-2cF"/>
<outlet property="monthPower" destination="W44-9Q-CNb" id="OAp-Sm-Zb8"/>
<outlet property="rating" destination="29d-RV-1qC" id="V0l-so-Awh"/>
</connections>
<point key="canvasLocation" x="2.8985507246376816" y="75"/>
</view>
</objects>
<resources>
<image name="统计" width="200" height="200"/>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>