Program.cs 1.7 KB

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