| | |
| | | } |
| | | |
| | | // 调用方法,进行赋值 |
| | | this.readValue(); |
| | | String PlcAddress = this.name; |
| | | Integer Plccount = this.count; |
| | | // this.readValue();
|
| | | // String PlcAddress = this.name;
|
| | | // Integer Plccount = this.count;
|
| | | // System.out.println(PlcAddress); |
| | | |
| | | // List<Boolean> paramlist = S7control.getinstance().ReadBits("DB2.0.0", 26); |
| | | Boolean[] values = { false, true, true, true, true, true, true, true, true, |
| | | true, true, true, true, true, true, true, true, true, true, true, true, true, true, |
| | | true, false, true }; |
| | | List<Boolean> paramlist = new ArrayList<>(Arrays.asList(values)); |
| | | List<Boolean> paramlist = S7control.getinstance().ReadBits("DB2.0.0", 26);
|
| | | // Boolean[] values = { false, true, true, true, true, true, true, true, true,
|
| | | // true, true, true, true, true, true, true, true, true, true, true, true, true, true,
|
| | | // true, false, true };
|
| | | // List<Boolean> paramlist = new ArrayList<>(Arrays.asList(values));
|
| | | |
| | | if (paramlist != null) { |
| | | |