Example #1
0
        public void CreateModelObjects()
        {
            ConnectionChecker con = new ConnectionChecker();

            con.Process();

            BeamToBeamWebCollection      = con.BeamToBeamWebColl;
            BeamToColumnWebCollection    = con.BeamToColumnWebColl;
            BeamToColumnFlangeCollection = con.BeamToColumnFlangeColl;
            //two-way connections
            BeamToBeamWebDoubleCollection   = con.BeamToBeamWebDoubleColl;
            BeamToColumnWebDoubleCollection = con.BeamToColumnWebDoubleColl;

            //counts
            B2BW_SingleCollectionCount = BeamToBeamWebCollection.Count;
            B2BW_MultiCollectionCount  = BeamToBeamWebDoubleCollection.Count;

            B2CW_SingleCollectionCount = BeamToColumnWebCollection.Count;
            B2CW_MultiCollectionCount  = BeamToColumnWebDoubleCollection.Count;

            B2CF_CollectionCount = BeamToColumnFlangeCollection.Count;


            //System.Windows.Window win = this.GetCurrentWindow();
            //_mainView = (ACMainView)win;

            //class = con.BeamToColumnWebColl;
            //for (int i = 0; i < 1; i++)
            //{
            //    FrameOrientation frameorientation = new FrameOrientation();
            //    frameorientation.vm.BeamToBeamWebCollection = BeamToBeamWebCollection;
            //    _mainView.StackPopulate.Children.Add(frameorientation);
            //}
        }