public cyTest() { this._t = new cyTariff("test", 100); cyBill b = new cyBill(20); cySessionHandler s = new cySessionHandler(this._t, b); this._client = new cyClient("client 1", s, null); }
protected void printClientStatus(cyClient client) { Console.WriteLine(TimeSpan.FromSeconds(client.session.getTotalTime()).ToString() + ": $" + client.session.getTotalMoney().ToString()); if (client.session.isPrepaid) { Console.WriteLine(TimeSpan.FromSeconds(client.session.getAvailableTime()).ToString()); } }