|
|
@@ -2203,6 +2203,12 @@ static void channelStatusMonitoring(void* conn)
|
|
|
else
|
|
|
{
|
|
|
_globalTACManager->product_ph_outputStatus = 1;
|
|
|
+ short nCtrlType=2;
|
|
|
+ if (_globalTACManager->product_ph_outputStatus == 1)
|
|
|
+ {
|
|
|
+ nCtrlType= 0;
|
|
|
+ }
|
|
|
+ g_switch_set_t_ac_ph_ctrl_mode(&__globalDeviceManage._globalRelaySampManger,_globalTACManager->product_saddr,_globalTACManager->product_ch_addr-1,nCtrlType);
|
|
|
}
|
|
|
_globalTACManager->product_ph_outputType=_over_chn_pwr_request.outputType;
|
|
|
if (dev_update_t_ac_power_manage_info(__globalDeviceManage.db, _globalTACManager) != 0)
|