using Earthblend.Nts.Common;
using System;
using System.Windows.Media.Media3D;

namespace Earthblend.Tts.Shell.Members
{
    public class HoseConfigurationDataItem : CustomBindableBase
    {
        #region Private Variables

        private int _position = 0;
        private Double _directionX = 0;
        private Double _directionY = 0;
        private Double _directionZ = 0;

        #endregion

        #region Public Clr Properties

        public int Position { get { return _position; } set { SetProperty(ref _position, value); } }
        public Vector3D Direction { get { return new Vector3D(DirectionX, DirectionY, DirectionZ); } }
        public Double DirectionX { get { return _directionX; } set { SetProperty(ref _directionX, value); NotifyPropertyChanged("Direction"); } }
        public Double DirectionY { get { return _directionY; } set { SetProperty(ref _directionY, value); NotifyPropertyChanged("Direction"); } }
        public Double DirectionZ { get { return _directionZ; } set { SetProperty(ref _directionZ, value); NotifyPropertyChanged("Direction"); } }

        #endregion
    }
}
