docile-charge-point
docile-charge-point copied to clipboard
How can I add reservation and meter reading
Hi, I am using the example scale form the repo named continuous-remote-listening.scala
I was wondering, how I can add meter reading (estimation cost ) and printing the output ? I also found that in order to perform reservation I can use:
val resNum= expectIncoming(reserveNowReq.respondingWith(ReserveNowRes(Reservation.Accepted)))(noTimeout)
var reID= resNum.reservationId
The problem is that I want my simulator to be able to perform charging or reservation without prior preparation. How can I achieve it?
Do you have any relevant examples for that ? Thanks