添加报警窗口

出库流程调试、优化
This commit is contained in:
hehaibing-1996
2024-05-05 16:57:20 +08:00
parent d283924ae1
commit 311a695498
44 changed files with 2272 additions and 307 deletions

View File

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WCS.Model.WebSocketModel
{
public class SolveWarningRequest
{
public Guid Guid { get; set; }
public SolveTypeEnum SolveType { get; set; }
}
public enum SolveTypeEnum
{
= 0,
= 1,
}
}

View File

@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WCS.Model.WebSocketModel
{
public class WebSocketMessageModel
{
public bool IsWarning { get; set; } = true;
public Guid Guid { get; set; } = Guid.NewGuid();
public WarningTypeEnum WarningType { get; set; }
public int StoreId { get; set; }
public string StoreCode { get; set; }
public int ModuleId { get; set; }
public string ModuleCode { get; set; }
public int ShelfId { get; set; }
public string ShelfCode { get; set; }
public string WarningMessage { get; set; }
/// <summary>
/// 发送到前端的地址
/// </summary>
public string ClientIp { get; set; }
public DateTime LastSendTime { get; set; }
public bool ClientIsReceived { get; set; }
//恢复正常需要消除的报警guid
public List<Guid> SolvedGuids { get; set; }
}
public enum WarningTypeEnum
{
= 0,
= 1,
= 2,
= 3,
= 4,
退 = 5,
= 6,
= 7,
= 8,
= 9,
= 10,
退 = 11,
= 50,
= 51,
}
}