| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 | using PunkHPX8_Core;using PunkHPX8_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 PunkHPX8_MainPages.Views{    /// <summary>    /// StandardHotReservoirsView.xaml 的交互逻辑    /// </summary>    public partial class StandardHotReservoirsView : UserControl    {        public StandardHotReservoirsView()        {            InitializeComponent();        }        private void FlowPipe_Loaded(object sender, RoutedEventArgs e)        {        }        /// <summary>        /// 跳转对应Metal页面        /// </summary>        /// <param name="sender"></param>        /// <param name="e"></param>        private void ClickJumpMetalCommand(object sender, RoutedEventArgs e)        {            if (sender is Clamp clamp)            {                string labelValue = clamp.LabelValue;                GlobalEvents.OnSwitchFixedTabItem("HardWare", "Modules", $"Metal{labelValue}");            }        }        /// <summary>        /// 跳转对应TemaperatureControl页面        /// </summary>        /// <param name="sender"></param>        /// <param name="e"></param>        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)        {        }    }}
 |