Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KerlyJiang1 committed Dec 12, 2019
1 parent 2d45de8 commit d35f2c8
Showing 1 changed file with 23 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,13 @@
Margin="5"
Padding="5"
Command="{Binding SwitchOnClickCommand}"
CommandParameter="heater_auto_on"
CommandParameter="device_power_on"
Content="" />
<c:Button
Margin="5"
Padding="5"
Command="{Binding SwitchOffClickCommand}"
CommandParameter="heater_auto_on"
CommandParameter="device_power_on"
Content="" />
</c:StackPanel>
<c:StackPanel
Expand All @@ -320,13 +320,13 @@
Margin="5"
Padding="5"
Command="{Binding SwitchOnClickCommand}"
CommandParameter="heater_auto_on"
CommandParameter="exhauster_power_on"
Content="" />
<c:Button
Margin="5"
Padding="5"
Command="{Binding SwitchOffClickCommand}"
CommandParameter="heater_auto_on"
CommandParameter="exhauster_power_on"
Content="" />
</c:StackPanel>
<c:StackPanel
Expand All @@ -342,13 +342,13 @@
Margin="5"
Padding="5"
Command="{Binding SwitchOnClickCommand}"
CommandParameter="device_power_on"
CommandParameter="heater_power_on"
Content="" />
<c:Button
Margin="5"
Padding="5"
Command="{Binding SwitchOffClickCommand}"
CommandParameter="device_power_on"
CommandParameter="heater_power_on"
Content="" />
</c:StackPanel>
<c:StackPanel
Expand Down Expand Up @@ -408,6 +408,14 @@
CommandParameter="heater_compressor_on"
Content="" />
</c:StackPanel>
<StackPanel Canvas.Left="365"
Canvas.Top="270"
Orientation="Horizontal">
<c:TextBlock
Padding="0,0,10,0"
VerticalAlignment="Center"
Text="{Binding Switch.HeaterCompressorOn, Converter={local:SwitchStatusConverter}}" />
</StackPanel>
<c:StackPanel
Canvas.Left="452"
Canvas.Top="232"
Expand All @@ -425,6 +433,14 @@
CommandParameter="heater_four_way_reversing_on"
Content="" />
</c:StackPanel>
</c:Canvas>
<StackPanel Canvas.Left="510"
Canvas.Top="272"
Orientation="Horizontal">
<c:TextBlock
Padding="0,0,10,0"
VerticalAlignment="Center"
Text="{Binding Switch.HeaterFourWayReversingOn, Converter={local:SwitchStatusConverter}}" />
</StackPanel>
</c:Canvas>
</c:Viewbox>
</c:UserControl>

0 comments on commit d35f2c8

Please sign in to comment.