| | |
| | | using HslCommunication.WebSocket; |
| | | using HslCommunication.WebSocket; |
| | | using WIDESEA_Common.CommonEnum; |
| | | using WIDESEA_Common.OrderEnum; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_Core.BaseServices; |
| | | using WIDESEA_Core.Helper; |
| | |
| | | |
| | | namespace WIDESEA_CheckService |
| | | { |
| | | /// <summary> |
| | | /// 盘点单服务实现类 |
| | | /// </summary> |
| | | public class CheckOrderService : ServiceBase<Dt_CheckOrder, IRepository<Dt_CheckOrder>>, ICheckOrderService |
| | | { |
| | | private readonly IUnitOfWorkManage _unitOfWorkManage; |
| | | private readonly WebSocketServer _webSocketServer; |
| | | |
| | | public CheckOrderService(IRepository<Dt_CheckOrder> BaseDal, IUnitOfWorkManage unitOfWorkManage, WebSocketServer webSocketServer) : base(BaseDal) |
| | | /// <summary> |
| | | /// 构造函数 |
| | | /// </summary> |
| | | /// <param name="baseDal">基础数据访问对象</param> |
| | | /// <param name="unitOfWorkManage">工作单元管理器</param> |
| | | /// <param name="webSocketServer">WebSocket 服务器</param> |
| | | public CheckOrderService( |
| | | IRepository<Dt_CheckOrder> baseDal, |
| | | IUnitOfWorkManage unitOfWorkManage, |
| | | WebSocketServer webSocketServer) : base(baseDal) |
| | | { |
| | | _unitOfWorkManage = unitOfWorkManage; |
| | | _webSocketServer = webSocketServer; |