namespace ZB.MOM.WW.OtOpcUa.Driver.AbCip;
///
/// PR abcip-3.1 — bounds + magic numbers for the per-device CIP ConnectionSize
/// override. Pulled into a single place so config validation, the legacy-firmware warning,
/// and the docs stay in sync.
///
public static class AbCipConnectionSize
{
///
/// Minimum supported CIP Forward Open buffer size, in bytes. Matches the lower bound of
/// Kepware's connection-size slider for ControlLogix drivers + the libplctag native
/// floor that still leaves headroom for the CIP MR header.
///
public const int Min = 500;
///
/// Maximum supported CIP Forward Open buffer size, in bytes. Matches the upper bound of
/// Kepware's slider + the Large Forward Open ceiling on FW20+ ControlLogix.
///
public const int Max = 4002;
///
/// Soft cap above which legacy ControlLogix firmware (v19 and earlier) rejects the
/// Forward Open. CompactLogix L1/L2/L3 narrow-cap parts (5069-L1/L2/L3) and Micro800
/// hard-cap below this too. Used as the threshold for the legacy-firmware warning.
///
public const int LegacyFirmwareCap = 511;
}