예제 #1
0
 public OutputPanelVM()
 {
     ToggleSource = new RelayCommand(new Action<object>(toggleSource_));
     EnableLog = true;
     DisplayEnbld = true;
     fromSim = true;
     srcColor = "Gray";
 }
예제 #2
0
        public ElemDefVM(SimManager SManager_,OutputManager outMngr)
        {
            mass = InputCx = InputCy = InputCz = InputFx = InputFy = InputFz = null;
            simMgr = SManager_;
            outMan = outMngr;

            MPointCreation = new RelayCommand(new Action<object>(addMPoint));
            ActionAdd = new RelayCommand(new Action<object>(addAction));
        }
 public EnvironmentDefVM(SimManager SManager_)
 {
     SMan = SManager_;
     UpdateEnvironment = new RelayCommand(new Action<object>(setEnvironement));
 }
 public MainWindowModel()
 {
     mass = InputCx = InputCy = InputCz = null;
     MPointCreation = new RelayCommand(new Action<object>(addMPoint));
 }