Ejemplo n.º 1
0
 public void Publish(TollVehicleInfo data)
 {
     _buffer.Post(data);
 }
Ejemplo n.º 2
0
 public static string VehicleInfoToString(TollVehicleInfo data)
 {
     return(string.Format("Transponder ID: {0}\n License Plate: {1}\n Vehicle Class: {2} \nTimestamp: {3}\n",
                          data.Vehicle.TransponderID, data.Vehicle.LicensePlateNumber, data.Vehicle.VehicleClass, data.Timestamp));
 }