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 RegistriStato GetInstance()
        {
            if (_rs != null)
            {
                return(_rs);
            }
            lock (Object)
            {
                if (_rs == null)
                {
                    _rs = new RegistriStato();
                }
            }

            return(_rs);
        }