Exemple #1
0
        public TriggerModel(IRcs rcs)
        {
            RCS              = rcs;
            _rnd             = new Random();
            WeaponCollection = new BindableCollection <WeaponModel>();

            foreach (var weapon in WeaponHelper.WeaponNames)
            {
                var model = new WeaponModel(weapon.Key, weapon.Value);
                WeaponCollection.Add(model);
            }
        }
 public RCSModel(IRcs rcs)
 {
     RCS = rcs;
 }