public static BusC GetInstance() { if (_busC != null) { return(_busC); } lock (Object) { if (_busC == null) { _busC = new BusC(); } } return(_busC); }
public BusCStato() { _busC = BusC.GetInstance(); Operation = _busC.Operation; Dato = _busC.Dato; }