Program.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using Azylee.Core.LogUtils.SimpleLogUtils;
  2. using Azylee.Jsons;
  3. using Azylee.YeahWeb.BaiDuWebAPI.dwz;
  4. using Azylee.YeahWeb.BaiDuWebAPI.IPLocationAPI;
  5. using System;
  6. namespace Test.YeahWeb
  7. {
  8. class Program
  9. {
  10. static void Main(string[] args)
  11. {
  12. //Log log = new Log(true,LogLevel.All,LogLevel.All);
  13. var s = IPLocationTool.GetLocation();
  14. if (s != null)
  15. {
  16. }
  17. //var rs = DwzTool.Create("", "http://www.baidu.com");
  18. //Console.WriteLine(Json.Object2String(rs));
  19. //PictureScener.GetInfo(1107006764,(int)TimeStampTool.Get(), "",);
  20. //if (GPSConverter.DeviceGPSToBaiduGPS("", 120.379235583333, 36.19172925, out double x, out double y))
  21. //{
  22. // Console.WriteLine($"120.379235583333 - 36.19172925");
  23. // Console.WriteLine($"{x} - {y}");
  24. //}
  25. //GPSInfoWebModel model = GPSInfoTool.GetInfo("", 40.039669, 252.129464);
  26. //if (model != null)
  27. //{
  28. // GPSInfoModel info = model.ToGPSInfoModel();
  29. // Console.WriteLine(info);
  30. //}
  31. Console.ReadLine();
  32. }
  33. }
  34. }