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,28 @@
using MECF.Framework.Common.Communications;
using System.Collections.Generic;
namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.UPS
{
public abstract class UPSHandler : HandlerBase
{
public UPSBase Device { get; }
protected UPSHandler(UPSBase device, string Oid)
: base(Oid)
{
Device = device;
}
protected UPSHandler(ITAUPS device, List<string> Oid)
: base(Oid)
{
Device = device;
}
public override bool HandleMessage(MessageBase msg, out bool handled)
{
var result = msg as UPSMessage;
ResponseMessage = msg;
handled = true;
return true;
}
}
}