-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iot2050-conf-webui: Add support for sm1223 dc di16 dq16 rly
Signed-off-by: Nian Gao <[email protected]> Signed-off-by: Baocheng Su <[email protected]> Signed-off-by: Li Hua Qian <[email protected]>
- Loading branch information
Showing
6 changed files
with
215 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...t2050-conf-webui/files/src/components/ExtendedModules/SM1223/SM1223_AC_DI8_DQ8RLY_Conf.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* eslint-disable camelcase */ | ||
/* eslint-disable react/prop-types */ | ||
import * as React from 'react'; | ||
import SM1223Conf from './SM1223Conf'; | ||
import uiString from '@/lib/uiString/SM1223.json'; | ||
|
||
export default function SM1223_AC_DI8_DQ8RLY_Conf ({ slotNum, configData, updateConfig }) { | ||
return ( | ||
<SM1223Conf | ||
slotNum={slotNum} | ||
configData={configData} | ||
updateConfig={updateConfig} | ||
chTotal={8} | ||
/> | ||
); | ||
} |
15 changes: 15 additions & 0 deletions
15
...050-conf-webui/files/src/components/ExtendedModules/SM1223/SM1223_DC_DI16_DQ16RLY_Conf.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* eslint-disable camelcase */ | ||
/* eslint-disable react/prop-types */ | ||
import * as React from 'react'; | ||
import SM1223Conf from './SM1223Conf'; | ||
|
||
export default function SM1223_DC_DI16_DQ16RLY_Conf ({ slotNum, configData, updateConfig }) { | ||
return ( | ||
<SM1223Conf | ||
slotNum={slotNum} | ||
configData={configData} | ||
updateConfig={updateConfig} | ||
chTotal={16} | ||
/> | ||
); | ||
} |
Oops, something went wrong.