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,
|
2024-10-29 10:08:34 +00:00
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
2024-09-05 01:59:57 +00:00
|
|
|
|
Process = 2,
|
2024-10-29 10:08:34 +00:00
|
|
|
|
|
|
|
|
|
//<2F>ļ<EFBFBD>չʾ<D5B9><CABE>Ϣ
|
|
|
|
|
DirFileDiff = 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-10-11 01:04:58 +00:00
|
|
|
|
Publish = 6,
|
2024-10-29 04:46:13 +00:00
|
|
|
|
Close = 7
|
2024-09-05 01:59:57 +00:00
|
|
|
|
}
|
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
|
|
|
|
}
|