12345678910111213141516171819202122232425262728 |
- 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<string> list) { return null; }//根据lot获取recipe
- public virtual bool CheckIn() { return true; }//进站 For JC
- public virtual bool CheckOut() { return true; }//出站 For JC
- public virtual KeyValuePair<ResultStatus, ResponseRecipe> GetRecipeBySingleLot(string lotId, string machineNumber, string machineType, string url) { return new KeyValuePair<ResultStatus,ResponseRecipe>(); }
- public virtual ResponseResult GetRecipeByMultipleLot(List<string> list, string machineNumber, string machineType, string webApi) { return new ResponseResult() ; }//For YZQZ
- public virtual bool SaveMachineErrorRecord(List<RequestMachineErrorRecord> 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() { }
- }
- }
|