예제 #1
0
        public static BusC GetInstance()
        {
            if (_busC != null)
            {
                return(_busC);
            }
            lock (Object)
            {
                if (_busC == null)
                {
                    _busC = new BusC();
                }
            }

            return(_busC);
        }
예제 #2
0
 public BusCStato()
 {
     _busC     = BusC.GetInstance();
     Operation = _busC.Operation;
     Dato      = _busC.Dato;
 }