예제 #1
0
        public MainWindow()
        {
            InitializeComponent();
            ParserXML parser = new ParserXML();

            parser.ParseFile();
            var viewModel = new TubesheetModel(parser.diameter, parser.pitch, parser.listOfElements);

            this.DataContext = viewModel;
        }
예제 #2
0
 internal void ConnectTubesheet(TubesheetModel tubesheetModel)
 {
     CollectAllTubes(tubesheetModel.Tubes);
 }