using CyberX8_Core; using CyberX8_Themes.UserControls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace CyberX8_MainPages.Views { /// /// StandardHotReservoirsView.xaml 的交互逻辑 /// public partial class StandardHotReservoirsView : UserControl { public StandardHotReservoirsView() { InitializeComponent(); } private void FlowPipe_Loaded(object sender, RoutedEventArgs e) { } /// /// 跳转对应Metal页面 /// /// /// private void ClickJumpMetalCommand(object sender, RoutedEventArgs e) { if (sender is Clamp clamp) { string labelValue = clamp.LabelValue; GlobalEvents.OnSwitchFixedTabItem("HardWare", "Modules", $"Metal{labelValue}"); } } /// /// 跳转对应TemaperatureControl页面 /// /// /// private void ClickJumpTCCommand(object sender, RoutedEventArgs e) { if (sender is TempControl tc) { string module = tc.ModuleName.Substring(0, 3); GlobalEvents.OnSwitchFixedTabItem("HardWare", "TemperatureController", $"module"); } } private void Button_Click(object sender, RoutedEventArgs e) { } } }