物料管理
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user