first commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using JSMachine.WMS.Netty.NettyUdp.Command;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JSMachine.WMS.Netty.NettyUdp.CommandHandler
|
||||
{
|
||||
/// <summary>
|
||||
/// 命令处理器
|
||||
/// </summary>
|
||||
public class ShipDynamicsMsgHandler : BaseCmdhandler
|
||||
{
|
||||
public async override Task<bool> Handle(string msg)
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user