Program.cs 1.4 KB

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