Skip to content

Commit

Permalink
BasicProvider.js style formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstas committed Nov 24, 2024
1 parent 71eaafb commit 46bb53e
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions packages/server-admin-ui/src/views/ServerConfig/BasicProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,27 +795,27 @@ const NMEA2000 = (props) => {
{(props.value.options.type === 'canbus' ||
props.value.options.type === 'canbus-canboatjs') && (
<div>
<TextInput
title="Interface"
name="options.interface"
helpText="Example: can0"
value={props.value.options.interface}
onChange={props.onChange}
/>
<TextInput
title="UniqueNumber"
name="options.uniqueNumber"
helpText="Example: any number from 1 to 2097151, will be equal to SerialNumber of a SignalK NMEA2000 device. Leave empty for random (default). Set a fixed value if you have problem with source identification on some B&G MFD's after SignalK restart."
value={props.value.options.uniqueNumber}
onChange={props.onChange}
/>
title="Interface"
name="options.interface"
helpText="Example: can0"
value={props.value.options.interface}
onChange={props.onChange}
/>
<TextInput
title="ManufacturerCode"
name="options.mfgCode"
helpText="Example: 999 - Unknown (default), 0 - Internal, or any other mabufacturer code to emulate. Leave empty for default 999. Set to 0 if you have problem with source identification on some B&G MFD's after SignalK restart."
value={props.value.options.mfgCode}
onChange={props.onChange}
/>
title="UniqueNumber"
name="options.uniqueNumber"
helpText="Example: any number from 1 to 2097151, will be equal to SerialNumber of a SignalK NMEA2000 device. Leave empty for random (default). Set a fixed value if you have problem with source identification on some B&G MFD's after SignalK restart."
value={props.value.options.uniqueNumber}
onChange={props.onChange}
/>
<TextInput
title="ManufacturerCode"
name="options.mfgCode"
helpText="Example: 999 - Unknown (default), 0 - Internal, or any other mabufacturer code to emulate. Leave empty for default 999. Set to 0 if you have problem with source identification on some B&G MFD's after SignalK restart."
value={props.value.options.mfgCode}
onChange={props.onChange}
/>
</div>
)}
{(props.value.options.type === 'ngt-1-canboatjs' ||
Expand Down

0 comments on commit 46bb53e

Please sign in to comment.