| | |
| | | using HMI.Base; |
| | | using HMI.Core; |
| | | using HMI.Core.Entity; |
| | | using HMI.Core.Manager; |
| | | using HMI.Core.Util; |
| | | using HMI.ParameterManage.Entity; |
| | | using HMI.ParameterManage.Util; |
| | | using HMI.UI; |
| | | using HMI.UI.Util; |
| | | using HMI.Util; |
| | |
| | | using NationalInstruments.TestStand.Interop.UI.Ax; |
| | | using Panuon.WPF.UI; |
| | | using ScottPlot; |
| | | using ScottPlot.AxisLimitManagers; |
| | | using ScottPlot.Plottables; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Collections.ObjectModel; |
| | | using System.ComponentModel; |
| | | using System.Drawing; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Timers; |
| | |
| | | private Pie pie; |
| | | private string CountIniPath; |
| | | |
| | | private bool alarmVisiable; |
| | | public bool AlarmVisiable |
| | | { |
| | | get => alarmVisiable; |
| | | set |
| | | { |
| | | Set(ref alarmVisiable, value); |
| | | } |
| | | } |
| | | |
| | | public TsExecution() |
| | | { |
| | | DataContext = this; |
| | |
| | | |
| | | private void InitProducts() |
| | | { |
| | | Products = ParameterManager.GetProducts<ObservableCollection<ProductData>>(); |
| | | Products = ProductManager.GetProducts<ObservableCollection<ProductData>>(); |
| | | if (Products != null && Products.Count > 0) |
| | | { |
| | | List<ParameterData> parameters = |
| | |
| | | private void SetTestSeqFile(ProductData product) |
| | | { |
| | | string name = product.Name; |
| | | List<ParameterData> parameters = ParameterManager.GetParametersByProductName(name); |
| | | List<ParameterData> parameters = ProductManager.GetParametersByProductName(name); |
| | | testSeqFile = parameters.FirstOrDefault(p => p.Name == "TestSequence")?.Value?.ToString(); |
| | | } |
| | | |