QRModel.cs 753 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Drawing;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace ShareWifi.Model
  8. {
  9. class QRModel
  10. {
  11. private string path; //图片所在文件夹
  12. private string name; //图片名
  13. private Bitmap qrData; //二维码
  14. public QRModel()
  15. {
  16. }
  17. public QRModel(string mpath, string picname, Bitmap map)
  18. {
  19. Path = mpath;
  20. name = picname;
  21. QrData = map;
  22. }
  23. public string Path { get => path; set => path = value; }
  24. public Bitmap QrData { get => qrData; set => qrData = value; }
  25. public string Name { get => name; set => name = value; }
  26. }
  27. }