Commit 7493d309 authored by 潘栩锋's avatar 潘栩锋 🚴

添加 HeaderAttribute特性

parent 7cbdd956
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FLY.OBJComponents.Common
{
/// <summary>
/// 标题 特性
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class HeaderAttribute : Attribute
{
public HeaderAttribute(string header)
{
Header = header;
}
public string Header { get; private set; }
}
}
......@@ -57,6 +57,7 @@
<Compile Include="Client\SetPLCUpdatePlan.cs" />
<Compile Include="Client\SyncPropServiceClient.cs" />
<Compile Include="Client\WarningServiceClient.cs" />
<Compile Include="Common\HeaderAttribute.cs" />
<Compile Include="Common\NotifyBufferChangedEventArgs.cs" />
<Compile Include="Common\FlyData_WarningHistory.cs" />
<Compile Include="Common\PropertiesManager.cs" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment