| | |
| | | using GZ.DB.IRepository.OIDATABASE; |
| | | using GZ.DB.Entity.OIDATABASE; |
| | | using static GZ.Projects.AuxAllWCS.ToWMSMES.CreateTask; |
| | | using GZ.Device.PLC; |
| | | namespace GZ.Projects.AuxAllWCS |
| | | { |
| | | /// <summary> |
| | |
| | | } |
| | | View1_Init(sender, e); |
| | | |
| | | var path = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Configs"); |
| | | string text = File.ReadAllText(configPath); |
| | | PlcConfig plcConfig = JsonConvert.DeserializeObject<PlcConfig>(text); |
| | | if (plcConfig != null && FactoryMap.ContainsKey((int)plcConfig.Brand) && FactoryMap[(int)plcConfig.Brand].Contains((int)plcConfig.Comm)) |
| | | { |
| | | |
| | | } |
| | | Console.Write(path); |
| | | /// <summary> |
| | | /// ç¨åºç段:åå§åé
ç½® |
| | | /// æè¿°: |