Project

General

Profile

Bug #3345

火警plc调用libplcopt库的设置属性接口在处理配置错误的代码优化

Added by jiawei mao 10 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
02/22/2024
Due date:
% Done:

0%

Estimated time:
Defect version:

Description

描述:当前火警plc调用设置属性接口,是间接通过restful接口请求jar包,并通过jar包下发属性控制,
而如果plc配置的restful服务地址错误,当前不会打印错误的log,所以需要优化;
修改:增加plc中配置restful服务地址或接口名错误情况下的log优化。

修改后的错误提示效果:
错误1:IP或端口错误=>

错误2:接口名编写错误=>


Files

IP或端口错误.png (196 KB) IP或端口错误.png jiawei mao, 02/22/2024 04:00 PM
接口错误.png (224 KB) 接口错误.png jiawei mao, 02/22/2024 04:00 PM

History

#1

Updated by jiawei mao 10 months ago

  • Status changed from New to Resolved
#2

Updated by xiangyang li 7 months ago

  • Target version set to PLC_BAS_V1.2

Also available in: Atom PDF