ImageList.cs 1020 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows.Media;
  7. namespace Phihong_EVSE_UI_Tool
  8. {
  9. public class ImageList
  10. {
  11. public int Index
  12. {
  13. get;
  14. set;
  15. }
  16. public string FileName
  17. {
  18. get;
  19. set;
  20. }
  21. public byte PixelWidth
  22. {
  23. get;
  24. set;
  25. }
  26. public byte PixelHeight
  27. {
  28. get;
  29. set;
  30. }
  31. public byte[] Pixels
  32. {
  33. get;
  34. set;
  35. }
  36. public ImageList()
  37. {
  38. ;
  39. }
  40. public ImageList(int index, string fileName, byte pixelWidth, byte pixelHeight, byte[] pixels)
  41. {
  42. this.Index = index;
  43. this.FileName = fileName;
  44. this.PixelWidth = pixelWidth;
  45. this.PixelHeight = pixelHeight;
  46. this.Pixels = pixels;
  47. }
  48. }
  49. }