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.

24 lines
699 B
C#

using System;
using System.Collections.Generic;
using SlabHandle;
namespace MES.Interface
{
public class UseAlgorithm
{
//外部调用方法
public Solution solution(List<BP_ORDER_ITEM> list, GP_SLAB 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;
}
}
}