2026-01-26 14:51:28 +09:00

29 lines
1.5 KiB
XML

<UserControl x:Class="AuroraChiller.UCChiller"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:AuroraChiller"
xmlns:behavior="http://schemas.microsoft.com/xaml/behaviors"
xmlns:usercontrols="clr-namespace:AuroraUIComponent.UserControls;assembly=AuroraUIComponent"
xmlns:view="clr-namespace:Aurora.View;assembly=Aurora"
mc:Ignorable="d" Name="uc"
d:DesignHeight="300" d:DesignWidth="800">
<UserControl.Resources>
<view:BoolConverter x:Key="convColor" TrueValue="Red" FalseValue="White"/>
<view:BoolConverter x:Key="convColorStatus" TrueValue="Green" FalseValue="White"/>
<DataTemplate DataType="{x:Type local:UCSmcChiller_HECRDeviceViewModel}">
<local:UCSmcChiller_HECRDevice/>
</DataTemplate>
<DataTemplate DataType="{x:Type local:UCSmcChiller_HRLDeviceViewModel}">
<local:UCSmcChiller_HRLDevice/>
</DataTemplate>
<DataTemplate DataType="{x:Type local:UCSmcChiller_HRSDeviceViewModel}">
<local:UCSmcChiller_HRSDevice/>
</DataTemplate>
</UserControl.Resources>
<Grid>
<ContentControl Content="{Binding SelectedViewModel}"/>
</Grid>
</UserControl>