using System; using AsbCloudApp.Data.ProcessMaps; using AsbCloudInfrastructure.Services.Parser; namespace AsbCloudInfrastructure.Services.ProcessMapPlan.Parser; public abstract class ProcessMapPlanParser : ParserExcelService where TDto : ProcessMapPlanBaseDto { protected override int HeaderRowsCount => 2; protected static int? GetIdMode(string? modeName) => modeName?.Trim().ToLower() switch { "ротор" => 1, "слайд" => 2, _ => null }; }