Beispiel #1
0
 public UnitàOperativaStato()
 {
     _uo       = UnitàOperativa.GetInstance();
     Srs       = ShiftRegisterStato.GetInstance();
     As        = AluStato.GetInstance();
     Bcs       = BusCStato.GetInstance();
     Bbs       = BusBStato.GetInstance();
     Rs        = RegistriStato.GetInstance();
     Operation = _uo.Operation;
 }
        public static BusCStato GetInstance()
        {
            if (_bcs != null)
            {
                return(_bcs);
            }
            lock (Object)
            {
                if (_bcs == null)
                {
                    _bcs = new BusCStato();
                }
            }

            return(_bcs);
        }