Beispiel #1
0
 public INode GetNode(ICartesianPoint point, string name)
 {
     return(new Node(point, name));
 }
Beispiel #2
0
 public CartesianPointViewModel(ICartesianPoint cartesianPoint)
 {
     _cartesianPoint = cartesianPoint;
     _x = _cartesianPoint.X;
     _y = _cartesianPoint.Y;
 }
 public Node(ICartesianPoint point, string name)
 {
     Point = point;
     Name  = name;
 }
Beispiel #4
0
        public INodeViewModel GetNodeViewModel(ICartesianPoint point, string name)
        {
            INode node = _modelProvider.GetNode(point, name);

            return(new NodeViewModel(node));
        }
 public Node(ICartesianPoint point)
 {
     Point = point;
 }