| | |
| | | public async void SetBindingData(AssetsMatchingViewModel inputViewModel) |
| | | { |
| | | _assetsAutoMatching = inputViewModel; |
| | | this.elbowsMatchingCtrl1.SetBindingData(inputViewModel.ElbowsMatchingList); |
| | | this.elbowsMatchingCtrl1.SetBindingData(inputViewModel.ElbowMatchingList); |
| | | this.pipeLineMatchingCtrl1.SetBindingData(inputViewModel.PipeMatchingList); |
| | | this.pumpMatchingCtrl1.SetBindingData(inputViewModel.PumpMatchingList); |
| | | this.threeLinkMatchingCtrl1.SetBindingData(inputViewModel.ThreelinkMatchingList); |
| | |
| | | //阀门匹配 |
| | | var valveMatching = this.valveMatchingCtrl1.SetMatching(input.ValveMatchingList, allValve); |
| | | //弯头匹配 |
| | | var elbowsMatching = this.elbowsMatchingCtrl1.SetMatching(input.ElbowsMatchingList, allAdapting); |
| | | var elbowsMatching = this.elbowsMatchingCtrl1.SetMatching(input.ElbowMatchingList, allAdapting); |
| | | |
| | | assetsAutoMatching.PumpMatchingList = pumpMatching; |
| | | assetsAutoMatching.ThreelinkMatchingList = threeLinkMatching; |
| | | assetsAutoMatching.FourlinkMatchingList = fourLinkMatching; |
| | | assetsAutoMatching.ElbowsMatchingList = elbowsMatching; |
| | | assetsAutoMatching.ElbowMatchingList = elbowsMatching; |
| | | assetsAutoMatching.PipeMatchingList = pipeLineMatching; |
| | | assetsAutoMatching.ValveMatchingList = valveMatching; |
| | | return assetsAutoMatching; |