细节页面的右键逻辑,添加语言

This commit is contained in:
sc committed 2025-08-27 01:21:32 +08:00
commit 435a54a61a
5 files changed
+56 -34

No files matched your search

+4 -2
View File
@@ -78,6 +78,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass
drEmployee["Message"] = "";
drEmployee["SYSKEY"] = "";
drEmployee["WORK_RUN"] = "-1";
drEmployee["ERR"] = false;
drEmployee.EndEdit();
drEmployee.AcceptChanges();
LogGing.LogGingDATA("[IP='" + client.IP + "' AND port='" + client.Port + "']=Link_STOP");
@@ -104,6 +105,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass
drEmployee["Message"] = "";
drEmployee["SYSKEY"] = "";
drEmployee["WORK_RUN"] = "-1";
drEmployee["ERR"] = false;
drEmployee.EndEdit();
drEmployee.AcceptChanges();
LogGing.LogGingDATA("[IP='" + client.IP + "' AND port='" + client.Port + "']=Link_INTERRUPT");
@@ -386,12 +388,12 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass
{
a.UseCheckClear()
.SetCheckClearType(CheckClearType.All)
.SetTick(TimeSpan.FromSeconds(60))
.SetTick(TimeSpan.FromSeconds(5))
.SetOnClose((c, t) =>
{
c.TryShutdown();
});
a.UseTcpReconnection();//触发型重连
// a.UseTcpReconnection();//触发型重连
})
.ConfigureContainer(a =>
{