refactor: 将Framework库和RT、UI放在同一个解决方案中。

This commit is contained in:
SL
2026-06-01 17:48:28 +08:00
parent 1948f4290d
commit b73d39a6b1
4331 changed files with 506148 additions and 49363 deletions
@@ -0,0 +1,31 @@
using System;
using MECF.Framework.Common.ControlDataContext;
namespace MECF.Framework.UI.Client.CenterViews.DataLogs.DataHistory
{
public class TimeChartDataLine : ChartDataLine
{
public string Module { get; set; }
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public DateTime TokenTime { get; set; }
private string[] _dbModules = { "PM1", "PM2", "PM3", "PM4" };
public TimeChartDataLine(string dataName, DateTime startTime, DateTime endTime) : base(dataName)
{
StartTime = startTime;
EndTime = endTime;
TokenTime = startTime;
Module = "System";
foreach (var dbModule in _dbModules)
{
if (dataName.StartsWith(dbModule) || dataName.StartsWith("IO." + dbModule))
{
Module = dbModule;
break;
}
}
}
}
}