using System; using System.Collections.Generic; using System.Linq; using System.Security.RightsManagement; using System.Text; using Aitex.Core.MES.YZQZ; namespace Aitex.Core.MES { public abstract class FabAutoComm { public virtual string GetRecipeByLot(List list) { return null; }//根据lot获取recipe public virtual bool CheckIn() { return true; }//进站 For JC public virtual bool CheckOut() { return true; }//出站 For JC public virtual KeyValuePair GetRecipeBySingleLot(string lotId, string machineNumber, string machineType, string url) { return new KeyValuePair(); } public virtual ResponseResult GetRecipeByMultipleLot(List list, string machineNumber, string machineType, string webApi) { return new ResponseResult() ; }//For YZQZ public virtual bool SaveMachineErrorRecord(List requestRecords) { return true; } //For YZQZ public virtual bool SaveMachineStatusRecord(int PMState) { return true; }//For YZQZ public virtual bool StartJobRecord(string lotId = "", string receipeName = "",string operation="",string operatorId="") { return true; }//For YZQZ public virtual void EndJobRecord() { } } }