UpdateSliderContentRegion
function UpdateSliderContentRegion(MainContentRegion: TcHmi.Controls.System.TcHmiRegion, SliderContentRegion: TcHmi.Controls.System.TcHmiRegion, MainContentSpecificToggleButton: TcHmi.Controls.Beckhoff.TcHmiToggleButton, NavigationToggleButton: TcHmi.Controls.Beckhoff.TcHmiToggleButton): void
Die Funktion UpdateSliderContentRegion wird verwendet, um je nach angezeigtem TcHmiContent in dem TcHmiRegion-Control für den Hauptcontent den passenden TcHmiContent in dem TcHmiRegion-Control für den Slidercontent reinzuladen, sofern das ToggleState-Property des zugehörigen TcHmiToggleButton-Controls (mit der ID MainContentSpecificToggleButton) auf Active
steht. Dem TcHmiToggleButton-Control wird zusätzlich ein zugehöriges Icon als BackgroundImage-Property aus dem NuGet Paket Beckhoff.TwinCAT.HMI.Plastic.Images
zugewiesen.
Hauptcontent Pfad | Slidercontent Pfad | Icon Pfad |
---|---|---|
Contents/Navigation/Axes/Blowpin/Blowpin.content | Contents/Slider/Axes/Blowpin/Blowpin_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Blowpin/Blowpin.svg |
Contents/Navigation/Axes/Blowpin/Blowpin_Homing.content | Contents/Slider/Axes/Blowpin/Blowpin_Homing_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Blowpin/BlowpinHoming.svg |
Contents/Navigation/Axes/Carriage/Carriage.content | Contents/Slider/Axes/Carriage/Carriage_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Carriage/Carriage.svg |
Contents/Navigation/Axes/Carriage/Carriage_Homing.content | Contents/Slider/Axes/Carriage/Carriage_Homing_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Carriage/CarriageHoming.svg |
Contents/Navigation/Axes/Clamp/Clamp.content | Contents/Slider/Axes/Clamp/Clamp_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Clamp/Clamp.svg |
Contents/Navigation/Axes/Clamp/Clamp_Homing.content | Contents/Slider/Axes/Clamp/Clamp_Homing_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Clamp/ClampHoming.svg |
Contents/Navigation/Extruder/Trend.content | Contents/Slider/Extruder/Extruder_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Extruder/Extruder.svg |
Contents/Navigation/Parameters/Parameters_Blowpin.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersBlowpin.svg |
Contents/Navigation/Parameters/Parameters_Carriage.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersCarriage.svg |
Contents/Navigation/Parameters/Parameters_Clamp.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersClamp.svg |
Contents/Navigation/Parameters/Parameters_CoExtruder.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersCoExtruder.svg |
Contents/Navigation/Parameters/Parameters_MainExtruder.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersMainExtruder.svg |
Contents/Navigation/Parameters/Parameters_Monitoring.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersMonitoring.svg |
Contents/Navigation/Parameters/Parameters_Setpoints.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersSetpoints.svg |
Contents/Navigation/Parameters/Parameters_Temperature.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersTemperature.svg |
Contents/Navigation/Parameters/Parameters_Wtc.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersWtc.svg |
Contents/Navigation/System/RecipeManagement.content | Contents/Slider/System/RecipeManagement_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersRecipeManagement.svg |
Contents/Navigation/Temperature/Temperature_Parameters.content | Contents/Slider/Temperature/Temperature_Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersTemperature.svg |
Contents/Navigation/Temperature/Temperature_TimeScheduling.content | Contents/Slider/Temperature/Temperature_TimeScheduling_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Temperature/TemperatureTimeScheduling.svg |
Contents/Navigation/Temperature/Temperature_Zones.content | Contents/Slider/Temperature/Temperature_Zones_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Temperature/TemperatureTimeScheduling.svg |
Contents/Navigation/Wtc/Wtc.content | Contents/Slider/Wtc/Wtc_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Wtc/Wtc.svg |
Contents/Navigation/Wtc/Wtc_Homing.content | Contents/Slider/Wtc/Wtc_Homing_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Wtc/WtcHoming.svg |
Parameter
Name | Typ | Beschreibung |
---|---|---|
MainContentRegion | Das TcHmiRegion-Control, in dem der Hauptcontent angezeigt wird. | |
SliderContentRegion | Das TcHmiRegion-Control, in dem der zugehörige Slidercontent des Hauptcontents angezeigt werden soll. | |
MainContentSpecificToggleButton | Das TcHmiToggleButton-Control, das für die Anzeige des Slidercontents im Sliderbereich dient. | |
NavigationToggleButton | Das TcHmiToggleButton-Control, das für die Anzeige der Navigationsseite im Sliderbereich dient. |
Rückgabewert
Typ | Beschreibung |
---|---|
void | kein Rückgabewert |
NuGet Paket: Beckhoff.TwinCAT.HMI.Plastic.Functions
Verfügbar: seit Version 12.6.0
Verwendung: TC3 Plastic Application HMI Projekte