init commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using SimpleCore.Navigation;
|
||||
using StandardScene.CarTypes;
|
||||
|
||||
namespace StandardScene.Magnetic
|
||||
{
|
||||
/// <summary>
|
||||
/// scene.mag 平台画像:磁导航场景插件(磁条循迹为主,兼容二维码地标段)。
|
||||
/// 宿主(SimpleLite)加载本 dll 后反射实例化并 OnActivate / 注册。
|
||||
/// </summary>
|
||||
public sealed class MagneticSceneProfile : NavigationProfileBase
|
||||
{
|
||||
public override NavKind Kind => NavKind.Magnetic;
|
||||
|
||||
public override string SceneId => "scene.mag";
|
||||
|
||||
public override string DisplayName => "磁导航平台";
|
||||
|
||||
public override IReadOnlyList<Type> CarTypes => new[]
|
||||
{
|
||||
typeof(Kiva),
|
||||
typeof(MultiWheelLifterCar),
|
||||
};
|
||||
|
||||
public override void OnActivate(ISceneContext context)
|
||||
{
|
||||
context.Log($"{DisplayName} 已激活(车型:Kiva / 多舵轮顶升车)");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user