物料管理

This commit is contained in:
qianhao.xu
2024-04-26 11:20:39 +08:00
parent 9c77c90f5d
commit 6da6069678
6 changed files with 274 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ using static System.Runtime.InteropServices.JavaScript.JSType;
namespace ZR.Service.mes.mm
{
[AppService(ServiceType = typeof(IMaterialInputService), ServiceLifetime = LifeTime.Transient)]
public class MaterialInputService : BaseService<AgvLocation>, IMaterialInputService
public class MaterialInputService : BaseService<MmAgvLocation>, IMaterialInputService
{
/// <summary>
/// 获取AGV上料起点
@@ -26,7 +26,7 @@ namespace ZR.Service.mes.mm
/// <returns></returns>
public string[] Getstart_AGV_points()
{
List<AgvLocation> positions = Context.Queryable<AgvLocation>()
List<MmAgvLocation> positions = Context.Queryable<MmAgvLocation>()
.Where(it => it.AreaCode == 2)
.Where(it => it.Type == 0)
.ToList();
@@ -44,7 +44,7 @@ namespace ZR.Service.mes.mm
/// <returns></returns>
public string[] Getend_AGV_points()
{
List<AgvLocation> positions = Context.Queryable<AgvLocation>()
List<MmAgvLocation> positions = Context.Queryable<MmAgvLocation>()
.Where(it => it.AreaCode == 2)
.Where(it => it.Type == 1)
.ToList();