添加更多指令支持;

添加Form页面
This commit is contained in:
小白猿
2023-11-14 20:29:18 +08:00
parent 3c090e0e91
commit ba46b2e533
13 changed files with 693 additions and 21 deletions
+15
View File
@@ -6,6 +6,11 @@ using System.Threading.Tasks;
namespace BarrageGrab.Modles.JsonEntity
{
/*
* 例如发送 {"Cmd":1,"Data":true} 到ws连接地址 关闭程序
* 前往 http://wstool.jackxiang.com/ 在线ws测试
*/
public enum CommandCode
{
/// <summary>
@@ -17,6 +22,16 @@ namespace BarrageGrab.Modles.JsonEntity
/// 安全关闭程序
/// </summary>
Close = 1,
/// <summary>
/// 启用系统代理 Data:bool
/// </summary>
EnableProxy = 2,
/// <summary>
/// 是否显示控制台 Data:bool
/// </summary>
DisplayConsole = 3,
}
public class Command