// The constructor taking the input info channel and the output acknowledge channel. public Taxi(ChannelReader<Tuple<int, int, string>> info, ChannelWriter<string> ack) { customerInfoChannel = info; ackChannel = ack; timer = new Timer(); rand = new Random(); }
public Customers(ChannelWriter<Tuple<int, int, string>> info) { infoChannel = info; rand = new Random(); timer = new Timer(); }