spc-kiosk-pb/Kiosk/PB/SPC.Kiosk.PB/PBWindow.xaml
2019-06-16 14:12:09 +09:00

1632 lines
111 KiB
XML

<Window x:Class="SPC.Kiosk.PB.PBWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:SPC.Kiosk.PB.ViewModel;assembly=SPC.Kiosk.PB.ViewModel"
xmlns:uc ="clr-namespace:SPC.Kiosk.Common;assembly=SPC.Kiosk.Common"
xmlns:local="clr-namespace:SPC.Kiosk.PB"
mc:Ignorable="d"
x:Name="StartWin"
d:DesignHeight="1080" d:DesignWidth="1920"
Title="PMKioskMain"
ShowInTaskbar="False"
Topmost="True"
WindowStartupLocation="Manual"
WindowStyle="None"
WindowState="Maximized"
Background="Black"
AllowsTransparency="True"
Top="0"
Left="0"
Margin="0,0,0,0"
HorizontalAlignment="Right"
ResizeMode="NoResize"
AllowDrop="True">
<Window.DataContext>
<vm:VmPBViewModel/>
</Window.DataContext>
<Window.InputBindings>
<KeyBinding Modifiers="Alt" Key="F4" Command="{Binding ToExecuteNothing}" />
</Window.InputBindings>
<Window.Resources>
<uc:BoolToVisibility x:Key="ToVisibility" />
<uc:PosOptionValuesBarcodeToVisibility x:Key="PosOptionValuesBarcodeToVisibility" />
<uc:PosOptionValuesBarcodeToMargin x:Key="PosOptionValuesBarcodeToMargin" />
<uc:NumericToString x:Key="ToString" />
<uc:CodeToMultiLanguage x:Key="ToMultiLanguage"/>
<uc:CodeToMultiLanguageAutoOrBarcode x:Key="ToMultiLanguageAutoOrBarcode"/>
<uc:NumericExistToBool x:Key="ExistToBool"/>
<uc:NumericExistToVisibility x:Key="ExistToVisibility"/>
<uc:StringToVisibility x:Key="StringToVisibility" />
</Window.Resources>
<Grid x:Name="TopGrid" VerticalAlignment="Top" Width="1920" Height="1080">
<Grid x:Name="BaseGrid" VerticalAlignment="Top" Background="Transparent">
<uc:IntroView x:Name="Intro" IntroItems="{Binding IntroItems}" Command="{Binding RollMediaCommand}"/>
</Grid>
<Grid x:Name="TradeGrid" VerticalAlignment="Top" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="110"/>
<RowDefinition Height="970"/>
</Grid.RowDefinitions>
<Border Grid.Row="0" BorderBrush="#dddddd" BorderThickness="0,0,0,1"/>
<Grid x:Name="GMBgrid" Grid.Row="0" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="390"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="390"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<uc:AnimationButton x:Name="GMB_Logo"
Width="70"
Height="70"
HorizontalAlignment="Left"
NormalBrush="{Binding GmbLogo}"
DownBrush="{Binding GmbLogo}"
ClickAnimationType="SizeDown"
BrushStretch = "Fill"
Margin="35,0,0,0"
Command="{Binding GotoFirstCommand}"/>
<uc:AnimationButton x:Name="GMB_Admin"
Width="70"
Height="70"
HorizontalAlignment="Left"
Margin="115,0,0,0"
Command="{Binding ReaderCheckCommand}"/>
</Grid>
<Grid x:Name="ToggleGrid" Grid.Column="1">
<Grid.Resources>
<Style TargetType="Grid">
<Setter Property="Visibility">
<Setter.Value>
<MultiBinding Converter="{StaticResource PosOptionValuesBarcodeToVisibility}" ConverterParameter="toggleGrid">
<Binding Path="OptionValue810" />
<Binding Path="OptionValue811" />
</MultiBinding>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
<TextBox x:Name="BarCode"
Grid.Column="1" Grid.Row="1"
TextAlignment="Center"
VerticalAlignment="Center"
HorizontalAlignment="Center"
FontSize="10"
Foreground="White"
Focusable="True"
BorderThickness="0"/>
<Grid HorizontalAlignment="Center" VerticalAlignment="Center" Width="594" Height="72">
<Grid.Background>
<ImageBrush ImageSource="{Binding GmbToggleOff}"/>
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="3"/>
<RowDefinition Height="*"/>
<RowDefinition Height="3"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="3"/>
</Grid.ColumnDefinitions>
<Grid x:Name="AiToggle" Grid.Column="1" Grid.Row="1" Width="294" Height="66">
<Grid.Background>
<ImageBrush ImageSource="{Binding GmbToggleOn}"/>
</Grid.Background>
</Grid>
<uc:AnimationButton x:Name="GMB_ai_order"
Grid.Column="1"
Grid.Row="1"
Width="294"
Height="66"
NormalBrush="{Binding GmbAIscannerNormal}"
DisableBrush="{Binding GmbAIscannerDisable}"
TextVisible="Visible"
TextFontSize="27"
DisableFontSize="27"
Text="자동 계산"
TextFontWeight="Bold"
TextVerticalAlignment="Center"
TextHorizontalAlignment="Left"
TextAlignment="Left"
TextForeground="#999999"
DisableForeground="White"
Enabled="{Binding GmbAIscannerEnable,Mode=TwoWay}"
TextMargin="100,0,0,0"
ClickAnimationType="SizeDown"
TextFontFamily="NanumSquare"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GmbAIscannerCommand}"
>
<uc:AnimationButton.Resources>
<Style TargetType="uc:AnimationButton">
<Setter Property="LanguageText">
<Setter.Value>
<MultiBinding Converter="{StaticResource ToMultiLanguageAutoOrBarcode}" ConverterParameter="BTN0034">
<Binding Path="OptionValue810"/>
<Binding Path="OptionValue811"/>
</MultiBinding>
</Setter.Value>
</Setter>
</Style>
</uc:AnimationButton.Resources>
</uc:AnimationButton>
<uc:AnimationButton x:Name="GMB_ic_order"
Grid.Column="2"
Grid.Row="1"
Width="294"
Height="66"
NormalBrush="{Binding GmbOrderNormal}"
DisableBrush="{Binding GmbOrderDisable}"
TextVisible="Visible"
TextFontSize="27"
DisableFontSize="27"
Text="커피 주문"
TextFontWeight="Bold"
TextVerticalAlignment="Center"
TextHorizontalAlignment="Left"
TextAlignment="Left"
TextForeground="#999999"
DisableForeground="White"
Enabled="{Binding GmbOrderEnable,Mode=TwoWay}"
TextMargin="108,0,0,0"
ClickAnimationType="SizeDown"
TextFontFamily="NanumSquare"
LanguageText="{Binding ConverterParameter='BTN0019', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GmbOrderCommand}"
/>
</Grid>
</Grid>
<Grid x:Name="MemberInfo" Grid.Column="1" Visibility="{Binding MemberLoginOK,Converter={StaticResource ToVisibility}}">
<Grid.RowDefinitions>
<RowDefinition Height="33"/>
<RowDefinition Height="*"/>
<RowDefinition Height="48"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal"
Grid.Row="1"
VerticalAlignment="Top"
HorizontalAlignment="Right"
Margin="0,0,30,0">
<uc:MutiLanguageTextBlock x:Name="GmbMemberName"
Text="{Binding GmbMemberName}"
VerticalAlignment="Top"
Foreground="#1469cc"
FontSize="23"
FontWeight="Bold"
FontFamily="NanumSquare"/>
<uc:MutiLanguageTextBlock x:Name="GmbMemberNameLavel"
Text="님"
VerticalAlignment="Top"
Foreground="Black"
FontSize="23"
FontWeight="Bold"
FontFamily="NanumSquare"/>
</StackPanel>
<uc:MutiLanguageTextBlock x:Name="GmbMemberNameLavel2"
Grid.Row="2"
Text="반갑습니다."
VerticalAlignment="Top"
HorizontalAlignment="Right"
Foreground="Black"
FontSize="23"
FontWeight="Bold"
FontFamily="NanumSquare"
Margin="0,0,30,0"/>
</Grid>
<uc:AnimationButton x:Name="GmbHappyInfo"
Grid.Column="1"
HorizontalAlignment="Right"
Width="260"
Height="70"
NormalBrush="{Binding GmbHappyInfoBackGround}"
Visibility="{Binding GmbHappyInfoEnable,Converter={StaticResource ToVisibility}}"
TextVisible="Visible"
Text="해피 포인트 회원이시면 로그인하세요."
TextHorizontalAlignment="Right"
TextAlignment="Right"
TextForeground="#f05b95"
TextFontFamily="NanumSquare"
TextFontSize="20"
TextFontWeight="ExtraBold"
TextMargin="15,0,36,0"
TextWrapping="Wrap"
IsBreathing="True"
LanguageText="{Binding ConverterParameter='LBL0138', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}">
<uc:AnimationButton.Style>
<Style TargetType="uc:AnimationButton">
<Setter Property="Margin" Value="0 0 -30 0"/>
<Style.Triggers>
<DataTrigger Binding="{Binding OptionValue812}" Value="0">
<Setter Property="Margin" Value="0 0 -120 0"/>
</DataTrigger>
</Style.Triggers>
</Style>
</uc:AnimationButton.Style>
</uc:AnimationButton>
<Grid Grid.Column="2" HorizontalAlignment="Right" x:Name="GMB_Right">
<WrapPanel Orientation="Horizontal"
HorizontalAlignment="Right"
>
<WrapPanel.Resources>
<Style TargetType="uc:AnimationButton">
<Setter Property="Width" Value="70"/>
<Setter Property="Height" Value="70"/>
<Setter Property="Margin" Value="0 20 20 0"/>
</Style>
</WrapPanel.Resources>
<uc:AnimationButton x:Name="GMB_PonitButton"
NormalBrush="{Binding GmbHappyPointimage}"
DisableBrush="{Binding GmbHappyPointDisable}"
ClickAnimationType="SizeDown"
Enabled="{Binding GmbHappyPointEnable}"
Command="{Binding HappyPointCommand}"
/>
<!--직원호출-->
<uc:AnimationButton x:Name="GMB_CallButton"
NormalBrush="{Binding GmbCallimage}"
ClickAnimationType="SizeDown"
Enabled="{Binding GmbEmpCall}"
Command="{Binding CallEmployeeCommand}"
Visibility="{Binding OptionValue812, Converter={StaticResource StringToVisibility}}"/>
<uc:AnimationButton x:Name="GMB_LanguageButton"
NormalBrush="{Binding GmbLanguageimage}"
ClickAnimationType="SizeDown"
Enabled="{Binding GmbLanguage}"
Command="{Binding LanguageCommand}"/>
<uc:AnimationButton x:Name="GMB_HomeButton"
NormalBrush="{Binding GmbHomeimage}"
ClickAnimationType="SizeDown"
Enabled="{Binding GmbHome}"
Command="{Binding GotoIntroPageCommand}"/>
</WrapPanel>
</Grid>
</Grid>
<Grid x:Name="ContentGrid" Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="390"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<Grid x:Name="FirstGrid" Width="1530" Height="970" Visibility="Collapsed">
<Grid.RowDefinitions>
<RowDefinition Height="110"/>
<RowDefinition Height="142"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<uc:MutiLanguageTextBlock Text="2가지 방식으로 주문이 가능 합니다."
Grid.Row="1"
VerticalAlignment="Top"
HorizontalAlignment="Center"
FontFamily="NanumSquare"
Foreground="#1469cc"
FontSize="51"
FontWeight="ExtraBold"
MultiLanguage="{Binding ConverterParameter='LBL0022', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<Grid Grid.Row="2" VerticalAlignment="Top" HorizontalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="420"/>
<ColumnDefinition Width="42"/>
<ColumnDefinition Width="420"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="345"/>
<RowDefinition Height="75"/>
<RowDefinition Height="100"/>
</Grid.RowDefinitions>
<uc:MutiLanguageTextBlock Text="쟁반에 담아온 제품은 여기"
Width="400"
Grid.Column="0"
Grid.Row="2"
VerticalAlignment="Top"
HorizontalAlignment="Center"
FontFamily="NanumSquare"
Foreground="#888888"
FontSize="27"
FontWeight="Bold"
TextWrapping="Wrap"
TextAlignment="Center"
MultiLanguage="{Binding ConverterParameter='BTN0027', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:MutiLanguageTextBlock Text="커피,음료,케익주문은 여기"
Width="400"
Grid.Column="2"
Grid.Row="2"
VerticalAlignment="Top"
HorizontalAlignment="Center"
FontFamily="NanumSquare"
Foreground="#888888"
FontSize="27"
FontWeight="Bold"
TextWrapping="Wrap"
TextAlignment="Center"
MultiLanguage="{Binding ConverterParameter='BTN0036', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="First2CameraBack"
Grid.Column="0"
Grid.Row="0"
Grid.RowSpan="3"
Width="420"
Height="520"
NormalBrush="{Binding First2CameraBackNormal}"
DownBrush="{Binding First2CameraBackDown}"
TextVisible="Visible"
Text="자동계산"
TextVerticalAlignment="Top"
TextHorizontalAlignment="Center"
TextFontFamily="NanumSquare"
TextForeground="#1469cc"
TextFontSize="48"
TextFontWeight="ExtraBold"
TextAlignment="Center"
TextMargin="0,345,0,0"
LanguageText="{Binding ConverterParameter='BTN0034', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GmbAIscannerCommand}"/>
<uc:AnimationButton x:Name="First2SelfOrderBack"
Grid.Column="2"
Grid.Row="0"
Grid.RowSpan="3"
Width="420"
Height="520"
NormalBrush="{Binding First2SelfOrderBackNormal}"
DownBrush="{Binding First2SelfOrderBackDown}"
TextVisible="Visible"
Text="커피주문"
TextVerticalAlignment="Top"
TextHorizontalAlignment="Center"
TextFontFamily="NanumSquare"
TextForeground="#1469cc"
TextFontSize="48"
TextFontWeight="ExtraBold"
TextAlignment="Center"
TextMargin="0,345,0,0"
LanguageText="{Binding ConverterParameter='BTN0019', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GmbOrderCommand}"/>
</Grid>
</Grid>
<Grid x:Name="SenserGrid" VerticalAlignment="Top"
Width="1530" Height="970" Visibility="Visible">
<Grid x:Name="ScanFirst" Visibility="Visible">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="160"/>
<ColumnDefinition Width="407"/>
<ColumnDefinition Width="407"/>
<ColumnDefinition Width="395"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="57"/>
<RowDefinition Height="105"/>
<RowDefinition Height="55"/>
<RowDefinition Height="390"/>
<RowDefinition Height="52"/>
<RowDefinition Height="55"/>
<RowDefinition Height="90"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Border Grid.Column="1" Grid.Row="3" BorderThickness="0,0,1,0" BorderBrush="#dddddd"/>
<StackPanel Grid.Column="1" Grid.ColumnSpan="3"
Grid.Row="1"
Visibility="{Binding AIScanCount, ConverterParameter=true, Converter={StaticResource ExistToVisibility}}"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Orientation="Horizontal">
<uc:MutiLanguageTextBlock Text="{Binding AIScanCount, ConverterParameter='#0', Converter={StaticResource ToString}}"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="#1469cc"
FontSize="80"
FontWeight="ExtraBold"
TextWrapping="NoWrap"/>
<uc:MutiLanguageTextBlock Text="개 제품이 등록되었습니다."
Width="1210"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="#1469cc"
FontSize="55"
FontWeight="ExtraBold"
AutoTextTrim="True"
TextWrapping="NoWrap"
Margin="10,13,0,0"
MultiLanguage="{Binding ConverterParameter='LBL0025', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
</StackPanel>
<StackPanel Grid.Column="1"
Grid.Row="2"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Orientation="Horizontal">
<uc:AnimationButton Width="7"
Height="26"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="{Binding ScanHeaderBar}"/>
<uc:MutiLanguageTextBlock Text="바로 결제하려면,"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="Black"
FontSize="27"
FontWeight="Bold"
AutoTextTrim="True"
TextWrapping="NoWrap"
Margin="10,0,27,0"/>
</StackPanel>
<StackPanel Grid.Column="2"
Grid.Row="2"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Orientation="Horizontal"
Margin="27,0,0,0">
<uc:AnimationButton Width="7"
Height="26"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="{Binding ScanHeaderBar}"/>
<uc:MutiLanguageTextBlock Text="추가 주문을 하려면,"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="Black"
FontSize="27"
FontWeight="Bold"
AutoTextTrim="True"
TextWrapping="NoWrap"
Margin="10,0,0,0"/>
</StackPanel>
<uc:MutiLanguageTextBlock Grid.Column="1"
Grid.Row="3"
Text="바로결제를 진행하시려면 선택하세요."
VerticalAlignment="Top"
HorizontalAlignment="Center"
TextAlignment="Center"
FontFamily="NanumSquare"
Foreground="#1469cc"
FontSize="22"
FontWeight="Normal"
TextWrapping="Wrap"
Margin="10,286,37,0"
MultiLanguage="{Binding ConverterParameter='BTN0012', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="ScanPayment"
Grid.Column="1"
Grid.Row="3"
Width="380"
Height="390"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="{Binding ScanPayment1Normal}"
DownBrush="{Binding ScanPayment1Down}"
TextVisible="Visible"
Text="결제하기"
TextVerticalAlignment="Top"
TextHorizontalAlignment="Center"
TextForeground="#1469cc"
TextFontFamily="NanumSquare"
TextFontSize="36"
TextFontWeight="ExtraBold"
TextMargin="0,233,0,0"
LanguageText="{Binding ConverterParameter='BTN0004', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GotoPaymentCommand}"
/>
<uc:MutiLanguageTextBlock Grid.Column="2"
Grid.Row="3"
Text="추가 카매라 스캔이 필요하시면 선택하세요."
VerticalAlignment="Top"
HorizontalAlignment="Center"
TextAlignment="Center"
FontFamily="NanumSquare"
Foreground="#888888"
FontSize="22"
FontWeight="Normal"
TextWrapping="Wrap"
Margin="37,236,10,0"
MultiLanguage="{Binding ConverterParameter='BTN0032', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="AddScan"
Grid.Column="2"
Grid.Row="3"
Width="380"
Height="320"
VerticalAlignment="Top"
HorizontalAlignment="Right"
NormalBrush="{Binding AddScan1Normal}"
DownBrush="{Binding AddScan1Down}"
TextVisible="Visible"
Text="자동 계산"
TextVerticalAlignment="Top"
TextHorizontalAlignment="Center"
TextForeground="#666666"
TextFontFamily="NanumSquare"
TextFontSize="36"
TextFontWeight="ExtraBold"
TextMargin="0,183,0,0"
LanguageText="{Binding ConverterParameter='BTN0034', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GmbAIscannerCommand}"/>
<uc:MutiLanguageTextBlock Grid.Column="3"
Grid.Row="3"
Text="음료/커피/케이크 등 추가 주문이 필요 하시면 선택하세요."
VerticalAlignment="Top"
HorizontalAlignment="Center"
TextAlignment="Center"
FontFamily="NanumSquare"
Foreground="#888888"
FontSize="22"
FontWeight="Normal"
TextWrapping="Wrap"
Margin="37,236,10,0"
MultiLanguage="{Binding ConverterParameter='BTN0025', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="ScanOrder"
Grid.Column="3"
Grid.Row="3"
Width="380"
Height="320"
VerticalAlignment="Top"
HorizontalAlignment="Right"
NormalBrush="{Binding ScanOrder1Normal}"
DownBrush="{Binding ScanOrder1Down}"
TextVisible="Visible"
Text="커피 주문"
TextVerticalAlignment="Top"
TextHorizontalAlignment="Center"
TextForeground="#666666"
TextFontFamily="NanumSquare"
TextFontSize="36"
TextFontWeight="ExtraBold"
TextMargin="0,183,0,0"
LanguageText="{Binding ConverterParameter='BTN0019', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GmbOrderCommand}"/>
<StackPanel Grid.Column="1" Grid.ColumnSpan="2"
Grid.Row="5"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Orientation="Horizontal"
Margin="0,0,0,0">
<uc:AnimationButton Width="7"
Height="26"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="{Binding ScanHeaderBar}"/>
<uc:MutiLanguageTextBlock Text="등록되지 않은 제품이 있으면,"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="Black"
FontSize="27"
FontWeight="Bold"
AutoTextTrim="True"
TextWrapping="NoWrap"
Margin="10,0,0,0"
MultiLanguage="{Binding ConverterParameter='LBL0044', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
</StackPanel>
<uc:MutiLanguageTextBlock Grid.Column="1"
Grid.Row="6"
Text="카매라 스캔 시작"
VerticalAlignment="Top"
HorizontalAlignment="Center"
TextAlignment="Center"
FontFamily="NanumSquare"
Foreground="#888888"
FontSize="18"
FontWeight="Normal"
TextWrapping="Wrap"
Margin="10,55,37,0"
MultiLanguage="{Binding ConverterParameter='BTN0035', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="ReScan"
Grid.Column="1"
Grid.Row="6"
Width="380"
Height="90"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="{Binding ScanButtonSmallNormal}"
DownBrush="{Binding ScanButtonSmallDown}"
TextVisible="Visible"
Text="돌아가기"
TextVerticalAlignment="Top"
TextHorizontalAlignment="Center"
TextForeground="#666666"
TextFontFamily="NanumSquare"
TextFontSize="24"
TextFontWeight="ExtraBold"
TextMargin="0,23,0,0"
LanguageText="{Binding ConverterParameter='BTN0009', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding RescanCommand}"/>
<uc:MutiLanguageTextBlock Grid.Column="2"
Grid.Row="6"
Text="바코드가 부착된 제품"
VerticalAlignment="Top"
HorizontalAlignment="Center"
TextAlignment="Center"
FontFamily="NanumSquare"
Foreground="#888888"
FontSize="18"
FontWeight="Normal"
TextWrapping="Wrap"
Margin="37,55,10,0"
MultiLanguage="{Binding ConverterParameter='BTN0014', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="GotoBarcord"
Grid.Column="2"
Grid.Row="6"
Width="380"
Height="90"
VerticalAlignment="Top"
HorizontalAlignment="Right"
NormalBrush="{Binding ScanButtonSmallNormal}"
DownBrush="{Binding ScanButtonSmallDown}"
TextVisible="Visible"
Text="바코드 스캔"
TextVerticalAlignment="Top"
TextHorizontalAlignment="Center"
TextForeground="#666666"
TextFontFamily="NanumSquare"
TextFontSize="24"
TextFontWeight="ExtraBold"
TextMargin="0,23,0,0"
LanguageText="{Binding ConverterParameter='BTN0013', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GotoBarcodeCommand}"/>
<!--<uc:MediaPlayer x:Name="ScanInfoGIF"
Grid.Column="1"
Grid.Row="1"
Grid.RowSpan="4"
VerticalAlignment="Top"
Width="540"
Height="480"
RepeatMedia="True"
MediaFile="{Binding ScanInfoGIF}"/>
<uc:AnimationButton x:Name="ScanInfoIcon1"
Grid.Column="3"
Grid.Row="2"
Width="42"
Height="42"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="{Binding ScanInfoIcon1Normal}"/>
<uc:AnimationButton x:Name="ScanInfoIcon2"
Grid.Column="3"
Grid.Row="3"
Width="42"
Height="42"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="{Binding ScanInfoIcon2Normal}"/>
<uc:MutiLanguageTextBlock Text="구매하실 제품은 겹치지 않게 쟁반에 담아주세요."
Width="553"
Grid.Column="4"
Grid.Row="2"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="Black"
FontSize="27"
FontWeight="Bold"
TextWrapping="Wrap"/>
<uc:MutiLanguageTextBlock Text="쟁반를 아래 투입구에 넣어주세요."
Width="553"
Grid.Column="4"
Grid.Row="3"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="Black"
FontSize="27"
FontWeight="Bold"
TextWrapping="Wrap"/>
<StackPanel Orientation="Vertical"
Grid.Column="3"
Grid.Row="4"
Grid.ColumnSpan="2">
<uc:MutiLanguageTextBlock Text="카메라 스캔을 시작하시겠습니까?"
Width="610"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="#1469cc"
FontSize="33"
FontWeight="ExtraBold"
TextWrapping="Wrap"/>
<uc:AnimationButton x:Name="ScanStart"
Width="200"
Height="60"
Margin="0,30,0,0"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="C:\SPC\POS\IMAGE\Kiosk\PB\btn_camerascan_start.png"
ClickAnimationType="SizeDown"
TextVisible="Visible"
Text="시작"
TextFontFamily="NanumSquare"
TextForeground="White"
TextFontSize="30"
TextFontWeight="Bold"
TextAlignment="Center"/>
</StackPanel>-->
</Grid>
<Grid x:Name="ScanSecond" Visibility="Collapsed">
<Grid.RowDefinitions>
<RowDefinition Height="592"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--바코드 스캔 GIF이미지-->
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="160"/>
<ColumnDefinition Width="540"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="160"/>
</Grid.ColumnDefinitions>
<uc:MediaPlayer x:Name="BarcordScanGIF"
Grid.Column="1"
Grid.Row="0"
VerticalAlignment="Top"
Width="540"
Height="480"
RepeatMedia="True"
MediaFile="{Binding ScanInfoGIF}"
>
<!--Margin="0,71,0,0"-->
<uc:MediaPlayer.Resources>
<Style TargetType="uc:MediaPlayer">
<Setter Property="Margin">
<Setter.Value>
<MultiBinding Converter="{StaticResource PosOptionValuesBarcodeToMargin}" ConverterParameter="image">
<Binding Path="OptionValue810"/>
<Binding Path="OptionValue811"/>
</MultiBinding>
</Setter.Value>
</Setter>
</Style>
</uc:MediaPlayer.Resources>
</uc:MediaPlayer>
<uc:MutiLanguageTextBlock Grid.Column="2"
Grid.Row="0"
Text="바코드 제품을 추가하려면 왼쪽 하단의 바코드 리더기에 제품 바코드를 스캔하세요."
Width="610"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="#1469cc"
FontSize="40"
FontWeight="ExtraBold"
TextWrapping="Wrap"
MultiLanguage="{Binding ConverterParameter='LBL0050', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}">
<!--Margin="57,245,0,0"-->
<uc:MutiLanguageTextBlock.Resources>
<Style TargetType="uc:MutiLanguageTextBlock">
<Setter Property="Margin">
<Setter.Value>
<MultiBinding Converter="{StaticResource PosOptionValuesBarcodeToMargin}" ConverterParameter="textBlock">
<Binding Path="OptionValue810"/>
<Binding Path="OptionValue811"/>
</MultiBinding>
</Setter.Value>
</Setter>
</Style>
</uc:MutiLanguageTextBlock.Resources>
</uc:MutiLanguageTextBlock>
</Grid>
<!--바코드 스캔 하단 버튼 및 텍스트-->
<Grid Grid.Row="1" x:Name="ScanSecondBottomTextButoon">
<Grid.Resources>
<Style TargetType="Grid">
<Setter Property="Visibility">
<Setter.Value>
<MultiBinding Converter="{StaticResource PosOptionValuesBarcodeToVisibility}" ConverterParameter="bottomButtonText">
<Binding Path="OptionValue810" />
<Binding Path="OptionValue811" />
</MultiBinding>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="160"/>
<ColumnDefinition Width="407"/>
<ColumnDefinition Width="407"/>
<ColumnDefinition Width="395"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="55"/>
<RowDefinition Height="170"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Border Grid.Column="1" Grid.Row="1" BorderThickness="0,0,1,0" BorderBrush="#dddddd"/>
<StackPanel Grid.Column="1"
Grid.Row="0"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Orientation="Horizontal">
<uc:AnimationButton Width="7"
Height="26"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="{Binding ScanHeaderBar}"/>
<uc:MutiLanguageTextBlock Text="바로 결제하려면,"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="Black"
FontSize="27"
FontWeight="Bold"
AutoTextTrim="True"
TextWrapping="NoWrap"
Margin="10,0,27,0"/>
</StackPanel>
<StackPanel Grid.Column="2"
Grid.Row="0"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Orientation="Horizontal"
Margin="27,0,0,0">
<uc:AnimationButton Width="7"
Height="26"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="{Binding ScanHeaderBar}"/>
<uc:MutiLanguageTextBlock Text="추가 주문을 하려면,"
VerticalAlignment="Top"
HorizontalAlignment="Left"
TextAlignment="Left"
FontFamily="NanumSquare"
Foreground="Black"
FontSize="27"
FontWeight="Bold"
AutoTextTrim="True"
TextWrapping="NoWrap"
Margin="10,0,0,0"/>
</StackPanel>
<uc:MutiLanguageTextBlock Grid.Column="1"
Grid.Row="1"
Text="바로결제를 진행하려면 선택하세요."
VerticalAlignment="Top"
HorizontalAlignment="Center"
TextAlignment="Center"
FontFamily="NanumSquare"
Foreground="#1469cc"
FontSize="22"
FontWeight="Normal"
TextWrapping="Wrap"
Margin="10,93,37,0"
MultiLanguage="{Binding ConverterParameter='BTN0012', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="ScanPayment2"
Grid.Column="1"
Grid.Row="1"
Width="380"
Height="170"
VerticalAlignment="Top"
HorizontalAlignment="Left"
NormalBrush="{Binding ScanButtonLargeNormal}"
DownBrush="{Binding ScanButtonLargeDown}"
TextVisible="Visible"
Text="결제하기"
TextVerticalAlignment="Top"
TextHorizontalAlignment="Center"
TextForeground="#1469cc"
TextFontFamily="NanumSquare"
TextFontSize="36"
TextFontWeight="ExtraBold"
TextMargin="0,39,0,0"
LanguageText="{Binding ConverterParameter='BTN0004', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GotoPaymentCommand}"/>
<uc:MutiLanguageTextBlock Grid.Column="2"
Grid.Row="1"
Text="음료/커피/케이크 등 추가주문이 필요하면 선택하세요."
VerticalAlignment="Top"
HorizontalAlignment="Center"
TextAlignment="Center"
FontFamily="NanumSquare"
Foreground="#888888"
FontSize="18"
FontWeight="Normal"
TextWrapping="Wrap"
Margin="37,69,10,0"
MultiLanguage="{Binding ConverterParameter='BTN0025', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="ScanOrder2"
Grid.Column="2"
Grid.Row="1"
Width="380"
Height="130"
VerticalAlignment="Top"
HorizontalAlignment="Right"
NormalBrush="{Binding ScanButtonNormal}"
DownBrush="{Binding ScanButtonDown}"
TextVisible="Visible"
Text="커피주문"
TextVerticalAlignment="Top"
TextHorizontalAlignment="Center"
TextForeground="#666666"
TextFontFamily="NanumSquare"
TextFontSize="30"
TextFontWeight="ExtraBold"
TextMargin="0,27,0,0"
LanguageText="{Binding ConverterParameter='BTN0019', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GmbOrderCommand}"/>
<uc:MutiLanguageTextBlock Grid.Column="3"
Grid.Row="1"
Text="추가 카매라 스캔이 필요하면 선택하세요."
VerticalAlignment="Top"
HorizontalAlignment="Center"
TextAlignment="Center"
FontFamily="NanumSquare"
Foreground="#888888"
FontSize="18"
FontWeight="Normal"
TextWrapping="Wrap"
Margin="37,69,10,0"
MultiLanguage="{Binding ConverterParameter='BTN0032', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="AddScan2"
Grid.Column="3"
Grid.Row="1"
Width="380"
Height="130"
VerticalAlignment="Top"
HorizontalAlignment="Right"
NormalBrush="{Binding ScanButtonNormal}"
DownBrush="{Binding ScanButtonDown}"
TextVisible="Visible"
Text="자동계산"
TextVerticalAlignment="Top"
TextHorizontalAlignment="Center"
TextForeground="#666666"
TextFontFamily="NanumSquare"
TextFontSize="30"
TextFontWeight="ExtraBold"
TextMargin="0,27,0,0"
LanguageText="{Binding ConverterParameter='BTN0034', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding GmbAIscannerCommand}"/>
</Grid>
</Grid>
<!--<Grid VerticalAlignment="Bottom" Margin="0,0,0,48">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="115"/>
<ColumnDefinition Width="27" />
<ColumnDefinition Width="10" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<uc:AnimationButton x:Name="InfoLogo2"
Grid.Column="1"
VerticalAlignment="Top"
Width="27"
Height="27"
HorizontalAlignment="Left"
NormalBrush="{Binding InfoLogo}"
BrushStretch = "Fill"
Margin="0,5,0,0"/>
<StackPanel Grid.Column="3" Orientation="Horizontal">
<uc:MutiLanguageTextBlock Text="도움이 필요하시면, "
VerticalAlignment="Top"
HorizontalAlignment="Left"
Foreground="#1469cc"
FontFamily="NanumSquare"
FontSize="28"
FontWeight="Normal"
Margin="0,4,0,0"/>
<uc:AnimationButton x:Name="InfoX2"
Grid.Column="1"
VerticalAlignment="Top"
Width="36"
Height="36"
HorizontalAlignment="Left"
NormalBrush="{Binding InfoLogoX}"
BrushStretch = "Fill"
Margin="0,0,0,0"/>
<uc:MutiLanguageTextBlock Text=" 버튼을 눌러주세요."
VerticalAlignment="Top"
HorizontalAlignment="Left"
Foreground="#1469cc"
FontFamily="NanumSquare"
FontSize="28"
FontWeight="Normal"
Margin="0,4,0,0"/>
</StackPanel>
</Grid>-->
</Grid>
<Grid x:Name="ItemGrid" VerticalAlignment="Top"
Width="1530" Height="970" Visibility="Collapsed">
<Grid.RowDefinitions>
<RowDefinition Height="85"/>
<RowDefinition Height="50"/>
<RowDefinition Height="810"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"/>
<ColumnDefinition Width="40"/>
<ColumnDefinition Width="1300"/>
<ColumnDefinition Width="40"/>
</Grid.ColumnDefinitions>
<Grid Grid.Row="0"
Grid.Column="0"
Grid.RowSpan="4"
VerticalAlignment="Top">
<Grid.RowDefinitions>
<RowDefinition Height="800"/>
<RowDefinition Height="170"/>
</Grid.RowDefinitions>
<uc:ButtonList x:Name="Category1Item"
Grid.Row="0"
VerticalAlignment="Top"
Width="150"
Height="800"
Margin="0,0,0,0"
TextPosition="InnerButton"
StackOrientation="Vertical"
ColumnCount ="1"
RowCount="5"
ItemWidth="150"
ItemHeight="160"
AutoToggle="False"
ClickSend="False"
DragEnable="False"
SelectOn ="True"
DisplayLanguage="{Binding ShowLanguageType}"
ListItems="{Binding Category1Data}"
DefaultPageNo="{Binding DefaultCategory1PageNo,Mode=TwoWay}"
DefaultIndex="{Binding DefaultCategory1Item,Mode=TwoWay}"
Command="{Binding Category1Command}">
<uc:ButtonList.Background>
<ImageBrush ImageSource="{Binding Category1Background}" Stretch="Fill"/>
</uc:ButtonList.Background>
</uc:ButtonList>
<uc:AnimationButton x:Name="OrderHistory"
Grid.Row="1"
NormalBrush="{Binding OrderHistoryNormalBrush}"
DisableBrush="{Binding OrderHistoryDisableBrush}"
ClickAnimationType="SizeUp"
TextVisible="Visible"
Text="Order History"
TextForeground="White"
TextFontSize="24"
TextFontFamily="NanumSquare"
TextFontWeight="Bold"
TextWrapping="Wrap"
TextAlignment="Center"
TextHorizontalAlignment="Center"
TextVerticalAlignment="Top"
TextMargin="0,100,10,0"
Enabled="{Binding OrderHistoryItemsEnable}"
LanguageText="{Binding ConverterParameter='BTN0030', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding OrderHistoryCommand}"/>
</Grid>
<StackPanel Grid.Row="0"
Grid.Column="0"
Grid.RowSpan="4"
VerticalAlignment="Top"
Orientation="Vertical">
</StackPanel>
<uc:ButtonList x:Name="Category2Item"
Grid.Row="0"
Grid.Column="2"
HorizontalAlignment="Left"
Width="1164"
Height="85"
Margin="0,0,0,0"
TextPosition="InnerButton"
StackOrientation="Horizontal"
ColumnCount ="6"
RowCount="1"
ItemWidth="194"
ItemHeight="85"
AutoToggle="False"
ClickSend="False"
DragEnable="False"
SelectOn ="True"
DisplayLanguage="{Binding ShowLanguageType}"
ListItems="{Binding Category2Data}"
DefaultPageNo="{Binding DefaultCategory2PageNo,Mode=TwoWay}"
DefaultIndex="{Binding DefaultCategory2Item,Mode=TwoWay}"
Command="{Binding Category2Command}"/>
<uc:ButtonList x:Name="ItemList"
Grid.Row="2" Grid.Column="2"
Width="1300"
Height="820"
StackOrientation="Horizontal"
TextPosition="Bottom"
ColumnCount ="{Binding OrderColumnCount}"
RowCount="{Binding OrderRowCount}"
ItemWidth="260"
ItemHeight="410"
DisplayLanguage="{Binding ShowLanguageType}"
ListItems="{Binding OrderItems}"
ClickSend="True"
BaseGrid="{Binding Path=Name,ElementName=TradeGrid}"
ReciveElement="{Binding Path=Name,ElementName=EmptyBasket}"
DefaultPageNo="{Binding OrderItemPageNo,Mode=TwoWay}"
DefaultIndex="{Binding DefaultOrderItem,Mode=TwoWay}"
Command="{Binding ItemCommand}"/>
<Grid Grid.Row="2" Grid.Column="1">
<Grid x:Name="Page2LeftGrid" VerticalAlignment="Center"
Width="50" Height="50">
<Grid.RenderTransform>
<TranslateTransform X="12" Y="-30"/>
</Grid.RenderTransform>
<uc:AnimationButton x:Name="Page2Left"
NormalBrush="{Binding Page2LeftNormalImage}"
DisableBrush="Transparent"
ClickAnimationType="SizeUp"
Enabled="{Binding Page2LeftEnable}"
Command="{Binding Page2LeftCommand}"
/>
</Grid>
</Grid>
<Grid Grid.Row="2" Grid.Column="3">
<Grid x:Name="Page2RightGrid" VerticalAlignment="Center"
Width="50" Height="50">
<Grid.RenderTransform>
<TranslateTransform X="-12" Y="-30"/>
</Grid.RenderTransform>
<uc:AnimationButton x:Name="Page2Right"
NormalBrush="{Binding Page2RightNormalImage}"
DisableBrush="Transparent"
ClickAnimationType="SizeUp"
Enabled="{Binding Page2RightEnable}"
Command="{Binding Page2RightCommand}"
/>
</Grid>
</Grid>
<Grid Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3">
<uc:ButtonList x:Name="ItemPageStatus"
VerticalAlignment="Top"
HorizontalAlignment="Center"
Width="1300"
Height="20"
StackOrientation="Horizontal"
ColumnCount ="{Binding PageStatusColumnCount}"
RowCount="1"
ItemWidth="38"
ItemHeight="20"
AutoToggle="False"
ClickSend="False"
DragEnable="False"
SelectOn ="True"
ListItems="{Binding ItemPageStatus}"
DefaultPageNo="0"
Margin ="0,-35,0,0"
DefaultIndex="{Binding OrderItemPageNo}"
Command="{Binding PageSelectCommand}"/>
</Grid>
<Grid x:Name="OrderHisoty" Background="#C0000000"
Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4" Grid.RowSpan="4"
Width="1530" Height="970" Visibility="Collapsed">
<Grid x:Name="OrderHisotyItems" Background="White"
Width="1530" Height="330" VerticalAlignment="Bottom">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="140"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<uc:AnimationButton x:Name="CloseOrderHisoty"
Grid.Column="0"
VerticalAlignment="Top"
Width="140"
Height="330"
HorizontalAlignment="Left"
NormalBrush="{Binding CloseOrderHistoryNormalBrush}"
BrushStretch = "Fill"
Margin="0,0,0,0"
Command="{Binding OrderHistoryCloseCommand}"/>
<Grid Grid.Column="0" Height="68" VerticalAlignment="Top" Margin="0,175,0,0">
<uc:MutiLanguageTextBlock Text="최근주문"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Foreground="White"
FontFamily="NanumSquare"
FontSize="24"
FontWeight="Bold"
Margin="10,0,10,0"
MultiLanguage="{Binding ConverterParameter='BTN0030', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
</Grid>
<uc:MutiLanguageTextBlock Grid.Column="0"
Text="*전일기준"
VerticalAlignment="Bottom"
HorizontalAlignment="Center"
Foreground="White"
FontFamily="NanumSquare"
FontSize="20"
FontWeight="Normal"
Margin="10,0,10,20"
MultiLanguage="{Binding ConverterParameter='BTN0001', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:ButtonList x:Name="HistoryItemList"
Grid.Column="1"
HorizontalAlignment="Left"
Width="1300"
Height="330"
StackOrientation="Horizontal"
TextPosition="Bottom"
ColumnCount ="5"
RowCount="1"
ItemWidth="260"
ItemHeight="410"
ListItems="{Binding OrderHistoryItems}"
ClickSend="True"
BaseGrid="{Binding Path=Name,ElementName=TradeGrid}"
ReciveElement="{Binding Path=Name,ElementName=EmptyBasket}"
DisplayLanguage="{Binding ShowLanguageType}"
Command="{Binding ItemCommand}"
Margin="50,10,0,0"/>
</Grid>
</Grid>
</Grid>
</Grid>
<Grid x:Name="OrderListGrid" Grid.Column="1" Background="#f9f9f9" >
<Grid.RowDefinitions>
<RowDefinition Height="76"/>
<RowDefinition Height="824"/>
<RowDefinition Height="80"/>
</Grid.RowDefinitions>
<Grid x:Name="OrderListHeader" Grid.Row="0" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="76"/>
</Grid.ColumnDefinitions>
<Border Grid.Row="0" BorderBrush="#dddddd" BorderThickness="1,0,0,0"/>
<uc:MutiLanguageTextBlock x:Name="OrderListHeaderText"
Grid.Column="0"
VerticalAlignment="Center"
HorizontalAlignment="Left"
Margin="30,0,0,0"
Text="주문내역"
Foreground="Black"
FontSize="26"
FontWeight="Bold"
FontFamily="NanumSquare"
MultiLanguage="{Binding ConverterParameter='LBL0097', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="OrderClear"
Grid.Column="1"
Width="76"
Height="76"
NormalBrush="{Binding MiniBasketDeleteAllImage}"
DisableBrush="{Binding MiniBasketDeleteAllImage}"
Enabled="{Binding MiniBasketDeleteAllEnable}"
ClickAnimationType="SizeDown"
Command="{Binding MiniBasketDeleteAllCommand}"
/>
</Grid>
<Border Grid.Row="1" BorderBrush="#dddddd" BorderThickness="1,0,0,0"/>
<Grid Grid.Row="1" >
<Grid x:Name="OrderNoneDataGrid" VerticalAlignment="Top" Visibility="{Binding OrderNoneDataGridVisibility}">
<Grid.RowDefinitions>
<RowDefinition Height="340"/>
<RowDefinition Height="70"/>
<RowDefinition Height="30"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<uc:AnimationButton x:Name="EmptyBasket"
Grid.Row="1"
NormalBrush="{Binding EmptyBasketImage}"
DropCommand="{Binding EmptyBasketDropCommand}"
/>
<StackPanel Grid.Row="3" Orientation="Vertical">
<uc:MutiLanguageTextBlock x:Name="EmptyBasketText"
Text="선택한 제품이 없습니다.&#10;제품을 선택해주세요."
FontFamily="NanumSquare"
Foreground="#88888888"
FontSize="21"
TextWrapping="Wrap"
TextAlignment="Center"
MultiLanguage="{Binding ConverterParameter='LBL0069', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
</StackPanel>
</Grid>
<Grid x:Name="OrderExistDataGrid" VerticalAlignment="Top" Visibility="{Binding OrderExistDataGridVisibility}">
<Grid.RowDefinitions>
<RowDefinition Height="674"/>
<RowDefinition Height="130"/>
</Grid.RowDefinitions>
<local:MiniBasketItems x:Name="MiniBasketItemData" Grid.Row="0"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Width="390"
Height="674"
DisplayLanguage="{Binding ShowLanguageType}"
ListItems="{Binding MiniBasketData}"
Command="{Binding BasketItemDeleteCommand}"
/>
<Grid x:Name="OrderListTotalGrid" Grid.Row="2" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="18"/>
<RowDefinition Height="36"/>
<RowDefinition Height="76"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="30"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="30"/>
</Grid.ColumnDefinitions>
<Border Grid.Row="0" Grid.Column="0"
Grid.RowSpan="4" Grid.ColumnSpan="3"
BorderBrush="#dddddd" BorderThickness="1,1,0,0"/>
<StackPanel x:Name="OrderTotalCountStack" Orientation="Horizontal" Grid.Column="1" Grid.Row="1">
<uc:MutiLanguageTextBlock x:Name="OrderTotalCountHeader"
Text="총"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Foreground="#1469cc"
FontSize="22"
FontFamily="NanumSquare"
FontWeight="Bold"
MultiLanguage="{Binding ConverterParameter='LBL0105', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:MutiLanguageTextBlock x:Name="OrderTotalCount"
Text="{Binding OrderTotalCount, ConverterParameter=' #0 ', Converter={StaticResource ToString}}"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Foreground="#1469cc"
FontSize="22"
FontFamily="NanumSquare"
FontWeight="Bold"
/>
<uc:MutiLanguageTextBlock x:Name="OrderTotalAfter"
Text="개"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Foreground="#1469cc"
FontSize="22"
FontFamily="NanumSquare"
FontWeight="Bold"
MultiLanguage="{Binding ConverterParameter='LBL0024', Converter={StaticResource ToMultiLanguage}}"
DisplayLanguage="{Binding ShowLanguageType}"/>
</StackPanel>
<uc:AnimationButton x:Name="OrderTotalPaymentIcon"
Grid.Column="1"
Grid.Row="2"
HorizontalAlignment="Left"
VerticalAlignment="Bottom"
NormalBrush="{Binding OrderTotalPaymentIcon}"
Width="28"
Height="28"
Margin="0,0,0,21"/>
<uc:MutiLanguageTextBlock x:Name="OrderTotalPayment"
Grid.Column="1"
Grid.Row="2"
Text="{Binding OrderTotalPayment, ConverterParameter='#,###0', Converter={StaticResource ToString}}"
VerticalAlignment="Top"
HorizontalAlignment="Right"
Foreground="#1469cc"
FontSize="64"
FontFamily="NanumSquare"
FontWeight="ExtraBold"
/>
</Grid>
</Grid>
</Grid>
<Grid Grid.Row="2">
<StackPanel Orientation="Horizontal" VerticalAlignment="Top">
<uc:AnimationButton x:Name="OrderDetail"
Width="136"
Height="80"
NormalBrush="#333333"
DisableBrush="#888888"
ClickAnimationType="TextSizeDown"
TextVisible="Visible"
Text="상세보기"
TextFontFamily="NanumSquare"
TextFontSize="21"
DisableFontSize="21"
TextForeground="White"
DisableForeground="#dddddd"
FontWeight="Normal"
DisableWeight="Normal"
LanguageText="{Binding ConverterParameter='BTN0018', Converter={StaticResource ToMultiLanguage}}"
Enabled="{Binding OrderDetailEnable}"
Command="{Binding OrderDetailCommand}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<uc:AnimationButton x:Name="GotoPayment"
Width="254"
Height="80"
NormalBrush="#1469cc"
DisableBrush="#aaaaaa"
ClickAnimationType="TextSizeDown"
TextVisible="Visible"
Text="결제하기"
TextFontFamily="NanumSquare"
TextFontSize="33"
DisableFontSize="27"
TextForeground="White"
DisableForeground="#dddddd"
FontWeight="Normal"
DisableWeight="Normal"
IsBreathing="{Binding OrderTotalCount, ConverterParameter=true, Converter={StaticResource ExistToBool}}"
LanguageText="{Binding ConverterParameter='BTN0004', Converter={StaticResource ToMultiLanguage}}"
Enabled="{Binding GotoPaymentEnable}"
Command="{Binding GotoPaymentCommand}"
DisplayLanguage="{Binding ShowLanguageType}"/>
<!--<uc:AnimationButton x:Name="GotoPayment"
Width="254"
Height="80"
NormalBrush="#1469cc"
DisableBrush="#aaaaaa"
ClickAnimationType="TextSizeDown"
TextVisible="Visible"
Text="결제하기"
TextFontFamily="NanumSquare"
TextFontSize="33"
DisableFontSize="27"
TextForeground="White"
DisableForeground="#dddddd"
FontWeight="Normal"
DisableWeight="Normal"
LanguageText="{Binding ConverterParameter='BTN0004', Converter={StaticResource ToMultiLanguage}}"
Enabled="{Binding GotoPaymentEnable}"
Command="{Binding GotoPaymentCommand}"
DisplayLanguage="{Binding ShowLanguageType}"/>-->
</StackPanel>
</Grid>
</Grid>
</Grid>
</Grid>
<Grid x:Name="AdminGrid" VerticalAlignment="Top" HorizontalAlignment="Left"
Width="1920"
Height="1080"
Visibility="Collapsed"
Background="#C0000000">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="400"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="100"/>
<RowDefinition Height="100"/>
<RowDefinition Height="100"/>
<RowDefinition Height="100"/>
<RowDefinition Height="100"/>
<RowDefinition Height="100"/>
</Grid.RowDefinitions>
<Border Grid.Column="0" Grid.Row="0" Grid.RowSpan="6" Background="White" CornerRadius="20"/>
<uc:MutiLanguageTextBlock Grid.Column="0"
Grid.Row="0"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Text="관리자 기능"
Foreground="#1469cc"
FontSize="26"
FontWeight="Bold"
FontFamily="NanumSquare"
/>
<uc:AnimationButton x:Name="RecipetReprintButton"
Grid.Column="0"
Grid.Row="1"
Width="360"
Height="80"
NormalBrush="#333333"
DownBrush="#888888"
ClickAnimationType="SizeDown"
TextVisible="Visible"
Text="영수증 재발행"
TextFontFamily="NanumSquare"
TextFontSize="21"
TextForeground="White"
FontWeight="Normal"
Margin="20,10,20,10"
MouseClicked="RecipetReprintButton_MouseClicked"
/>
<uc:AnimationButton x:Name="RecipetRefundButton"
Grid.Column="0"
Grid.Row="2"
Width="360"
Height="80"
NormalBrush="#333333"
DownBrush="#888888"
ClickAnimationType="SizeDown"
TextVisible="Visible"
Text="영수증 반품"
TextFontFamily="NanumSquare"
TextFontSize="21"
TextForeground="White"
FontWeight="Normal"
Margin="20,10,20,10"
MouseClicked="RecipetRefundButton_MouseClicked"
/>
<uc:AnimationButton x:Name="IcReaderCheckButton"
Grid.Column="0"
Grid.Row="3"
Width="360"
Height="80"
NormalBrush="#333333"
DownBrush="#888888"
ClickAnimationType="SizeDown"
TextVisible="Visible"
Text="IC리더기 점검"
TextFontFamily="NanumSquare"
TextFontSize="21"
TextForeground="White"
FontWeight="Normal"
Margin="20,10,20,10"
MouseClicked="IcReaderCheckButton_MouseClicked"
/>
<uc:AnimationButton x:Name="ExitWindow"
Grid.Column="0"
Grid.Row="4"
Width="360"
Height="80"
NormalBrush="#333333"
DownBrush="#888888"
ClickAnimationType="SizeDown"
TextVisible="Visible"
Text="프로그램 종료"
TextFontFamily="NanumSquare"
TextFontSize="21"
TextForeground="Red"
FontWeight="Normal"
Margin="20,10,20,10"
MouseClicked="ExitWindow_MouseClicked"
/>
<uc:AnimationButton x:Name="CloseWindow"
Grid.Column="0"
Grid.Row="5"
Width="360"
Height="80"
NormalBrush="#333333"
DownBrush="#888888"
ClickAnimationType="SizeDown"
TextVisible="Visible"
Text="닫기"
TextFontFamily="NanumSquare"
TextFontSize="21"
TextForeground="White"
FontWeight="Normal"
Margin="20,10,20,10"
MouseClicked="CloseWindow_MouseClicked"
/>
</Grid>
</Grid>
</Window>