Skip to content

Commit 17003f3

Browse files
committed
update OSTab component, add "TCP/IP Stack" info
1 parent f47d9f5 commit 17003f3

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

app/appversion.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export APP_VERSION = 0.1.12
1+
export APP_VERSION = 0.1.13

app/src/Components/Tabs/OSTab.cpp

+10
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ namespace Components
1616
, mExecVersionText(ValueText("Exec Version"))
1717
, mWBVersionText(ValueText("Workbench Version"))
1818
, mPowerPCOSText(ValueText("PowerPC OS"))
19+
, mTCPStack(ValueText("TCP/IP Stack"))
1920
, mComponent(MUI::GroupBuilder()
2021
.vertical()
2122
.tagChild(MUI::GroupBuilder()
@@ -34,12 +35,21 @@ namespace Components
3435
.tagChild(LabelText(MUIX_R "PowerPC OS"))
3536
.tagChild(mPowerPCOSText)
3637
.object())
38+
.tagChild(MUI::GroupBuilder()
39+
.tagFrame(MUI::Frame::Group)
40+
.tagBackground(MUI::ImageOrBackground::WindowBack)
41+
.tagFrameTitle("TCP/IP Stack")
42+
.tagColumns(2)
43+
.tagChild(LabelText(MUIX_R "Name"))
44+
.tagChild(mTCPStack)
45+
.object())
3746
.object())
3847
{
3948
mOSVersionText.setContents(AOS::Identify::Library::libIdHardware(AOS::Identify::IDHW::OSVER));
4049
mOSNumberText.setContents(AOS::Identify::Library::libIdHardware(AOS::Identify::IDHW::OSNR));
4150
mExecVersionText.setContents(AOS::Identify::Library::libIdHardware(AOS::Identify::IDHW::EXECVER));
4251
mWBVersionText.setContents(AOS::Identify::Library::libIdHardware(AOS::Identify::IDHW::WBVER));
4352
mPowerPCOSText.setContents(AOS::Identify::Library::libIdHardware(AOS::Identify::IDHW::PPCOS));
53+
mTCPStack.setContents(AOS::Identify::Library::libIdHardware(AOS::Identify::IDHW::TCPIP));
4454
}
4555
}

app/src/Components/Tabs/OSTab.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ namespace Components
2222
MUI::Text mWBVersionText;
2323
MUI::Text mPowerPCOSText;
2424

25+
MUI::Text mTCPStack;
26+
2527
MUI::Group mComponent;
2628

2729
public:

0 commit comments

Comments
 (0)