1
0
mirror of synced 2024-11-05 11:09:17 +00:00
G940LEDControl/G940LEDControl/Units/LEDColor.pas

29 lines
492 B
ObjectPascal

unit LEDColor;
interface
uses
SysUtils,
LEDColorIntf;
type
TCustomLEDStateColor = class(TInterfacedObject, ILEDStateColor)
protected
{ ILEDState }
function GetCurrentColor: TStaticLEDColor; virtual; abstract;
end;
TCustomLEDStateDynamicColor = class(TCustomLEDStateColor, ILEDStateDynamicColor)
protected
{ ITickLEDState }
procedure Reset; virtual; abstract;
procedure Tick; virtual; abstract;
end;
implementation
end.