Files
WCS/Plugins/Driver/Cowain.Driver/Attributes/DeviceParamAttribute.cs
2026-03-02 09:08:20 +08:00

22 lines
577 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Plugin.Cowain.Driver.Attributes;
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class DeviceParamAttribute : Attribute
{
public Type Param { get; }
public Type Control { get; }
public Type DialogViewModel { get; }
public DeviceParamAttribute(Type paramType, Type control, Type dialog)
{
Param = paramType;
Control = control;
DialogViewModel = dialog;
}
}