using System; using System.Collections.Generic; namespace Global_Pump_Fdc.MessageEntity.Outgoing { /// /// NOZ1-n specifies the logical nozzle numbers that is allowed for filling. /// The transaction is used when a pump is authorized. /// E.g. if nozzle 1-3 is allowed, the transaction contains 1, 2, 3. /// public class AuthorizeRequest : FccMessageBase { public AuthorizeRequest(int pumpId, byte sitewiseNozzleId) { var tmp = new Dictionary(); tmp["Command"] = "Authorize"; tmp["PumpId"] = pumpId; tmp["SitewiseNozzleId"] = sitewiseNozzleId; base.Parameters = tmp; } } }