|
@@ -390,35 +390,36 @@
|
|
|
<view class="qiun-chart"><canvas canvas-id="canvasColumnStack" id="canvasColumnStack" class="chart" @touchstart="touchColumn"></canvas></view>
|
|
|
</view>
|
|
|
<!-- 风电场卡片 -->
|
|
|
+
|
|
|
<view class="windStation">
|
|
|
<scroll-view scroll-x class="scrollWindStationCard">
|
|
|
<view class="windStationCardContainer">
|
|
|
- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '麻黄山')">
|
|
|
- <view class="windStationTitle">麻黄山风电场</view>
|
|
|
+ <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '崇礼')">
|
|
|
+ <view class="windStationTitle">崇礼风电场</view>
|
|
|
<view class="powerAndSpeedContainer">
|
|
|
<view class="powerAndSpeedRed">
|
|
|
预测发(万kwh):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
- <span v-if="cardmodule==false">{{index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl}}</span>
|
|
|
+ <span v-if="cardmodule==false">{{index_windStation_cardmodule.index_windStation_cardmodule.CL_FDC.ycdl}}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
日发(万kwh):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.rfdl }} --></span>
|
|
|
- <span v-if="cardmodule==false"> {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.rfdl }}</span>
|
|
|
+ <span v-if="cardmodule==false"> {{ index_windStation_cardmodule.index_windStation_cardmodule.CL_FDC.rfdl }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
实风速(m/s):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ssfs }} --></span>
|
|
|
- <span v-if="cardmodule==false"> {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ssfs }}</span>
|
|
|
+ <span v-if="cardmodule==false"> {{ index_windStation_cardmodule.index_windStation_cardmodule.CL_FDC.ssfs }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
实功率(万kw):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ssgl }} --></span>
|
|
|
- <span v-if="cardmodule==false"> {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ssgl }}
|
|
|
+ <span v-if="cardmodule==false"> {{ index_windStation_cardmodule.index_windStation_cardmodule.CL_FDC.ssgl }}
|
|
|
</span>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -442,72 +443,72 @@
|
|
|
<image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">接入 0</span>
|
|
|
- <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.MHS_FDC.jr }}</span>
|
|
|
+ <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.jr }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">待机 0</span>
|
|
|
- <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.MHS_FDC.dj }}</span>
|
|
|
+ <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.dj }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">运行 0</span>
|
|
|
- <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.MHS_FDC.yx }}</span>
|
|
|
+ <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.yx }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">故障 0</span>
|
|
|
- <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.MHS_FDC.gz }}</span>
|
|
|
+ <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.gz }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">维护 0</span>
|
|
|
- <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.MHS_FDC.wh }}</span>
|
|
|
+ <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.wh }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">离线 0</span>
|
|
|
- <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.MHS_FDC.lx }}</span>
|
|
|
+ <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.lx }}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '牛首山')">
|
|
|
- <view class="windStationTitle">牛首山风电场</view>
|
|
|
+ <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '代县')">
|
|
|
+ <view class="windStationTitle">代县风电场</view>
|
|
|
<view class="powerAndSpeedContainer">
|
|
|
<view class="powerAndSpeedRed">
|
|
|
预测发(万kwh):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.NSS_FDC.ycdl }}</span>
|
|
|
+ <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.DX_FDC.ycdl }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
日发(万kwh):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.NSS_FDC.rfdl }}</span>
|
|
|
+ <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.DX_FDC.rfdl }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
实风速(m/s):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.NSS_FDC.ssfs }}</span>
|
|
|
+ <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.DX_FDC.ssfs }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
实功率(万kw):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.NSS_FDC.ssgl }}</span>
|
|
|
+ <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.DX_FDC.ssgl }}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- HQChart图 -->
|
|
@@ -530,72 +531,72 @@
|
|
|
<image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">接入 0</span>
|
|
|
- <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.NSS_FDC.jr }}</span>
|
|
|
+ <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.jr }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">待机 0</span>
|
|
|
- <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.NSS_FDC.dj }}</span>
|
|
|
+ <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.dj }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">运行 0</span>
|
|
|
- <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.NSS_FDC.yx }}</span>
|
|
|
+ <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.yx }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">故障 0</span>
|
|
|
- <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.NSS_FDC.gz }}</span>
|
|
|
+ <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.gz }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">维护 0</span>
|
|
|
- <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.NSS_FDC.wh }}</span>
|
|
|
+ <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.wh }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">离线 0</span>
|
|
|
- <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.NSS_FDC.lx }}</span>
|
|
|
+ <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.lx }}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '石板泉')">
|
|
|
- <view class="windStationTitle">石板泉风电场</view>
|
|
|
+ <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '康保')">
|
|
|
+ <view class="windStationTitle">康保风电场</view>
|
|
|
<view class="powerAndSpeedContainer">
|
|
|
<view class="powerAndSpeedRed">
|
|
|
预测发(万kwh):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.SBQ_FDC.ycdl }}</span>
|
|
|
+ <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.KB_FDC.ycdl }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
日发(万kwh):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.SBQ_FDC.rfdl }}</span>
|
|
|
+ <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.KB_FDC.rfdl }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
实风速(m/s):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.SBQ_FDC.ssfs }}</span>
|
|
|
+ <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.KB_FDC.ssfs }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
实功率(万kw):
|
|
|
<span v-if="cardmodule">
|
|
|
<!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.SBQ_FDC.ssgl }}</span>
|
|
|
+ <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.KB_FDC.ssgl }}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- HQChart图 -->
|
|
@@ -618,78 +619,70 @@
|
|
|
<image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">接入 0</span>
|
|
|
- <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.SBQ_FDC.jr }}</span>
|
|
|
+ <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.jr }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">待机 0</span>
|
|
|
- <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.SBQ_FDC.dj }}</span>
|
|
|
+ <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.dj }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">运行 0</span>
|
|
|
- <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.SBQ_FDC.yx }}</span>
|
|
|
+ <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.yx }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">故障 0</span>
|
|
|
- <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.SBQ_FDC.gz }}</span>
|
|
|
+ <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.gz }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">维护 0</span>
|
|
|
- <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.SBQ_FDC.wh }}</span>
|
|
|
+ <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.wh }}</span>
|
|
|
</view>
|
|
|
<view class="fanStatus">
|
|
|
<view class="statusIcon">
|
|
|
<image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
</view>
|
|
|
<span v-if="module">离线 0</span>
|
|
|
- <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.SBQ_FDC.lx }}</span>
|
|
|
+ <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.lx }}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '青山')">
|
|
|
+ <!-- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '青山')">
|
|
|
<view class="windStationTitle">青山风电场</view>
|
|
|
<view class="powerAndSpeedContainer">
|
|
|
<view class="powerAndSpeedRed">
|
|
|
预测发(万kwh):
|
|
|
<span v-if="cardmodule">
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
<span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.ycdl }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
日发(万kwh):
|
|
|
<span v-if="cardmodule">
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
<span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.rfdl }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
实风速(m/s):
|
|
|
<span v-if="cardmodule">
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
<span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.ssfs }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
实功率(万kw):
|
|
|
<span v-if="cardmodule">
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
<span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.ssgl }}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- HQChart图 -->
|
|
|
- <!-- <view class="HQChart">
|
|
|
- <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
|
|
|
- </view> -->
|
|
|
<view class="UChartContainer">
|
|
|
<view class="windStationUChart">
|
|
|
<view class="windStationQiun-charts">
|
|
@@ -697,7 +690,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="UChartTitle">风速功率曲线图</view>
|
|
|
- <!-- <view class="xTime">时间</view> -->
|
|
|
</view>
|
|
|
|
|
|
<view class="fanStatusContainer">
|
|
@@ -744,40 +736,32 @@
|
|
|
<span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.QS_FDC.lx }}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '香山')">
|
|
|
+ <!-- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '香山')">
|
|
|
<view class="windStationTitle">香山风电场</view>
|
|
|
<view class="powerAndSpeedContainer">
|
|
|
<view class="powerAndSpeedRed">
|
|
|
预测发(万kwh):
|
|
|
<span v-if="cardmodule">
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
<span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.ycdl }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
日发(万kwh):
|
|
|
<span v-if="cardmodule">
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
<span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.rfdl }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
实风速(m/s):
|
|
|
<span v-if="cardmodule">
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
<span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.ssfs }}</span>
|
|
|
</view>
|
|
|
<view class="powerAndSpeedRed">
|
|
|
实功率(万kw):
|
|
|
<span v-if="cardmodule">
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
<span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.ssgl }}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- HQChart图 -->
|
|
|
- <!-- <view class="HQChart">
|
|
|
- <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
|
|
|
- </view> -->
|
|
|
<view class="UChartContainer">
|
|
|
<view class="windStationUChart">
|
|
|
<view class="windStationQiun-charts">
|
|
@@ -785,7 +769,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="UChartTitle">风速功率曲线图</view>
|
|
|
- <!-- <view class="xTime">时间</view> -->
|
|
|
</view>
|
|
|
|
|
|
<view class="fanStatusContainer">
|
|
@@ -832,7 +815,7 @@
|
|
|
<span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.XS_FDC.lx }}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
</view>
|
|
@@ -935,25 +918,25 @@
|
|
|
windPowerStationId: 'NINGXIAXINNENGYUANGONGSI'
|
|
|
},
|
|
|
{
|
|
|
- name: '牛首山风电场',
|
|
|
- windPowerStationId: 'NSS_FDC'
|
|
|
+ name: '崇礼风电场',
|
|
|
+ windPowerStationId: 'CL_FDC'
|
|
|
},
|
|
|
{
|
|
|
- name: '香山风电场',
|
|
|
- windPowerStationId: 'XS_FDC'
|
|
|
+ name: '代县风电场',
|
|
|
+ windPowerStationId: 'DX_FDC'
|
|
|
},
|
|
|
{
|
|
|
- name: '石板泉风电场',
|
|
|
- windPowerStationId: 'SBQ_FDC'
|
|
|
+ name: '康保风电场',
|
|
|
+ windPowerStationId: 'KB_FDC'
|
|
|
},
|
|
|
- {
|
|
|
+ /* {
|
|
|
name: '青山风电场',
|
|
|
windPowerStationId: 'QS_FDC'
|
|
|
},
|
|
|
{
|
|
|
name: '麻黄山风电场',
|
|
|
windPowerStationId: 'MHS_FDC'
|
|
|
- }
|
|
|
+ } */
|
|
|
],
|
|
|
modalName: null,
|
|
|
address: '宁夏新能源公司',
|
|
@@ -987,7 +970,7 @@
|
|
|
monthAngrey: '',
|
|
|
yearOlive: '',
|
|
|
yearAngrey: '',
|
|
|
- FDC: 'CL_FDC',
|
|
|
+ FDC:'CL_FDC',
|
|
|
socketTask_target_comprehensive_indicators: '',
|
|
|
socketTask_target_windSpeed_power: '',
|
|
|
socketTask_index_windturbine_status: '',
|
|
@@ -998,10 +981,11 @@
|
|
|
windpowerstationdetail: {
|
|
|
target_comprehensive_indicators: '',
|
|
|
target_windSpeed_power: '',
|
|
|
- index_windturbine_status: '',
|
|
|
+ index_windturbine_status:'',
|
|
|
index_electricQuantity: '',
|
|
|
index_target_basic_indicators: ''
|
|
|
},
|
|
|
+
|
|
|
module: true,
|
|
|
cardmodule: true
|
|
|
};
|
|
@@ -1016,20 +1000,14 @@
|
|
|
if (this.address == '宁夏新能源公司') {
|
|
|
this.FDC = '0';
|
|
|
}
|
|
|
- if (this.address == '麻黄山风电场') {
|
|
|
- this.FDC = 'MHS_FDC';
|
|
|
+ if (this.address == '崇礼风电场') {
|
|
|
+ this.FDC = 'CL_FDC';
|
|
|
}
|
|
|
- if (this.address == '牛首山风电场') {
|
|
|
- this.FDC = 'NSS_FDC';
|
|
|
+ if (this.address == '代县风电场') {
|
|
|
+ this.FDC = 'DX_FDC';
|
|
|
}
|
|
|
- if (this.address == '石板泉风电场') {
|
|
|
- this.FDC = 'SBQ_FDC';
|
|
|
- }
|
|
|
- if (this.address == '青山风电场') {
|
|
|
- this.FDC = 'QS_FDC';
|
|
|
- }
|
|
|
- if (this.address == '香山风电场') {
|
|
|
- this.FDC = 'XS_FDC';
|
|
|
+ if (this.address == '康保风电场') {
|
|
|
+ this.FDC = 'KB_FDC';
|
|
|
}
|
|
|
this.windPowerStationId = uni.getStorageSync('windPowerStationId');
|
|
|
},
|
|
@@ -1041,19 +1019,30 @@
|
|
|
_self = this;
|
|
|
this.cWidth = uni.upx2px(750);
|
|
|
this.cHeight = uni.upx2px(400);
|
|
|
- this.index_windStation_card();
|
|
|
this.getServerData();
|
|
|
- this.getColumnData();
|
|
|
+ this.getColumnData();
|
|
|
this.windStationCardCWidth = 250;
|
|
|
this.windStationCardCHeight = 150;
|
|
|
- this.getWindStationCardData();
|
|
|
- this.index_curve_columnar_windSpeed_power();
|
|
|
- this.index_curve_columnar_five_loss();
|
|
|
+ /*
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ */
|
|
|
this.target_comprehensive_indicators();
|
|
|
- this.target_windSpeed_power();
|
|
|
- this.index_windturbine_status();
|
|
|
this.index_electricQuantity();
|
|
|
+
|
|
|
this.index_target_basic_indicators();
|
|
|
+
|
|
|
+ this.index_curve_columnar_five_loss();
|
|
|
+ this.target_windSpeed_power();
|
|
|
+ this.index_windturbine_status();
|
|
|
+ this.getWindStationCardData();
|
|
|
+ this.index_curve_columnar_windSpeed_power();
|
|
|
+ this.index_windStation_card(); /* P6F8与P6F4冲突 */
|
|
|
+
|
|
|
},
|
|
|
computed: {
|
|
|
backStageIp: function() {
|
|
@@ -1076,20 +1065,14 @@
|
|
|
if (this.address == '宁夏新能源公司') {
|
|
|
this.FDC = '0';
|
|
|
}
|
|
|
- if (this.address == '麻黄山风电场') {
|
|
|
- this.FDC = 'MHS_FDC';
|
|
|
- }
|
|
|
- if (this.address == '牛首山风电场') {
|
|
|
- this.FDC = 'NSS_FDC';
|
|
|
- }
|
|
|
- if (this.address == '石板泉风电场') {
|
|
|
- this.FDC = 'SBQ_FDC';
|
|
|
+ if (this.address == '崇礼风电场') {
|
|
|
+ this.FDC = 'CL_FDC';
|
|
|
}
|
|
|
- if (this.address == '青山风电场') {
|
|
|
- this.FDC = 'QS_FDC';
|
|
|
+ if (this.address == '代县风电场') {
|
|
|
+ this.FDC = 'DX_FDC';
|
|
|
}
|
|
|
- if (this.address == '香山风电场') {
|
|
|
- this.FDC = 'XS_FDC';
|
|
|
+ if (this.address == '康保风电场') {
|
|
|
+ this.FDC = 'KB_FDC';
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -1310,7 +1293,7 @@
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
- async index_windStation_card() {
|
|
|
+ /* async index_windStation_card() {
|
|
|
let _this = this;
|
|
|
// 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
|
|
|
this.socketTask_index_windStation_card = uni.connectSocket({
|
|
@@ -1333,7 +1316,7 @@
|
|
|
console.log();
|
|
|
});
|
|
|
});
|
|
|
- },
|
|
|
+ }, */
|
|
|
async index_windStation_card() {
|
|
|
let _this = this;
|
|
|
// 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
|
|
@@ -1381,7 +1364,8 @@
|
|
|
// 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
|
|
|
this.socketTask_index_curve_columnar_windSpeed_power = uni.connectSocket({
|
|
|
// 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
|
|
|
- url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_7/functionNumber_4',
|
|
|
+ url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_6',
|
|
|
+ /* url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_7/functionNumber_4', */
|
|
|
success(data) {
|
|
|
console.log('websocket连接成功');
|
|
|
}
|
|
@@ -1398,7 +1382,7 @@
|
|
|
//console.log("收到服务器内容:" + res.data);
|
|
|
_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule = JSON.parse(res
|
|
|
.data);
|
|
|
-
|
|
|
+ console.log("---");
|
|
|
let LineA = {
|
|
|
categories: [],
|
|
|
series: [{
|
|
@@ -1750,6 +1734,7 @@
|
|
|
Line.categories = [];
|
|
|
Line.series[0].data = [];
|
|
|
/* LineA.series[0].name=this.targetName; */
|
|
|
+ console.log(_this.FDC);
|
|
|
for (var i = 0; i < _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[
|
|
|
_this.FDC]['gl'].length; i++) {
|
|
|
let time = new Date(
|
|
@@ -1786,9 +1771,9 @@
|
|
|
LineA.series[0].data = [];
|
|
|
/* LineA.series[0].name=this.targetName; */
|
|
|
for (var i = 0; i < _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[
|
|
|
- 'MHS_FDC']['gl'].length; i++) {
|
|
|
+ 'CL_FDC']['gl'].length; i++) {
|
|
|
let time = new Date(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['CL_FDC'][
|
|
|
'gl'
|
|
|
][i].pointTime * 1000
|
|
|
).Format('hh');
|
|
@@ -1796,22 +1781,22 @@
|
|
|
LineA.categories.push(time);
|
|
|
//console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
|
|
|
LineA.series[0].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['CL_FDC'][
|
|
|
'gl'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
LineA.series[1].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['CL_FDC'][
|
|
|
'fs'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
LineA.series[2].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['CL_FDC'][
|
|
|
'llgl'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
LineA.series[3].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['CL_FDC'][
|
|
|
'ycgl'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
@@ -1821,9 +1806,9 @@
|
|
|
LineB.series[0].data = [];
|
|
|
/* LineA.series[0].name=this.targetName; */
|
|
|
for (var i = 0; i < _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[
|
|
|
- 'NSS_FDC']['gl'].length; i++) {
|
|
|
+ 'DX_FDC']['gl'].length; i++) {
|
|
|
let time = new Date(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['DX_FDC'][
|
|
|
'gl'
|
|
|
][i].pointTime * 1000
|
|
|
).Format('hh');
|
|
@@ -1831,22 +1816,22 @@
|
|
|
LineB.categories.push(time);
|
|
|
//console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
|
|
|
LineB.series[0].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['DX_FDC'][
|
|
|
'gl'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
LineB.series[1].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['DX_FDC'][
|
|
|
'fs'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
LineB.series[2].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['DX_FDC'][
|
|
|
'llgl'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
LineB.series[3].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['DX_FDC'][
|
|
|
'ycgl'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
@@ -1856,9 +1841,9 @@
|
|
|
LineC.series[0].data = [];
|
|
|
/* LineA.series[0].name=this.targetName; */
|
|
|
for (var i = 0; i < _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[
|
|
|
- 'SBQ_FDC']['gl'].length; i++) {
|
|
|
+ 'KB_FDC']['gl'].length; i++) {
|
|
|
let time = new Date(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['KB_FDC'][
|
|
|
'gl'
|
|
|
][i].pointTime * 1000
|
|
|
).Format('hh');
|
|
@@ -1866,29 +1851,28 @@
|
|
|
LineC.categories.push(time);
|
|
|
//console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
|
|
|
LineC.series[0].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['KB_FDC'][
|
|
|
'gl'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
LineC.series[1].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['KB_FDC'][
|
|
|
'fs'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
LineC.series[2].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['KB_FDC'][
|
|
|
'llgl'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
LineC.series[3].data.push(
|
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC'][
|
|
|
+ _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['KB_FDC'][
|
|
|
'ycgl'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
}
|
|
|
- LineD.categories = [];
|
|
|
+ /* LineD.categories = [];
|
|
|
LineD.series[0].data = [];
|
|
|
- /* LineA.series[0].name=this.targetName; */
|
|
|
for (var i = 0; i < _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[
|
|
|
'QS_FDC']['gl'].length; i++) {
|
|
|
let time = new Date(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[
|
|
@@ -1921,7 +1905,6 @@
|
|
|
}
|
|
|
LineE.categories = [];
|
|
|
LineE.series[0].data = [];
|
|
|
- /* LineA.series[0].name=this.targetName; */
|
|
|
for (var i = 0; i < _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[
|
|
|
'XS_FDC']['gl'].length; i++) {
|
|
|
let time = new Date(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[
|
|
@@ -1951,15 +1934,15 @@
|
|
|
'ycgl'
|
|
|
][i].pointValueInDouble
|
|
|
);
|
|
|
- }
|
|
|
+ } */
|
|
|
|
|
|
_this.showLineA('canvasLineA', Line);
|
|
|
_this.showWindStationCardLineA1('windStationCanvasLineA', LineA);
|
|
|
- _this.showWindStationCardLineA1('windStationCanvasLineA', LineA);
|
|
|
+ // _this.showWindStationCardLineA1('windStationCanvasLineA', LineA);
|
|
|
_this.showWindStationCardLineA2('windStationCanvasLineB', LineB);
|
|
|
- _this.showWindStationCardLineA3('windStationCanvasLineC', LineC);
|
|
|
+ _this.showWindStationCardLineA3('windStationCanvasLineC', LineC);/*
|
|
|
_this.showWindStationCardLineA4('windStationCanvasLineD', LineD);
|
|
|
- _this.showWindStationCardLineA5('windStationCanvasLineE', LineE);
|
|
|
+ _this.showWindStationCardLineA5('windStationCanvasLineE', LineE); */
|
|
|
});
|
|
|
});
|
|
|
},
|
|
@@ -2073,6 +2056,7 @@
|
|
|
//console.log("收到服务器内容:" + res.data);
|
|
|
_this.windpowerstationdetail.index_windturbine_status = JSON.parse(res.data)[_this.FDC];
|
|
|
_this.fdcstatusmodule.fdcstatusmodule = JSON.parse(res.data);
|
|
|
+ console.log("---");
|
|
|
_this.module = false;
|
|
|
});
|
|
|
});
|