| | |
| | | // } |
| | | |
| | | public String getDeviceKey() { |
| | | if (deviceKey == null) { |
| | | deviceKey = "K" + this.bigType |
| | | + "-" + this.littleType |
| | | + "-" + this.deviceSubnetID |
| | | + "-" + this.deviceDeviceID |
| | | + "-" + this.channelNum; |
| | | } |
| | | deviceKey = this.bigType |
| | | + "-" + this.littleType |
| | | + "-" + this.deviceSubnetID |
| | | + "-" + this.deviceDeviceID |
| | | + "-" + this.channelNum; |
| | | |
| | | return deviceKey; |
| | | } |
| | | |
| | |
| | | "deviceName='" + deviceName + '\'' + |
| | | ", bigType=" + bigType + |
| | | ", littleType=" + littleType + |
| | | ", ctrlCommand=" + ctrlCommand + |
| | | ", ctrlBackCommand=" + ctrlBackCommand + |
| | | ", stateCommand=" + stateCommand + |
| | | ", stateBackCommand=" + stateBackCommand + |
| | | ", ctrlCommand=" + Integer.toHexString(ctrlCommand) + |
| | | ", ctrlBackCommand=" + Integer.toHexString(ctrlBackCommand) + |
| | | ", stateCommand=" + Integer.toHexString(stateCommand) + |
| | | ", stateBackCommand=" + Integer.toHexString(stateBackCommand) + |
| | | ", channelNum=" + channelNum + |
| | | ", deviceSubnetID=" + deviceSubnetID + |
| | | ", deviceDeviceID=" + deviceDeviceID + |