first commit

This commit is contained in:
2026-09-02 16:31:50 +08:00
commit a461727193
911 changed files with 692450 additions and 0 deletions
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JSMachine.WMS.Netty.NettyUdp.Command
{
public class BaseCmd : IBaseCmd
{
public virtual CommandType ComType { get; set; }
}
public enum CommandType
{
/// <summary>
/// 心跳包
/// </summary>
g_eKeepAlive = 1,
}
}
@@ -0,0 +1,10 @@
namespace JSMachine.WMS.Netty.NettyUdp.Command
{
/// <summary>
/// 心跳
/// </summary>
public class HeartBeartCmd : BaseCmd
{
public override CommandType ComType { get; set; } = CommandType.g_eKeepAlive;
}
}
@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JSMachine.WMS.Netty.NettyUdp.Command
{
public interface IBaseCmd
{
CommandType ComType { get; set; }
}
}