VECTO Input Manager
Loading...
Searching...
No Matches
VectoInputManager.Core Namespace Reference

Classes

class  BaseInput
 Base class for component input data. Contains common properties like manufacturer information and certification details that are required for all component types. More...
class  BaseStandardValues
 Abstract base class for standard values calculators. Each component type has a concrete implementation that calculates standard values based on user-provided input parameters. More...
class  CorpusBuilder
 Builds a corpus from mixed input files (vehicle XML/JSON, component XML/JSON, and arbitrary JSON fragments). Maps components to well-known property paths, exposes helper lookups used by interactive prompts, and produces summary/report outputs including hash error fixes. More...
class  CorpusObject
 Represents a single input artifact in the corpus (file path, deserialized object, inferred property path, and usage flags). Used to track mapping between files and vehicle/component objects during job construction. More...
class  ObjectBuilder
 Base class for interactively constructing complex object graphs using a sequence of PromptAction steps. Handles discovery of properties, default/template values, type selection, collections, enums, validation, and conversion. Subclasses override behavior for domain types. More...
class  ParamBuilder
 Parses and supplies key=value overrides for prompt answers during interactive building. Matches keys to prompt property paths and converts string values to the expected types, tracking which parameters were consumed. More...
class  PromptAction
 Represents a prompt input during the object building process. Contains information about what to ask, what type of answer is expected, and stores the result. More...
class  StandardValuesBuilder
class  VehicleBuilder
 Specializes ObjectBuilder for vehicle declarations. Prompts for vehicle type first, resolves the correct VECTO vehicle class, and then builds out the full object graph with domain-specific defaults and display tweaks. More...
class  Components
 Provides metadata and configuration for all supported component types. More...
class  Consts
 Application-wide constants including version information and reference data. More...
class  Data
 Provides access to embedded CSV data files containing standard values and reference data for VECTO component calculations. More...
interface  IStandardValuesFactory
 Defines a factory interface for creating standard values component calculators based on component types. This factory provides a centralized mechanism for instantiating the appropriate standard values calculator implementation for different vehicle component types. More...
class  NotImplementedAttribute
 Attribute to mark component types or features that are not yet fully implemented. Used to indicate work-in-progress or planned functionality. More...
class  BaseInputConverter
 Custom JSON converter for supporting JSON component input files. These files start with a "Component" property that indicates the specific subclass of BaseInput to instantiate. More...
class  FixedDecimalConverter
class  IgnoreStringPropertiesResolver
 Custom contract resolver to ignore properties from declaration files that are not needed for job creation. More...
class  JsonDeclarationUtils
 Provides JSON serialization and deserialization utilities for VECTO vehicle and component declarations. Handles type information, schema references, and specialized converters for VECTO-specific patterns. More...
class  JsonInputUtils
 Provides JSON serialization and deserialization utilities for component input data files. These files contain user-provided parameters for generating standard value components. More...
class  ObjectHashUtils
 Utility class for generating cryptographic hashes of component objects. Provides a deterministic way to fingerprint object state via JSON serialization + SHA-256. More...
class  SimpleTypeNameBinder
 Used in JSON serialization to simplify type names by omitting namespaces and assemblies, restricting to a specific allowed namespace and assembly for security, and handling generic types like List<T> with a shortened format. More...
class  ValueSpecifiedConverter
 Custom JSON converter that handles ValueSpecified properties during deserialization. When a property exists in the JSON, it sets the corresponding ValueSpecified property to true. More...
class  PathUtils
 Provides utility methods for navigating and extracting values from JSON objects (JObject) and strongly-typed .NET objects using path expressions. More...
class  ADCComponentInput
 Input parameters for generating Additional Drivetrain Component (ADC) standard values including ratio, max input torque, and speed/torque grid. More...
class  ADCComponentStandardValues
 Calculates standard values for an Additional Drivetrain Component (ADC), producing a ratio and torque loss map from input grids, and emits an ADCComponentDeclaration. More...
class  AngledriveComponentInput
 Input parameters for generating angle drive standard values (ratio, max input torque, and speed/torque grid for loss mapping). More...
class  AngledriveComponentStandardValues
 Calculates standard values for an angle drive from ratio, input torque and speed/torque grids, producing an AngledriveComponentDeclaration and loss map. More...
class  AxleComponentInput
 Input parameters for generating axle (axlegear) standard values, including ratio, line type, and speed/torque grid for loss mapping. More...
class  AxleComponentStandardValues
 Calculates standard values for an axle (axlegear), deriving a torque loss map from ratio, line type, and speed/torque grids. Produces an AxlegearComponentDeclaration. More...
class  BatteryComponentInput
 Input parameters for generating battery system standard values (cell configuration, nominal voltage, and chemistry). More...
class  BatteryComponentStandardValues
 Calculates standard values for a battery system (OCV curve, internal resistance, current limits) from high-level inputs, producing a BatteryComponentDeclaration. More...
class  CapacitorComponentInput
 Input parameters for generating capacitor system standard values (max voltage, capacitance, and series cell count). More...
class  CapacitorComponentStandardValues
 Calculates standard values for a capacitor system (capacitance, internal resistance, voltage limits, and current limits) and produces a CapacitorSystem declaration. More...
class  EMSComponentInput
 Input data for Electric Machine System (EMS) component standard values calculation. Based on Appendix 8 of Annex Xb of regulation (EU) 2017/2400. More...
class  MaxTorqueCurveEntry
 Entry in the maximum torque curve. More...
class  EMSComponentStandardValues
class  FuelCellComponentInput
 Input parameters for generating fuel cell standard values (system rated power). More...
class  FuelCellComponentStandardValues
 Calculates standard values for a fuel cell system using rated power and standard efficiency curves to generate a power/consumption map. Produces a FuelCellComponentDeclaration. More...
class  GearboxComponentInput
 Input parameters for generating standard values for a gearbox/transmission. Includes speed/torque grids and per-gear configuration. More...
class  GearComponent
 Represents a single gearbox gear configuration (index, ratio, and whether it is direct). More...
class  GearboxComponentStandardValues
 Calculates standard values for a gearbox based on input parameters and Annex VI guidance. Produces a GearboxComponentDeclaration and sets it into the VectoInputDeclaration container. More...
class  IEPCComponentInput
class  MaxMinTorquePoint
class  ElectricPowerPoint
class  DragTorquePoint
class  IEPCComponentStandardValues
class  RetarderComponentInput
 Input parameters for generating retarder standard values (retarder type and mechanical step-up ratio). More...
class  RetarderComponentStandardValues
 Calculates standard values for a retarder (hydrodynamic/magnetic) and generates a drag torque loss curve based on step-up ratio and speed. Produces a RetarderComponentDeclaration. More...
class  TorqueConverterComponentInput
 Input parameters for generating torque converter standard values (rated engine speed and maximum engine torque). More...
class  TorqueConverterComponentStandardValues
 Calculates standard torque converter characteristics (speed/torque ratio curves) from rated speed and torque inputs. Produces a TorqueConverterComponentDeclaration. More...
class  TypeUtils
 Provides utility methods for working with types, including type discovery, component declarations, and type conversion operations. More...
class  XmlUtils
 Provides utilities for XML serialization, hashing, and validation of VECTO vehicle declarations and components. Handles signature generation using VECTO hashing algorithms. More...

Enumerations

enum  PromptActionType {
  String , Enum , Class , Integer ,
  DateTime , Decimal , Boolean , Collection
}
 Defines the data types that can be prompted for during object building. More...
enum  ComponentType {
  GearBox , TC , Retarder , ADC ,
  Angledrive , Axle , EMS , IEPC ,
  Battery , Capacitor , FuelCell
}
 Defines the types of vehicle components supported for Standard Values.
enum  SignatureValidation {
  Valid , Mismatch , Empty , Corrupted ,
  UnknownError
}
 Represents the result of component signature validation. More...
enum  BrokenSignatureAction {
  Auto , Block , Keep , Sign ,
  ReSign , Clear
}
 Defines actions to take when a component signature verification fails during processing. More...
enum  RetarderType { HydrodynamicWithVehicleLaunchFunctionality , Hydrodynamic , Magnetic }

Enumeration Type Documentation

◆ BrokenSignatureAction

Defines actions to take when a component signature verification fails during processing.

Enumerator
Auto 

Automatically handle signatures: keep empty signatures as-is, block on mismatched signatures (default behavior).

Block 

Treat invalid signature as an error and block output generation.

Keep 

Treat invalid signature as a warning and keep the old (invalid) signature.

Sign 

Sign components that are missing a signature, block if signature is invalid.

ReSign 

Treat invalid signature as a warning and recompute/re-sign the component.

Clear 

Treat invalid signature as a warning and remove the broken signature completely.

◆ PromptActionType

Defines the data types that can be prompted for during object building.

Enumerator
String 

Text input.

Enum 

Selection from a predefined set of named values.

Class 

Selection or creation of a complex object type.

Integer 

Whole number input.

DateTime 

Date and time input.

Decimal 

Decimal number input.

Boolean 

True/false input.

Collection 

Collection/List of items (can add multiple).

◆ SignatureValidation

Represents the result of component signature validation.

Enumerator
Valid 

Component signature is valid.

Mismatch 

Signature does not match computed hash.

Empty 

Signature was empty or missing.

Corrupted 

Signature was corrupted (e.g., missing or mismatched id).

UnknownError 

Unknown error occurred during validation.