using Admin.Core.Common;
using Admin.Core.IService;
using Admin.Core.Model;
using Admin.Core.Model.ViewModels;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Admin.Core.IService
{
///
/// Ixl_materialServices
///
public interface Ixl_materialServices :IBaseServices
{
Task GetByMaterialCode(string code);
///
/// 执行类型防差错
///
/// 料仓号
/// 状态
/// 物料编码
/// 物料重量
/// 物料二维码
Task> ExecPlcState(int binSerial, int state,string materialCode,decimal weight, string? barCode);
///
/// 绑定料桶信息
///
///
///
Task BindBarrel(string code);
Task> MaterialVerification(string barCode);
///
/// 物料插入
///
///
///
///
///
///
///
Task xlInsertMaterial(
string id,
string materialCode,
string materialName,
int isEnable,
DateTime createDatetime);
///
/// 物料更新
///
///
///
///
///
///
///
Task xlUpdateMaterial(
string id,
string materialCode,
string materialName,
int isEnable,
DateTime createDatetime);
///
/// 物料查询
///
///
Task> xlMaterialList();
///
/// 根据ID查询
///
///
///
Task SelectXlMaterialById(string id);
}
}