FabAutoComm.cs 1.3 KB

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Security.RightsManagement;
  5. using System.Text;
  6. using Aitex.Core.MES.YZQZ;
  7. namespace Aitex.Core.MES
  8. {
  9. public abstract class FabAutoComm
  10. {
  11. public virtual string GetRecipeByLot(List<string> list) { return null; }//根据lot获取recipe
  12. public virtual bool CheckIn() { return true; }//进站 For JC
  13. public virtual bool CheckOut() { return true; }//出站 For JC
  14. public virtual KeyValuePair<ResultStatus, ResponseRecipe> GetRecipeBySingleLot(string lotId, string machineNumber, string machineType, string url) { return new KeyValuePair<ResultStatus,ResponseRecipe>(); }
  15. public virtual ResponseResult GetRecipeByMultipleLot(List<string> list, string machineNumber, string machineType, string webApi) { return new ResponseResult() ; }//For YZQZ
  16. public virtual bool SaveMachineErrorRecord(List<RequestMachineErrorRecord> requestRecords) { return true; } //For YZQZ
  17. public virtual bool SaveMachineStatusRecord(int PMState) { return true; }//For YZQZ
  18. public virtual bool StartJobRecord(string lotId = "", string receipeName = "",string operation="",string operatorId="") { return true; }//For YZQZ
  19. public virtual void EndJobRecord() { }
  20. }
  21. }