排程表增加状态明细,状态数值字符转换器

This commit is contained in:
sc committed 2025-03-15 21:33:58 +08:00
commit 32b0050b4f
9 files changed
+210 -257

No files matched your search

+3 -1
View File
@@ -42,6 +42,7 @@ using System.Windows.Markup;
using System.Collections.ObjectModel;
using SkiaSharp;
using System.Windows.Threading;
using SunlightCentralizedControlManagement_SCCM_.ConvertMoels;
namespace SunlightCentralizedControlManagement_SCCM_.View
@@ -123,7 +124,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View
Name = Properties.Resources.ProcessName + ";" + dataRows[j].Field<string>("ProgramName"),
Background = colorBackground,
Status = colorStatus,
ID = Properties.Resources.WorkOrder + ";" + dataRows[j].Field<string>("WorkOrder"),
ID = Properties.Resources.WorkOrder + ";" + dataRows[j].Field<string>("WorkOrder").ToString(),
Dyelot = Properties.Resources.Dyelot + ";" + dataRows[j].Field<string>("Dyelot"),
Remark = Properties.Resources.Remark + ";" + dataRows[j].Field<string>("Remark"),
ColorNumber = Properties.Resources.ColorNumber + ";" + dataRows[j].Field<string>("ColorNumber"),
@@ -134,6 +135,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View
BathRatio = Properties.Resources.BathRatio + ";" + dataRows[j].Field<string>("BathRatio"),
Total = Properties.Resources.Total + ";" + dataRows[j].Field<string>("Total"),
USER = Properties.Resources.USER + ";" + dataRows[j].Field<string>("user"),
STATE = Properties.Resources.State + ";" +StatenClassConvert.Convert( dataRows[j].Field<Int32 >("State").ToString()),
TaskProgressVisibility = System.Windows.Visibility.Hidden
});
}