zrg
2026-01-06 980b78709fef23248956382fe72571e431c4d289
WFormSynchronizeData_SMR/EquipmentCollectionForm/EquipmentCollectionForm.cs
@@ -687,8 +687,8 @@
            // 准备要发送的表单数据
            var formData = new FormUrlEncodedContent(new[]
            {
                    new KeyValuePair<string, string>("userName", "admin"),
                    new KeyValuePair<string, string>("password", "admin")
                    new KeyValuePair<string, string>("userName", "mes"),
                    new KeyValuePair<string, string>("password", "MesApi123")
                    // 添加更多键值对,根据您的需要
                });
            JsonResult jsonResult = await getUrl(urls, formData);
@@ -843,8 +843,8 @@
            // 准备要发送的表单数据
            var formData = new FormUrlEncodedContent(new[]
            {
                    new KeyValuePair<string, string>("userName", "admin"),
                    new KeyValuePair<string, string>("password", "admin")
                    new KeyValuePair<string, string>("userName", "mes"),
                    new KeyValuePair<string, string>("password", "MesApi123")
                    // 添加更多键值对,根据您的需要
                });
            JsonResult jsonResult = await getUrl(urls, formData);
@@ -1024,6 +1024,8 @@
                            }
                            JsonEquipmentData data = await FindDevicePropCalc(Url, token, jsonEquipment.data[i].deviceNo, TimeDate, time);
                            await Task.Delay(200);
                            for (int j = 0; j < data.data.Count; j++)
                            {
@@ -1206,8 +1208,8 @@
            // 准备要发送的表单数据
            var formData = new FormUrlEncodedContent(new[]
            {
                    new KeyValuePair<string, string>("userName", "admin"),
                    new KeyValuePair<string, string>("password", "admin")
                    new KeyValuePair<string, string>("userName", "mes"),
                    new KeyValuePair<string, string>("password", "MesApi123")
                    // 添加更多键值对,根据您的需要
                });
            JsonResult jsonResult = await getUrl(urls, formData);