Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightAggregationManager
This commit is contained in:
commit
ec7e89f5bb
2 files changed
+46
-2
No files matched your search
@@ -38,7 +38,6 @@ namespace SunlightAggregationManager.ViewModel
|
||||
[ObservableProperty]
|
||||
public static DataTable _userData = new DataTable();
|
||||
|
||||
|
||||
public MainWindowViewModel()
|
||||
{
|
||||
SQLIP = Configini.IniReadvalue("SQL_SERVER", "SQL1"); //读配置文件
|
||||
@@ -70,7 +69,7 @@ namespace SunlightAggregationManager.ViewModel
|
||||
row["LinkID"] = 0;
|
||||
}
|
||||
|
||||
|
||||
Machines.RowChanged += Machines_Updata;
|
||||
UserData.RowChanged += UserData_Updata;//注册userdata表更新事件
|
||||
|
||||
}
|
||||
@@ -101,6 +100,10 @@ namespace SunlightAggregationManager.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
private void Machines_Updata(object sender, DataRowChangeEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void UserData_Updata(object sender, DataRowChangeEventArgs e)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user