客户端连线记录

This commit is contained in:
sc authored and Administrator committed 2026-05-08 01:14:04 +08:00
commit 489460969f
3 files changed
+3 -4

No files matched your search

+2 -2
View File
@@ -45,8 +45,8 @@ namespace SunlightAggregationManager.UserClass
{
Person? deserializedPerson = JsonSerializer.Deserialize<Person>(DAT);
var _user = MainWindowViewModel.Selet_Memory(MainWindowViewModel._userData, "State", "User='" + deserializedPerson?.User +
"' and Password ='" + deserializedPerson?.Password + "'");
var _user = MainWindowViewModel.Selet_Memory(MainWindowViewModel._userData, "State", "User='" +
deserializedPerson?.User + "' and Password ='" + deserializedPerson?.Password + "'");
if (_user != null)
{
string _dat = _user?.ToString() ?? "0";
-1
View File
@@ -17,7 +17,6 @@ namespace SunlightAggregationManager.UserClass
private string DB_IP = null!;
private string DB_PASSWORD = null!;
public void Config(string ip, string name, string type, string id, string password)
{
DB_IP = ip;
+1 -1
View File
@@ -166,7 +166,7 @@ namespace SunlightAggregationManager.ViewModel
{
lock (DB)
{
DataRow drEmployee = DB.Select(key).First();
var drEmployee = DB.Select(key).First();
object? index = drEmployee.Field<object>(name);
return index;
}