mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 20:15:06 +08:00
update 电单车协议
This commit is contained in:
@@ -55,6 +55,7 @@ public class PileChannelEntity {
|
||||
* @return
|
||||
*/
|
||||
public static ChannelHandlerContext getChannelByPileSn(String pileSn) {
|
||||
output();
|
||||
return manager.get(pileSn);
|
||||
}
|
||||
|
||||
@@ -78,7 +79,7 @@ public class PileChannelEntity {
|
||||
public static void output() {
|
||||
for (HashMap.Entry<String, ChannelHandlerContext> entry : manager.entrySet()) {
|
||||
System.out.println("pileSn:" + entry.getKey() +
|
||||
",ChannelId:" + entry.getValue().channel().id().asLongText());
|
||||
",ChannelId:" + entry.getValue().channel().id().asShortText());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user