| | |
| | | <!-- 工具栏 -->
|
| | | <div class="tools-btn">
|
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-sm" id="getDevParam"><i class="layui-icon"></i>参数设置</button>
|
| | | <br><br>
|
| | | <button type="button" class="layui-btn layui-btn-danger layui-btn-sm" id="pageStopDevTest"><i class="layui-icon"></i>停止测试</button>
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
| | | getDevParam();
|
| | | });
|
| | |
|
| | | // 页面停止测试
|
| | | $('#pageStopDevTest').click(function() {
|
| | | var devInfo = getDevInfo();
|
| | | var formData = {
|
| | | dev_id: devInfo.FBSDeviceId,
|
| | | DisCurr: 0,
|
| | | GroupVol_Low: 0,
|
| | | DisTime: 0,
|
| | | ChargeCurrSet: 0,
|
| | | DCVolHighLimit: 0,
|
| | | HourRate: 0,
|
| | | };
|
| | | // 提示是否停止
|
| | | layer.confirm('停止测试?', {icon: 3, title:'系统提示'}, function(index) {
|
| | | stop8kwTest(formData);
|
| | | layer.close(index);
|
| | | });
|
| | | });
|
| | | |
| | | });
|
| | |
|
| | | // 获取被激活的设备信息
|