Browse Source

更新

样式分支
fyf 2 years ago
parent
commit
fc97cf8a64
2 changed files with 5 additions and 3 deletions
  1. +2
    -1
      BPASmartClient.ViewModel/DataVViewModel.cs
  2. +3
    -2
      BPASmartClient.ViewModel/LogOrAlarmIOTViewModel.cs

+ 2
- 1
BPASmartClient.ViewModel/DataVViewModel.cs View File

@@ -1,4 +1,5 @@

using BPASmartClient.Business;
using BPASmartClient.Helper;
using BPASmartClient.IoT;
using DataVAPI.Tool.IOT;
@@ -22,7 +23,7 @@ namespace BPASmartClient.ViewModel
deviceTable = new ObservableCollection<DeviceTable>();
device = new DeviceTable();
deviceTableSelectedItem = new DeviceTable();
ApiURL = System.Configuration.ConfigurationManager.AppSettings["DataVServiceUri"].ToString();
ApiURL = InternetInfo.DataVApiAddress;
Refresh();
}
#endregion


+ 3
- 2
BPASmartClient.ViewModel/LogOrAlarmIOTViewModel.cs View File

@@ -1,4 +1,5 @@
using BPASmartClient.CustomResource.UserControls;
using BPASmartClient.Business;
using BPASmartClient.CustomResource.UserControls;
using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.Helper;
using BPASmartClient.IoT;
@@ -51,7 +52,7 @@ namespace BPASmartClient.ViewModel
#region 函数
public void Init()
{
DataVApiAddress = System.Configuration.ConfigurationManager.AppSettings["DataVServiceUri"].ToString();
DataVApiAddress = InternetInfo.DataVApiAddress;

LogDataFile = new ObservableCollection<FileModel>();
//查询


Loading…
Cancel
Save