示例#1
0
        public void AddMTSBooster()
        {
            MTSBooster          booster = new MTSBooster();
            MTSBoosterViewModel vm      = new MTSBoosterViewModel(booster);

            Boosters.Add(vm);
            _mts.boosters.Add(booster);
        }
示例#2
0
 public void LoadFrom(MTSBooster booster)
 {
     _booster = booster;
 }
示例#3
0
 public MTSBoosterViewModel(MTSBooster booster)
 {
     LoadFrom(booster);
 }