FileSqlServerSync/Server/Common/Message.cs
zerlei 35a0710ab5 fix: websocket pipeline 测试修复了大量的问题,一大部分是对websocket和c# 不熟悉所致。
- 上传文件bug修复
- 继续测试修改bug
- 代码审查处理,添加必要注释,风格规范性等
2024-10-12 22:01:48 +08:00

30 lines
463 B
C#

namespace Common;
public enum SyncMsgType
{
Error = 0,
General = 1,
Process = 2,
// DirFilePack = 3
}
public enum SyncProcessStep
{
Connect = 1,
DeployProject = 2,
DiffFileAndPack = 3,
PackSqlServer = 4,
UploadAndUnpack = 5,
Publish = 6,
CloseError = 7
}
public class SyncMsg
{
public SyncMsgType Type { get; set; }
public SyncProcessStep Step { get; set; }
public required string Body { get; set; }
}