终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 2 година
пре 2 година
пре 2 година
пре 2 година
пре 2 година
пре 2 година
пре 2 година
пре 2 година
пре 2 година
123456789101112131415161718192021222324252627282930313233
  1. using BPASmartClient.AGV.Feedback;
  2. using BPASmartClient.Helper;
  3. using BPASmartClient.Http;
  4. using BPASmartClient.HubHelper;
  5. using Newtonsoft.Json;
  6. namespace TestDemo
  7. {
  8. public partial class Form1 : Form
  9. {
  10. public Form1()
  11. {
  12. InitializeComponent();
  13. }
  14. private void button1_Click(object sender, EventArgs e)
  15. {
  16. AGVToUpSystem aGVToUpSystem = new AGVToUpSystem();
  17. string value = JsonConvert.SerializeObject(aGVToUpSystem);
  18. string url = $"http://192.168.1.40:8089/apicallback/quicktron/robotjob/report?sign={value}";
  19. var res = APIHelper.GetInstance.HttpRequest(url, "", aGVToUpSystem, RequestType.POST);
  20. }
  21. private void button2_Click(object sender, EventArgs e)
  22. {
  23. Upstreamrequest aGVToUpSystem = new Upstreamrequest();
  24. string value = JsonConvert.SerializeObject(aGVToUpSystem);
  25. string url = $"http://192.168.1.40:8089/apicallback/quicktron/robotjob/upstreamrequest?sign={value}";
  26. var res = APIHelper.GetInstance.HttpRequest(url, "", aGVToUpSystem, RequestType.POST);
  27. }
  28. }
  29. }