fyf преди 2 години
родител
ревизия
fc97cf8a64
променени са 2 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. +2
    -1
      BPASmartClient.ViewModel/DataVViewModel.cs
  2. +3
    -2
      BPASmartClient.ViewModel/LogOrAlarmIOTViewModel.cs

+ 2
- 1
BPASmartClient.ViewModel/DataVViewModel.cs Целия файл

@@ -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 Целия файл

@@ -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>();
//查询


Зареждане…
Отказ
Запис