Showing
2 changed files
with
2 additions
and
2 deletions
... | ... | @@ -300,7 +300,7 @@ public class TkDeviceScriptServiceImpl |
300 | 300 | String addrStr = ByteUtils.integerToHex(config.getRegisterAddr()); |
301 | 301 | result.append(addrStr.substring(addrStr.length()-4)); |
302 | 302 | |
303 | - List<Integer> values = config.getRegisterVales(); | |
303 | + List<Integer> values = config.getRegisterValues(); | |
304 | 304 | Integer registerNum = config.getRegisterNum()==null?1:config.getRegisterNum(); |
305 | 305 | if(values ==null || values.isEmpty()){ |
306 | 306 | //读寄存器数据 | ... | ... |