Beispiel #1
0
        private void AddEngine()
        {
            MESEngine          engine = new MESEngine();
            MESEngineViewModel vm     = new MESEngineViewModel(engine);

            Engines.Add(vm);
            _mes.engines.Add(engine);
        }
Beispiel #2
0
 public void LoadFrom(MESEngine engine)
 {
     _engine = engine;
 }
Beispiel #3
0
 public bool IsViewModelOf(MESEngine engine)
 {
     return(engine.Equals(_engine));
 }
Beispiel #4
0
 public MESEngineViewModel(MESEngine engine)
 {
     LoadFrom(engine);
 }