runtimepy.net.server.app.env.tab package#
Submodules#
runtimepy.net.server.app.env.tab.base module#
A module implementing a channel-environment tab HTML interface.
- class runtimepy.net.server.app.env.tab.base.ChannelEnvironmentTabBase(name: str, command: ChannelCommandProcessor, app: AppInfo, tabs: TabbedContent, icon: str = 'alarm')[source]#
Bases:
TabA channel-environment tab interface.
runtimepy.net.server.app.env.tab.html module#
A module implementing a channel-environment tab HTML interface.
- class runtimepy.net.server.app.env.tab.html.ChannelEnvironmentTabHtml(name: str, command: ChannelCommandProcessor, app: AppInfo, tabs: TabbedContent, icon: str = 'alarm')[source]#
Bases:
ChannelEnvironmentTabBaseA channel-environment tab interface.
- add_channel(parent: Element, name: str, chan: Channel[Int8Primitive] | Channel[Int16Primitive] | Channel[Int32Primitive] | Channel[Int64Primitive] | Channel[Uint8Primitive] | Channel[Uint16Primitive] | Channel[Uint32Primitive] | Channel[Uint64Primitive] | Channel[FloatPrimitive] | Channel[DoublePrimitive] | Channel[BooleanPrimitive], enum: RuntimeEnum | None, description: str = None) int[source]#
Add a channel to the table.
runtimepy.net.server.app.env.tab.message module#
A module implementing a channel-environment tab message-handling interface.
- class runtimepy.net.server.app.env.tab.message.ChannelEnvironmentTabMessaging(name: str, command: ChannelCommandProcessor, app: AppInfo, tabs: TabbedContent, icon: str = 'alarm')[source]#
Bases:
ChannelEnvironmentTabBaseA channel-environment tab interface.
Module contents#
A module implementing a channel-environment tab HTML interface.
- class runtimepy.net.server.app.env.tab.ChannelEnvironmentTab(name: str, command: ChannelCommandProcessor, app: AppInfo, tabs: TabbedContent, icon: str = 'alarm')[source]#
Bases:
ChannelEnvironmentTabMessaging,ChannelEnvironmentTabHtmlA class aggregating all channel-environment tab interfaces.
- all_tabs: dict[str, ChannelEnvironmentTab] = {}#