磁导航1.0内部交管和信号交互
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
|
||||
namespace StandardScene.Signal.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 标记一张迷毂数据中心表。迷毂从插件 DLL 反射本特性,不再依赖 signal-tables.json 的列定义。
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
|
||||
public sealed class SignalTableAttribute : Attribute
|
||||
{
|
||||
public SignalTableAttribute(string id, string fileName, string title)
|
||||
{
|
||||
Id = id ?? "";
|
||||
FileName = fileName ?? "";
|
||||
Title = title ?? "";
|
||||
}
|
||||
|
||||
public string Id { get; }
|
||||
|
||||
public string FileName { get; }
|
||||
|
||||
public string Title { get; }
|
||||
|
||||
/// <summary>侧栏顺序,越小越靠前。</summary>
|
||||
public int Order { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user