| | |
| | | public interface IPosition : IMESTransaction |
| | | { |
| | | #region Propertys & Variables |
| | | public DbClient MainDB { get; } |
| | | public string UserCode { get; set; } |
| | | public string PostCode { get; set; } |
| | | public MES_FACTORY CurFactory { get; set; } |
| | |
| | | public MES_POSITION CurPosition { get; set; } |
| | | public IWorkBatch WorkBatch { get; } |
| | | public List<MES_WIP_DATA> CurWipSNs { get; set; } |
| | | public List<MES_WIP_DATA> LastWipSNs { get; set; } |
| | | public string CurSN { get; } |
| | | public List<MES_WIP_HIS> CurWipSNHiss { get; set; } |
| | | public Dictionary<string, object> Context { get; set; } |
| | |
| | | /// <param name="labelPVs">过程变量列表</param> |
| | | /// <param name="lv">标签模板变量</param> |
| | | /// <returns></returns> |
| | | public string GetPrintProcessValue(List<BAS_LABEL_PV> labelPVs, BAS_LABEL_VAR lv, List<BAS_LABEL_VAR> lvars, IWorkAction action); |
| | | public string GetPrintProcessValue(List<BAS_LABEL_PV> labelPVs, BAS_LABEL_VAR lv, List<BAS_LABEL_VAR> lvars, IWorkAction curAction, WipPkg? CurPkg); |
| | | /// <summary> |
| | | /// 根据传入的包装对象返回所有的包装实体列表 |
| | | /// </summary> |
| | | /// <param name="parent"></param> |
| | | /// <returns></returns> |
| | | public List<MES_WIP_PKG> GetPackageList(WipPkgItem parent); |
| | | /// <summary> |
| | | /// 获取根据条码规则生成条码 |
| | | /// </summary> |
| | | /// <param name="ruleCode"></param> |
| | | /// <param name="curAction"></param> |
| | | /// <returns></returns> |
| | | public string GenerateSN(string ruleCode, IWorkAction curAction); |
| | | #endregion Functions |
| | | } |
| | | } |