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.
23 lines
705 B
C#
23 lines
705 B
C#
using ibk.IPD.Entity.IpdPs;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SinglePlateHandle.Common
|
|
{
|
|
public class UseAlgorithm
|
|
{
|
|
//外部调用方法
|
|
public Solution solution(List<BP_ORDER_ITEM> list, GP_PLATE plate)
|
|
{
|
|
Instance instance = new Instance();
|
|
instance.squareList = list;
|
|
instance.plate_no = plate.PLATE_NO;
|
|
instance.l = Convert.ToDouble(plate.LEN);
|
|
instance.w = Convert.ToDouble(plate.WID);
|
|
Search model = new Search(instance);
|
|
//Solution solution = model.search();
|
|
Solution solution = model.search1();
|
|
return solution;
|
|
}
|
|
}
|
|
} |