1. S7命令分类
Data Read/Write Cyclic Data Read/Write Directory info System Info Blocks move PLC Control Date and Time Security Programming 2. S7协议封装 2.1 TPKT 协议和COTP 协议 2.2 COTP Packet 2.2.1 COTP Connection Packet 2.2.2…
1.首先是数据层接口协议 public List looks(String uname); 2.数据层实现 select * from user_inf where loginname like %${_parameter}% 注:发现不能将参数设为bean里的名称,如果传入类型为String类型,则参数需统一修改为{_parameter}(不管你的参数是什…