新增1.0和2.0两种协议车型车型

This commit is contained in:
ykkokluo
2026-07-17 13:36:01 +08:00
parent a0dc1e6cd0
commit a28bc68e23
62 changed files with 12638 additions and 203 deletions
@@ -0,0 +1,26 @@
using StandardScene.Magnetic.Protocol;
using System.Collections.Generic;
namespace StandardScene.Magnetic.Tasking
{
public sealed class Fass2TaskBuildOptions
{
public bool UseTagValueAsNode { get; set; }
public double DefaultSpeed { get; set; } = 0.2;
public double CarSpeed { get; set; } = 1;
public int MaxNodesPerFrame { get; set; } = 10;
}
/// <summary>
/// 一次 FASS 2.0 路径任务计划:站点序列、节点报文、分批结果。
/// </summary>
public sealed class Fass2TaskPlan
{
public int StartSiteId { get; set; }
public int GoalSiteId { get; set; }
public IReadOnlyList<int> SiteIds { get; set; } = new List<int>();
public IReadOnlyList<Fass2NodeMessage> Nodes { get; set; } = new List<Fass2NodeMessage>();
public IReadOnlyList<Fass2NodeMessage[]> Batches { get; set; } = new List<Fass2NodeMessage[]>();
public string FieldsSignature { get; set; } = string.Empty;
}
}