You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
3.5 KiB
118 lines
3.5 KiB
using ICSSoft.Frame.Common;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
using ICSSoft.Frame.Data.Entity;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class ICSAGVBLL
|
|
{
|
|
public static string CreateAGVTaskJJorBack(List<AGVCreateTaskModel> Model, List<ICSAGVTASKLOG> Log_List, string Appconstr, string workpoint)
|
|
{
|
|
try
|
|
{
|
|
return ICSAGVDAL.CreateAGVTaskJJorBack(Model, Log_List, Appconstr, workpoint);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
public static AGVCancelTaskReturnModel CancelAGVTask(AGVCancelTaskModel Model, string Appconstr, string workpoint)
|
|
{
|
|
return ICSAGVDAL.CancelAGVTask(Model, Appconstr, workpoint);
|
|
}
|
|
|
|
public static void AgvAreaToArea(AgvAreaToAreaModel Model, ICSAGVTASKLOG log, string Appconstr, string workpoint) {
|
|
try
|
|
{
|
|
ICSAGVDAL.AgvAreaToArea(Model,log, Appconstr, workpoint);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
public static string AgvPointToPoint(List<PointToPointModel> Model, List<ICSAGVTASKLOG> log, string Appconstr, string workpoint)
|
|
{
|
|
try
|
|
{
|
|
return ICSAGVDAL.AgvPointToPoint(Model, log, Appconstr, workpoint);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
|
|
}
|
|
|
|
public static bool IsCanToAGV(string Lotno,string Opcode,string Type, string Appconstr, string workpoint)
|
|
{
|
|
try
|
|
{
|
|
return ICSAGVDAL.IsCanToAGV(Lotno, Opcode, Type, Appconstr, workpoint);
|
|
}
|
|
catch (Exception ex) {
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
public static List<MaterialItem> GetOPBOM(string LotNo, string opcode, string Appconstr, string workpoint)
|
|
{
|
|
return ICSAGVDAL.GetOPBOM(LotNo, opcode, Appconstr, workpoint);
|
|
}
|
|
public static bool IsFirstOP(string LOTNO, string opcode, string Appconstr, string workpoint)
|
|
{
|
|
return ICSAGVDAL.IsFirstOP(LOTNO, opcode, Appconstr, workpoint);
|
|
}
|
|
public static bool IsLastOP(string LOTNO, string opcode, string Appconstr, string workpoint)
|
|
{
|
|
return ICSAGVDAL.IsLastOP(LOTNO, opcode, Appconstr, workpoint);
|
|
}
|
|
|
|
public static bool NextOPisWW(string LOTNO, string opcode, string Appconstr, string workpoint)
|
|
{
|
|
try
|
|
{
|
|
return ICSAGVDAL.NextOPisWW(LOTNO, opcode, Appconstr, workpoint);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
|
|
public static bool NextOPisWG(string LOTNO, string opcode, string Appconstr, string workpoint)
|
|
{
|
|
try
|
|
{
|
|
return ICSAGVDAL.NextOPisWG(LOTNO, opcode, Appconstr, workpoint);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
public static string GetAreaCode(string EnumKey, string EnumValue, string Appconstr, string workpoint)
|
|
{
|
|
|
|
try
|
|
{
|
|
return ICSAGVDAL.GetAreaCode(EnumKey, EnumValue, Appconstr, workpoint);
|
|
}
|
|
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|