FuelProduct.cs 931 B

1234567891011121314151617181920212223242526272829
  1. using Edge.Core.Processor;using Edge.Core.IndustryStandardInterface.Pump;
  2. using System.Collections.Generic;
  3. namespace FspWebApp.Entity.Service
  4. {
  5. public delegate bool ChangeFuel(object value);
  6. public delegate object CommonDelegate(object value);
  7. /// <summary>
  8. /// DO NOT MODIFY THIS CLASS, YOU SHOULD CREATE YOUR NEW CLASS WITH DIFFERENT VERSION NUMBER.
  9. /// modify this class will break the format alignment in Web front end parsing protocal.
  10. /// </summary>
  11. public class FuelProduct
  12. {
  13. public static ChangeFuel onChangeFuelPrice;
  14. public static ChangeFuel onChangeFuelProduct;
  15. public static CommonDelegate onGetAuthToken;
  16. public int Barcode { get; set; }
  17. public string FuelName { get; set; }
  18. public double CurrentPrice { get; set; }
  19. public double? NewPrice { get; set; }
  20. public HashSet<int> CurrentNozzles { get; set; }
  21. }
  22. }