Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

reachForLink

ソース

APIの説明は英語のcanonical sourceを表示しています。

Effective reach in meters for a link, accounting for the cable grade. Falls back to the standard's `maxReach_m` when the grade isn't set or isn't in the registry's per-grade table.

reachForLink(standard: EthernetStandard | undefined, cableCategory: string | undefined): number | undefined

パラメーター

名前 説明 既定値
standard EthernetStandard | undefined 追加説明はありません。
cableCategory string | undefined 追加説明はありません。

戻り値

number | undefined

libs/@shumoku/core/src/models/standards.ts:288