using Core.Mes.Client.Comm.Server;
using CoreFS.CA06;
namespace Core.StlMes.Client.Judge.Commons
{
public class PhyJudge
{
private OpeBase ob;
public PhyJudge(OpeBase ob)
{
this.ob = ob;
}
///
/// 理化判定
///
///
///
///
///
///
///
public bool Judge(string designKey, string ordLnPk, string stoveNo, string jhyPhyResultJsons, string mscPline, string pic,
string[] specFlags, JudgeType judgeType, out string errMsg)
{
object[] results = (object[])ServerHelper.SetDataReturnObj("com.steering.pss.judge.comm.PhyJudgeHelper.judge",
new object[] { designKey, ordLnPk, stoveNo, jhyPhyResultJsons, mscPline, pic, specFlags, ((int)judgeType).ToString() }, ob);
errMsg = results[1].ToString();
return bool.Parse(results[0].ToString());
}
}
}