bool bf; //buffer full (indica daca exista date in curs de transmitere prin bus) public Bus(string id, Calculator c1, Calculator c2, Calculator c3, Calculator c4, Calculator c5, Router rout) { identifier = id; //Busul leaga 5 calculatoare si un router c[1] = c1; c[1].addBus(this); c[2] = c2; c[2].addBus(this); c[3] = c3; c[3].addBus(this); c[4] = c4; c[4].addBus(this); c[5] = c5; c[5].addBus(this); r = rout; grup = tip.Bus; bf = false; }