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 PresetAmountRequest : FccMessageBase { /// /// /// /// /// /// public PresetAmountRequest(int pumpId, byte sitewiseNozzleId, decimal authAmount) { var tmp = new Dictionary(); tmp["Command"] = "Authorize"; tmp["PumpId"] = pumpId; tmp["SitewiseNozzleId"] = sitewiseNozzleId; tmp["AuthAmount"] = authAmount; base.Parameters = tmp; } } }