コード例 #1
0
 public CaexDocumentViewModel(IAmlProvider provider)
     : base(provider)
 {
     CaexObject          = provider.CaexDocument.CAEXFile;
     InstanceHierarchies = new ViewModelCollection <InstanceHierarchyViewModel>(provider.CaexDocument.CAEXFile.InstanceHierarchy, this);
 }
コード例 #2
0
 private void Initialize()
 {
     CaexObject       = _instanceHierarchy;
     InternalElements = new ViewModelCollection <InternalElementViewModel>(_instanceHierarchy.InternalElement, this);
 }
コード例 #3
0
 private void Initialize()
 {
     _internalElement.RefBaseSystemUnitPath = "/Kinematic/Link";
     Flanges = new ViewModelCollection <Flange>(_internalElement.ExternalInterface, this);
 }
コード例 #4
0
 private void Initialize()
 {
     CaexObject = _interface;
     Properties = new ViewModelCollection <BasePropertyViewModel>(_interface.Attribute, this);
 }
コード例 #5
0
 private void Initialize()
 {
     _internalElement.RefBaseSystemUnitPath = "/Assembly";
     Parts = new ViewModelCollection <BaseComponent>(_internalElement.InternalElement, this);
 }
コード例 #6
0
 private void Initialize()
 {
     _internalElement.RefBaseSystemUnitPath = "/Part";
     DataConnectors = new ViewModelCollection <ExternalDataConnectorViewModel>(_internalElement.ExternalInterface, this);
 }
コード例 #7
0
 private void Initialize()
 {
     CaexObject = _instanceHierarchy;
     Parts      = new ViewModelCollection <BaseComponent>(_instanceHierarchy.InternalElement, this);
 }
 private void Initialize()
 {
     CaexObject = _internalElement;
     Interfaces = new ViewModelCollection <InterfaceViewModel>(_internalElement.ExternalInterface, this);
 }