add reply in recall and +5 sec in recall and fix utc time in recall
This commit is contained in:
@@ -1710,6 +1710,13 @@ int transfer_json_block_data(char v_wiring_type[], json_block_data *data) //json
|
||||
while (it != pMonitor->ItemList.end())
|
||||
{
|
||||
CItem* pItem = *it++;
|
||||
//////////////////////////////////////////////////////////lnk20250306为了数据入库,构造数据添加FLAG
|
||||
if ("FLAG" == pItem->strItemName) //剔除"FLAG",防止sq相别出现错误指针
|
||||
{
|
||||
KafkaData.strText.append(QString("\"FLAG\":%1, ").arg(data->flag)); //拼接 json剔除标记,1不剔除,0剔除,默认剔除
|
||||
continue;
|
||||
}
|
||||
//////////////////////////////////////////////////////////
|
||||
if ("TIME" == pItem->strItemName) //剔除"FLAG",防止sq相别出现错误指针
|
||||
{
|
||||
KafkaData.strText.append(QString("\"TIME\":\"%1\", ").arg(data->time)); //拼接 json发生时刻,毫秒
|
||||
@@ -2011,6 +2018,13 @@ int transfer_json_block_data(char v_wiring_type[], json_block_data *data) //json
|
||||
while (it != pMonitor->ItemList.end())
|
||||
{
|
||||
CItem* pItem = *it++;
|
||||
//////////////////////////////////////////////////////////lnk20250306为了数据入库,构造数据添加FLAG
|
||||
if ("FLAG" == pItem->strItemName) //剔除"FLAG",防止sq相别出现错误指针
|
||||
{
|
||||
KafkaData.strText.append(QString("\"FLAG\":%1, ").arg(data->flag)); //拼接 json剔除标记,1不剔除,0剔除,默认剔除
|
||||
continue;
|
||||
}
|
||||
//////////////////////////////////////////////////////////
|
||||
if ("TIME" == pItem->strItemName) //剔除"FLAG",防止sq相别出现错误指针
|
||||
{
|
||||
KafkaData.strText.append(QString("\"TIME\":\"%1\", ").arg(data->time)); //拼接 json发生时刻,毫秒
|
||||
@@ -2128,6 +2142,13 @@ int transfer_json_block_data(char v_wiring_type[], json_block_data *data) //json
|
||||
while (it != pMonitor->ItemList.end())
|
||||
{
|
||||
CItem* pItem = *it++;
|
||||
//////////////////////////////////////////////////////////lnk20250306为了数据入库,构造数据添加FLAG
|
||||
if ("FLAG" == pItem->strItemName) //剔除"FLAG",防止sq相别出现错误指针
|
||||
{
|
||||
KafkaData.strText.append(QString("\"FLAG\":%1, ").arg(data->flag)); //拼接 json剔除标记,1不剔除,0剔除,默认剔除
|
||||
continue;
|
||||
}
|
||||
//////////////////////////////////////////////////////////
|
||||
if ("TIME" == pItem->strItemName) //剔除"FLAG",防止sq相别出现错误指针
|
||||
{
|
||||
KafkaData.strText.append(QString("\"TIME\":\"%1\", ").arg(data->time)); //拼接 json发生时刻,毫秒
|
||||
|
||||
Reference in New Issue
Block a user