From e57938fbda9bff702004038f76d009422968bff5 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 06 十一月 2026 18:05:07 +0800
Subject: [PATCH] 提交代码
---
DeviceService.Core/DriverDesc.cs | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/DeviceService.Core/DriverDesc.cs b/DeviceService.Core/DriverDesc.cs
new file mode 100644
index 0000000..3043104
--- /dev/null
+++ b/DeviceService.Core/DriverDesc.cs
@@ -0,0 +1,22 @@
+锘縰sing System;
+using System.Runtime.InteropServices;
+
+namespace DeviceService.Core
+{
+ [AttributeUsage(AttributeTargets.Class, Inherited = false)]
+ [ComVisible(true)]
+ public class DriverDescAttribute : Attribute
+ {
+ public string Type { get; private set; }
+ public string Brand { get; private set; }
+
+ public Type ClassType { get; private set; }
+
+ public DriverDescAttribute(string Type, string Brand, Type ClassType = null)
+ {
+ this.Type = Type;
+ this.Brand = Brand;
+ this.ClassType = ClassType;
+ }
+ }
+}
--
Gitblit v1.9.1