Beispiel #1
0
        protected MainModel _mainModel = null; // Lien vers le model

        #endregion Fields

        #region Constructors

        public HelperVM()
        {
            _mainModel = MainModel.GetInstance;
            _mainModel.EUpdateCmdDescription += new EventHandler(UpdateData);
        }
Beispiel #2
0
        private RobotAction _modifiedRobotAction; // Action pour la mise à jour

        #endregion Fields

        #region Constructors

        // Public ---------------------------------------------------------------------------------
        public RobotActionVM()
        {
            _modifiedRobotAction = new RobotAction();
            _mainModel = MainModel.GetInstance;
            _mainModel.RobotActionChanged += new EventHandler(UpdateData);
        }
        protected SubStrategy _selectedSubStrategy = null; // Sous-strategie selectionnée

        #endregion Fields

        #region Constructors

        // Public ---------------------------------------------------------------------------------
        public SubStrategiesVM()
        {
            _mainModel = MainModel.GetInstance;
            _currentStrategy = null;
            _mainModel.RobotActionListChanged += new EventHandler(UpdateData);
        }
Beispiel #4
0
 // Public ---------------------------------------------------------------------------------
 public MainVM()
 {
     _mainModel = MainModel.GetInstance;
 }