You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.2 KiB
C#

using Admin.Core.Common;
using Admin.Core.IService;
using Admin.Core.Model;
using Admin.Core.Model.ViewModels;
using System;
using System.Threading.Tasks;
namespace Admin.Core.IService
{
/// <summary>
/// Ixl_materialServices
/// </summary>
public interface Ixl_materialServices :IBaseServices<xl_material>
{
Task<xl_material> GetByMaterialCode(string code);
/// <summary>
/// 执行类型防差错
/// </summary>
/// <param name="binSerial">料仓号</param>
/// <param name="state">状态</param>
/// <param name="materialCode">物料编码</param>
/// <param name="weight">物料重量</param>
/// <param name="barCode">物料二维码</param>
Task<MessageModel<bool>> ExecPlcState(int binSerial, int state,string materialCode,decimal weight, string? barCode);
/// <summary>
/// 绑定料桶信息
/// </summary>
/// <param name="code"></param>
/// <returns></returns>
Task<int> BindBarrel(string code);
Task<MessageModel<bool>> MaterialVerification(string barCode);
Task<bool> xlInsertMaterial(string ID, string materialCode, string materialName, DateTime CreateDateTime);
}
}