using Aitex.Core.Util; using MECF.Framework.Common.Equipment; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PunkHPX8_RT.Modules { public class ModuleMatcherManager : Singleton { #region 常量 private Dictionary _matcher =new Dictionary { { ModuleName.PlatingCell1.ToString(),ModuleName.PlatingCell2.ToString()}, { ModuleName.PlatingCell2.ToString(),ModuleName.PlatingCell1.ToString()}, { ModuleName.PlatingCell3.ToString(),ModuleName.PlatingCell4.ToString()}, { ModuleName.PlatingCell4.ToString(),ModuleName.PlatingCell3.ToString()}, { ModuleName.VPW1.ToString(),ModuleName.VPW2.ToString()}, { ModuleName.VPW2.ToString(),ModuleName.VPW1.ToString()}, }; #endregion /// /// 获取配对模块 /// /// /// public string GetMatcherByModule(string module) { if (_matcher.ContainsKey(module)){ return _matcher[module]; } else { return ""; } } } }