9cff87fe85
Remove project bookkeeping citations from shipped code comments across the solution: hyphenated task IDs (WP-14, StoreAndForward-025), milestone/task/ issue refs (M3, Task 4, Audit Log #23, #21), Bundle X task-bundle labels, and C/D/K/S/T phase labels. Comment text only — no code logic, string/log literals, or XML-doc structure changed. Genuine descriptions are preserved (only the citation is stripped), and technical lookalikes are retained (UTF-8, SHA-256, T00:00:00, M365, UTC-5, pre-C4/pre-C5 schema versions). Flagged by the new CommentChecker TaskReferenceInComment / TrackingReferenceInComment checks plus targeted grep passes; full solution builds clean, append-only guard tests pass.
19 lines
808 B
C#
19 lines
808 B
C#
using ZB.MOM.WW.ScadaBridge.Commons.Interfaces.Protocol;
|
|
|
|
namespace ZB.MOM.WW.ScadaBridge.DataConnectionLayer;
|
|
|
|
/// <summary>
|
|
/// Factory for creating IDataConnection adapters based on protocol type.
|
|
/// Adding a new protocol = implement IDataConnection + register with the factory.
|
|
/// </summary>
|
|
public interface IDataConnectionFactory
|
|
{
|
|
/// <summary>
|
|
/// Creates an IDataConnection adapter for the specified protocol type.
|
|
/// </summary>
|
|
/// <param name="protocolType">Protocol identifier (e.g., "OpcUa").</param>
|
|
/// <param name="connectionDetails">Protocol-specific connection parameters.</param>
|
|
/// <returns>A configured but not yet connected IDataConnection instance.</returns>
|
|
IDataConnection Create(string protocolType, IDictionary<string, string> connectionDetails);
|
|
}
|