|
@@ -1485,7 +1485,8 @@ static void channelStatusMonitoring(void* conn)
|
|
|
{
|
|
{
|
|
|
log_e("serach total power voltage err.");
|
|
log_e("serach total power voltage err.");
|
|
|
}
|
|
}
|
|
|
- else {
|
|
|
|
|
|
|
+ //else
|
|
|
|
|
+ {
|
|
|
// 传值给总管理结构体
|
|
// 传值给总管理结构体
|
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
|
{
|
|
{
|
|
@@ -1502,7 +1503,8 @@ static void channelStatusMonitoring(void* conn)
|
|
|
{
|
|
{
|
|
|
log_e("serach total voltage err.");
|
|
log_e("serach total voltage err.");
|
|
|
}
|
|
}
|
|
|
- else {
|
|
|
|
|
|
|
+ //else
|
|
|
|
|
+ {
|
|
|
// 传值给总管理结构体
|
|
// 传值给总管理结构体
|
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
|
{
|
|
{
|
|
@@ -1553,7 +1555,8 @@ static void channelStatusMonitoring(void* conn)
|
|
|
{
|
|
{
|
|
|
log_e("serach total power current err.");
|
|
log_e("serach total power current err.");
|
|
|
}
|
|
}
|
|
|
- else {
|
|
|
|
|
|
|
+ //else
|
|
|
|
|
+ {
|
|
|
// 传值给总管理结构体
|
|
// 传值给总管理结构体
|
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
|
{
|
|
{
|
|
@@ -1572,7 +1575,8 @@ static void channelStatusMonitoring(void* conn)
|
|
|
{
|
|
{
|
|
|
log_e("serach total current err.");
|
|
log_e("serach total current err.");
|
|
|
}
|
|
}
|
|
|
- else {
|
|
|
|
|
|
|
+ //else
|
|
|
|
|
+ {
|
|
|
// 传值给总管理结构体
|
|
// 传值给总管理结构体
|
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
|
{
|
|
{
|
|
@@ -1623,7 +1627,8 @@ static void channelStatusMonitoring(void* conn)
|
|
|
{
|
|
{
|
|
|
log_e("serach total power err.");
|
|
log_e("serach total power err.");
|
|
|
}
|
|
}
|
|
|
- else {
|
|
|
|
|
|
|
+ //else
|
|
|
|
|
+ {
|
|
|
// 传值给总管理结构体
|
|
// 传值给总管理结构体
|
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
|
{
|
|
{
|
|
@@ -1642,7 +1647,8 @@ static void channelStatusMonitoring(void* conn)
|
|
|
{
|
|
{
|
|
|
log_e("serach total power err.");
|
|
log_e("serach total power err.");
|
|
|
}
|
|
}
|
|
|
- else {
|
|
|
|
|
|
|
+ //else
|
|
|
|
|
+ {
|
|
|
// 传值给总管理结构体
|
|
// 传值给总管理结构体
|
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
|
{
|
|
{
|
|
@@ -1693,7 +1699,8 @@ static void channelStatusMonitoring(void* conn)
|
|
|
{
|
|
{
|
|
|
log_e("serach total power err.");
|
|
log_e("serach total power err.");
|
|
|
}
|
|
}
|
|
|
- else {
|
|
|
|
|
|
|
+ //else
|
|
|
|
|
+ {
|
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
|
{
|
|
{
|
|
|
strcpy(pch->_total_consumption.xAxis[i], __globalPowerInfo._total_consumption.xAxis[i]);
|
|
strcpy(pch->_total_consumption.xAxis[i], __globalPowerInfo._total_consumption.xAxis[i]);
|
|
@@ -1711,7 +1718,8 @@ static void channelStatusMonitoring(void* conn)
|
|
|
{
|
|
{
|
|
|
log_e("serach total power consumption err.");
|
|
log_e("serach total power consumption err.");
|
|
|
}
|
|
}
|
|
|
- else {
|
|
|
|
|
|
|
+ //else
|
|
|
|
|
+ {
|
|
|
// 传值给总管理结构体
|
|
// 传值给总管理结构体
|
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
for (int i = 0; i < TOTAL_COUNT; i++)
|
|
|
{
|
|
{
|