Adding initial Project to git

This commit is contained in:
2025-12-29 19:58:26 +00:00
parent 15f9dce88c
commit b54c9bbb1c
24 changed files with 1396 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
// MyBWRSimulator.Core/Interfaces/IFluidConnectable.cs
namespace MyBWRSimulator.Core.Interfaces
{
using MyBWRSimulator.Core.Ports;
using System.Collections.Generic;
/// <summary>
/// Defines the contract for components that have fluid connections.
/// </summary>
public interface IFluidConnectable
{
/// <summary>
/// Gets a list of fluid ports associated with this component.
/// </summary>
/// <returns>A list of FluidPort objects.</returns>
List<FluidPort> GetFluidPorts();
}
}

View File

@@ -0,0 +1,15 @@
// MyBWRSimulator.Core/Interfaces/ISimulatable.cs
namespace MyBWRSimulator.Core.Interfaces
{
/// <summary>
/// Defines the contract for any object that can participate in the simulation's time-stepping.
/// </summary>
public interface ISimulatable
{
/// <summary>
/// Updates the state of the object over a given time step.
/// </summary>
/// <param name="deltaTime">The time elapsed since the last update.</param>
void Update(double deltaTime);
}
}

View File

@@ -0,0 +1,18 @@
// MyBWRSimulator.Core/Interfaces/IThermalConnectable.cs
namespace MyBWRSimulator.Core.Interfaces
{
using MyBWRSimulator.Core.Ports;
using System.Collections.Generic;
/// <summary>
/// Defines the contract for components that have Thermal connections.
/// </summary>
public interface IThermalConnectable
{
/// <summary>
/// Gets a list of Thermal ports associated with this component.
/// </summary>
/// <returns>A list of ThermalPort objects.</returns>
List<ThermalPort> GetThermalPorts();
}
}