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