mirror of
https://gitee.com/iioter/iotgateway.git
synced 2024-12-02 03:38:01 +08:00
24 lines
607 B
C#
24 lines
607 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PluginInterface
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
|
public class DriverInfoAttribute: Attribute
|
|
{
|
|
public string Name { get; }
|
|
public string Copyright { get; }
|
|
public string Version { get; }
|
|
public DriverInfoAttribute(string name, string version, string copyRight)
|
|
{
|
|
Name = name;
|
|
Version = version;
|
|
Copyright = copyRight;
|
|
}
|
|
|
|
}
|
|
}
|