| | |
| | | |
| | | public string GetDisplayText() |
| | | { |
| | | return $"{AliasName}"; |
| | | string snapShot = "未指定"; |
| | | |
| | | using (var scope = GlobalVar.Container.BeginLifetimeScope()) |
| | | { |
| | | var config = scope.Resolve<IProcessConfig>(); |
| | | if (config != null) |
| | | { |
| | | var snapshotPoint = (config as M071Config).SnapshotPointCollection.FirstOrDefault(u => u.Id == SnapshotPointId); |
| | | if (snapshotPoint != null) |
| | | { |
| | | snapShot = snapshotPoint.Name; |
| | | } |
| | | } |
| | | } |
| | | |
| | | return $"{AliasName}-{snapShot}-{ImageSeq}"; |
| | | } |
| | | |
| | | public List<string> GetHalconToolPathList() |
| | |
| | | { |
| | | if (valuePairs == null || valuePairs.Count == 0) |
| | | { |
| | | IsDone = false; |
| | | IsDone = false; |
| | | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("IsDone")); |
| | | return; |
| | | } |
| | | |
| | | foreach (KeyValuePair<string, double> pair in valuePairs) |