Esempio n. 1
0
 public HorizontalTraverseViewModel(HorizontalTraverse horizontalTraverse)
 {
     if (horizontalTraverse == null)
     {
         this.Left  = 0;
         this.Right = 0;
     }
     else
     {
         this.Left  = horizontalTraverse.Left;
         this.Right = horizontalTraverse.Right;
     }
 }
 public GunElevationViewModel(GunVerticalTraverse vertical, HorizontalTraverse horizontal)
     : base(vertical, horizontal)
 {
 }
Esempio n. 3
0
 public GunDepressionViewModel(GunVerticalTraverse vertical, HorizontalTraverse horizontal)
     : base(vertical, horizontal)
 {
 }
 protected GunVerticalTraverseComponentViewModel(GunVerticalTraverse vertical, HorizontalTraverse horizontal)
 {
     _verticalTraverse       = vertical;
     this.HorizontalTraverse = horizontal;
 }