2024-07-31 09:14:07 +00:00
|
|
|
namespace Common;
|
|
|
|
|
2024-09-05 01:59:57 +00:00
|
|
|
public enum SyncMsgType
|
2024-07-31 09:14:07 +00:00
|
|
|
{
|
2024-09-05 01:59:57 +00:00
|
|
|
Error = 0,
|
|
|
|
General = 1,
|
|
|
|
Process = 2,
|
2024-09-23 05:55:17 +00:00
|
|
|
// DirFilePack = 3
|
2024-09-05 01:59:57 +00:00
|
|
|
}
|
2024-09-23 09:46:46 +00:00
|
|
|
|
2024-09-05 01:59:57 +00:00
|
|
|
public enum SyncProcessStep
|
|
|
|
{
|
|
|
|
Connect = 1,
|
|
|
|
DeployProject = 2,
|
|
|
|
DiffFileAndPack = 3,
|
|
|
|
PackSqlServer = 4,
|
2024-09-07 06:46:08 +00:00
|
|
|
UploadAndUnpack = 5,
|
2024-09-05 01:59:57 +00:00
|
|
|
Publish = 6
|
|
|
|
}
|
2024-09-23 09:46:46 +00:00
|
|
|
|
|
|
|
public class SyncMsg
|
2024-09-05 01:59:57 +00:00
|
|
|
{
|
2024-09-23 09:46:46 +00:00
|
|
|
public SyncMsgType Type { get; set; }
|
2024-09-05 01:59:57 +00:00
|
|
|
|
2024-09-23 09:46:46 +00:00
|
|
|
public SyncProcessStep Step { get; set; }
|
2024-09-05 01:59:57 +00:00
|
|
|
|
2024-09-23 09:46:46 +00:00
|
|
|
public required string Body { get; set; }
|
2024-07-31 09:14:07 +00:00
|
|
|
}
|