MainWindow_Kalea.xaml 419 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104
  1. <UserControl
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
  6. xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions"
  7. xmlns:local="clr-namespace:Localization"
  8. x:Class="Localization.MainWindow"
  9. FontFamily="./#Microsoft YaHei,./#Oxygen, ./#FontopoNIHONGO"
  10. Foreground="White"
  11. d:DesignWidth="2049 " d:DesignHeight="1563"
  12. d:DataContext="{d:DesignInstance {x:Type local:ViewModel}, IsDesignTimeCreatable=True}">
  13. <UserControl.Resources>
  14. <ResourceDictionary>
  15. <ResourceDictionary.MergedDictionaries>
  16. <ResourceDictionary Source="Resources_Kalea.xaml"/>
  17. </ResourceDictionary.MergedDictionaries>
  18. </ResourceDictionary>
  19. <!--<ControlTemplate x:Key="Template.TextBox" TargetType="TextBox">
  20. <Grid Background="{TemplateBinding Background}">
  21. <Border x:Name="Placeholder" Padding="{TemplateBinding Padding}" Margin="2,0" Visibility="Collapsed">
  22. <TextBlock Text="{Binding (noesis:Text.Placeholder), RelativeSource={RelativeSource TemplatedParent}}"/>
  23. </Border>
  24. <ScrollViewer x:Name="PART_ContentHost" Focusable="False" Padding="{TemplateBinding Padding}" Foreground="{TemplateBinding Foreground}"/>
  25. </Grid>
  26. <ControlTemplate.Triggers>
  27. <Trigger Property="Text" Value="">
  28. <Setter Property="Visibility" Value="Visible" TargetName="Placeholder"/>
  29. </Trigger>
  30. </ControlTemplate.Triggers>
  31. </ControlTemplate>-->
  32. </UserControl.Resources>
  33. <UserControl.Triggers>
  34. <EventTrigger RoutedEvent="FrameworkElement.Loaded">
  35. <BeginStoryboard/>
  36. </EventTrigger>
  37. </UserControl.Triggers>
  38. <Grid x:Name="LayoutRoot">
  39. <Grid.RowDefinitions>
  40. <RowDefinition Height="1*"/>
  41. </Grid.RowDefinitions>
  42. <Grid.ColumnDefinitions>
  43. <ColumnDefinition Width="119*"/>
  44. <ColumnDefinition Width="400*"/>
  45. <ColumnDefinition Width="455*"/>
  46. </Grid.ColumnDefinitions>
  47. <Image Grid.ColumnSpan="3" Source="image/bg/login_bg2.png" Visibility="{Binding Login_Vis}" Margin="-200,-500,-500,-500" />
  48. <Viewbox Grid.Column="0" Grid.Row="0" >
  49. <Grid Height="780" Width="128">
  50. <Grid.RowDefinitions>
  51. <RowDefinition Height="1*"/>
  52. <RowDefinition Height="2*"/>
  53. <RowDefinition Height="1*"/>
  54. <RowDefinition Height="2*"/>
  55. </Grid.RowDefinitions>
  56. <Border Grid.Row="0" Background="Black" Height="32" Width="76" Margin="0,20,0,0" VerticalAlignment="Top" CornerRadius="6,6,6,6" Visibility="{Binding Config_Vis}"/>
  57. <ComboBox x:Name="LanguageSelector" Grid.Row="0"
  58. SelectedValuePath="Content" Foreground="White" Background="Black" BorderBrush="{x:Null}" SelectedValue="EN" Height="32" Width="76" FontSize="16" HorizontalAlignment="Center" Margin="0,20,0,0" VerticalAlignment="Top" Visibility="{Binding Config_Vis}">
  59. <ComboBoxItem Content="EN" Background="Black" FontSize="16"/>
  60. <ComboBoxItem Content="CH" Background="Black" FontSize="16"/>
  61. <i:Interaction.Triggers>
  62. <i:EventTrigger EventName="SelectionChanged">
  63. <i:InvokeCommandAction Command="{Binding change_selected_language }" CommandParameter="{Binding SelectedValue, ElementName=LanguageSelector}"/>
  64. </i:EventTrigger>
  65. </i:Interaction.Triggers>
  66. </ComboBox>
  67. <Grid Grid.Row="3" Margin="32,0,0,20">
  68. <Grid.RowDefinitions>
  69. <RowDefinition/>
  70. <RowDefinition/>
  71. <RowDefinition/>
  72. </Grid.RowDefinitions>
  73. <Button Grid.Row="0" x:Name="full_screen" HorizontalAlignment="Left" Width="32" Height="32" VerticalAlignment="Bottom" Background="Black" BorderBrush="{x:Null}" Command="{Binding full_screen}" Visibility="{Binding Full_Screen_Vis}">
  74. <Image Margin="0" Source="image/btn/outline_fullscreen_white_24dp.png" Width="24" Height="24" HorizontalAlignment="Center" VerticalAlignment="Center" />
  75. </Button>
  76. <Button Grid.Row="1" x:Name="zoom_in" Content="+" HorizontalAlignment="Left" Width="32" Height="32" VerticalAlignment="Bottom" Background="Black" BorderBrush="{x:Null}" Command="{Binding zoom_in}" Visibility="{Binding Config_Vis}"/>
  77. <Button Grid.Row="2" x:Name="zoom_out" Content="-" HorizontalAlignment="Left" Width="32" Height="32" VerticalAlignment="Bottom" Background="Black" BorderBrush="{x:Null}" Command="{Binding zoom_out}" Visibility="{Binding Config_Vis}"/>
  78. </Grid>
  79. </Grid>
  80. </Viewbox>
  81. <Viewbox Grid.Column="2" Grid.Row="0" HorizontalAlignment="Right">
  82. <Grid x:Name="Login" VerticalAlignment="Top" Background="Black" Panel.ZIndex="99" Visibility="{Binding Login_Vis}" Height="845" Width="455" RenderTransformOrigin="0.5,0.25" Margin="0" >
  83. <Grid.RowDefinitions>
  84. <RowDefinition Height="256"/>
  85. <RowDefinition Height="40"/>
  86. <RowDefinition Height="56"/>
  87. <RowDefinition Height="56"/>
  88. <RowDefinition Height="56"/>
  89. <RowDefinition Height="56"/>
  90. <RowDefinition/>
  91. </Grid.RowDefinitions>
  92. <Grid Grid.Row="0" VerticalAlignment="Top">
  93. <Image x:Name="image" Margin="0" Source="image/logo.png" Height="256" Width="256"/>
  94. </Grid>
  95. <Grid Grid.Row="1" VerticalAlignment="Center">
  96. <Label Content="The username or password is incorrect." HorizontalAlignment="Center" Foreground="#FFFF5C5C" FontSize="10" Visibility="{Binding CanNotLogInMsg}"/>
  97. </Grid>
  98. <Grid Grid.Row="2" Width="300">
  99. <ComboBox x:Name="login_server" SelectedValuePath="Content" Background="Red" BorderBrush="{x:Null}" SelectedValue="{Binding Login_Server}" FontSize="18" >
  100. <ComboBoxItem Content="Cibes China" Background="Red"/>
  101. <ComboBoxItem Content="Cibes Asia" Background="Red"/>
  102. </ComboBox>
  103. </Grid>
  104. <Grid Grid.Row="3" VerticalAlignment="Top" Width="300">
  105. <TextBox x:Name="Username" Text="{Binding Username}" VerticalAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" FontSize="16" >
  106. <i:Interaction.Triggers>
  107. <i:EventTrigger EventName="GotKeyboardFocus">
  108. <noesis:SelectAllAction/>
  109. </i:EventTrigger>
  110. </i:Interaction.Triggers>
  111. </TextBox>
  112. <TextBlock x:Name="Placeholder" IsHitTestVisible="False" TextWrapping="Wrap" Text="Username" VerticalAlignment="Center" Foreground="DarkGray" FontSize="16" Margin="4,0,0,0" >
  113. <TextBlock.Style>
  114. <Style TargetType="{x:Type TextBlock}">
  115. <Setter Property="Visibility" Value="Collapsed"/>
  116. <Style.Triggers>
  117. <DataTrigger Binding="{Binding Text, ElementName=Username}" Value="">
  118. <Setter Property="Visibility" Value="Visible"/>
  119. </DataTrigger>
  120. </Style.Triggers>
  121. </Style>
  122. </TextBlock.Style>
  123. </TextBlock>
  124. <Rectangle Fill="#FF363636" Margin="0,38,0,0" Height="1"/>
  125. </Grid>
  126. <Grid Grid.Row="4">
  127. <Grid.ColumnDefinitions>
  128. <ColumnDefinition/>
  129. <ColumnDefinition Width="260"/>
  130. <ColumnDefinition Width="40"/>
  131. <ColumnDefinition/>
  132. </Grid.ColumnDefinitions>
  133. <Grid Grid.Column="1" Height="40" VerticalAlignment="Top">
  134. <TextBox x:Name="PassBox" Background="{x:Null}" VerticalAlignment="Center" FontFamily="./font/#Password" Text="{Binding PassWord}" Visibility="{Binding PasswordVis}">
  135. <i:Interaction.Triggers>
  136. <i:EventTrigger EventName="GotKeyboardFocus">
  137. <noesis:SelectAllAction/>
  138. </i:EventTrigger>
  139. </i:Interaction.Triggers>
  140. </TextBox>
  141. <TextBlock x:Name="PassWoedPlaceHolder" IsHitTestVisible="False" TextWrapping="Wrap" Text="Password" VerticalAlignment="Center" Foreground="DarkGray" FontSize="16" Margin="4,0,0,0" >
  142. <TextBlock.Style>
  143. <Style TargetType="{x:Type TextBlock}">
  144. <Setter Property="Visibility" Value="Collapsed"/>
  145. <Style.Triggers>
  146. <DataTrigger Binding="{Binding Text, ElementName=PassBox}" Value="">
  147. <Setter Property="Visibility" Value="Visible"/>
  148. </DataTrigger>
  149. </Style.Triggers>
  150. </Style>
  151. </TextBlock.Style>
  152. </TextBlock>
  153. <TextBox x:Name="PassBox_Vis" Background="{x:Null}" VerticalAlignment="Center" Text="{Binding PassWord}" Visibility="{Binding PasswordVis_Off}" >
  154. <i:Interaction.Triggers>
  155. <i:EventTrigger EventName="GotKeyboardFocus">
  156. <noesis:SelectAllAction/>
  157. </i:EventTrigger>
  158. </i:Interaction.Triggers>
  159. </TextBox>
  160. <!--<PasswordBox noesis:Text.Placeholder="Password" Background="{x:Null}" VerticalAlignment="Center"/>-->
  161. </Grid>
  162. <Grid Grid.Column="2" Height="40" Width="40" VerticalAlignment="Top" Visibility="{Binding PasswordVis}">
  163. <Button Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding show_password}">
  164. <Image Source="image/btn/outline_visibility_black_24dp.png"/>
  165. </Button>
  166. </Grid>
  167. <Grid Grid.Column="2" Height="40" Width="40" VerticalAlignment="Top" Visibility="{Binding PasswordVis_Off}" >
  168. <Button Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding show_password}" >
  169. <Image Source="image/btn/outline_visibility_off_black_24dp.png"/>
  170. </Button>
  171. </Grid>
  172. <Rectangle Grid.Column="1" Grid.ColumnSpan="2" Fill="#FF363636" Width="360" Height="1" Margin="0,38,0,0"/>
  173. </Grid>
  174. <Grid Grid.Row="5">
  175. <Grid.ColumnDefinitions>
  176. <ColumnDefinition/>
  177. <ColumnDefinition Width="260"/>
  178. <ColumnDefinition Width="40"/>
  179. <ColumnDefinition/>
  180. </Grid.ColumnDefinitions>
  181. <Grid Grid.Column="1">
  182. <Grid.ColumnDefinitions>
  183. <ColumnDefinition Width="28"/>
  184. <ColumnDefinition/>
  185. </Grid.ColumnDefinitions>
  186. <CheckBox x:Name="SaveLogin" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding Save_Login}" >
  187. <CheckBox.LayoutTransform>
  188. <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
  189. </CheckBox.LayoutTransform>
  190. </CheckBox>
  191. <TextBlock Grid.Column="1" Text="Remember me" FontSize="16" VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
  192. </Grid>
  193. </Grid>
  194. <Grid Grid.Row="6" Height="42" VerticalAlignment="Top" Margin="56,100" >
  195. <Button x:Name="btn_login" Content="LOGIN" Margin="0" FontSize="16" Background="#5B85BB" BorderBrush="{x:Null}" Foreground="White" Command="{Binding click_login}"/>
  196. </Grid>
  197. </Grid>
  198. </Viewbox>
  199. <Viewbox Grid.Column="2" Grid.Row="0" HorizontalAlignment="Right" >
  200. <Grid Height="945" Width="455" RenderTransformOrigin="0.5,0.25" Margin="0" Background="Black" Visibility="{Binding Config_Vis}" >
  201. <Grid.RowDefinitions>
  202. <RowDefinition/>
  203. <RowDefinition Height="62"/>
  204. </Grid.RowDefinitions>
  205. <Rectangle Grid.Row="0" Height="1" VerticalAlignment="Top" Margin="0,42,0,0" Fill="#FF707070" Panel.ZIndex="1"/>
  206. <TabControl x:Name="main_tab" SelectedValuePath="Name" Grid.Row="0" Background="Black" BorderBrush="{x:Null}">
  207. <TabControl.Resources>
  208. <Style TargetType="{x:Type TabPanel}">
  209. <Setter Property="HorizontalAlignment" Value="Center"/>
  210. </Style>
  211. </TabControl.Resources>
  212. <TabItem x:Name="settings_tab" Header="{Binding SelectedLanguage.Resources[SettingsLabel]}" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" >
  213. <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
  214. <Grid Margin="12,0,12,20">
  215. <Grid.RowDefinitions>
  216. <RowDefinition Height="220"/>
  217. <RowDefinition Height="125"/>
  218. <RowDefinition/>
  219. <RowDefinition Height="56"/>
  220. <RowDefinition Height="300*"/>
  221. <RowDefinition Height="200*"/>
  222. <RowDefinition Height="200*"/>
  223. </Grid.RowDefinitions>
  224. <Grid x:Name="serie" Grid.Column="0" Grid.Row="0">
  225. <Grid.RowDefinitions>
  226. <RowDefinition Height="4*"/>
  227. <RowDefinition Height="16*"/>
  228. <RowDefinition Height="1*"/>
  229. </Grid.RowDefinitions>
  230. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[SerieLabel]}" FontSize="18" Margin="0,5"/>
  231. <Grid Grid.Row="1">
  232. <Grid.ColumnDefinitions>
  233. <ColumnDefinition Width="28*"/>
  234. <ColumnDefinition Width="393*"/>
  235. </Grid.ColumnDefinitions>
  236. <Grid.RowDefinitions>
  237. <RowDefinition/>
  238. <RowDefinition/>
  239. <RowDefinition/>
  240. </Grid.RowDefinitions>
  241. <Grid Grid.Row="0" Margin="0,5" Grid.ColumnSpan="2">
  242. <Grid.ColumnDefinitions>
  243. <ColumnDefinition Width="1*"/>
  244. <ColumnDefinition Width="2*"/>
  245. <ColumnDefinition Width="2*"/>
  246. <ColumnDefinition Width="2*"/>
  247. </Grid.ColumnDefinitions>
  248. <Label Grid.Column="0" Content="X30" VerticalAlignment="Center" FontSize="24"/>
  249. <Button Grid.Column="1" Content="{Binding SelectedLanguage.Resources[StandardLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[9]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X30_Standard" Foreground="White"/>
  250. <Button Grid.Column="2" Content="{Binding SelectedLanguage.Resources[PremiumLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[10]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X30_Premium"/>
  251. <Button Grid.Column="3" Content="{Binding SelectedLanguage.Resources[LimitedLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[11]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X30_Limited"/>
  252. </Grid>
  253. <Grid Grid.Row="1" Margin="0,5" Grid.ColumnSpan="2">
  254. <Grid.ColumnDefinitions>
  255. <ColumnDefinition Width="1*"/>
  256. <ColumnDefinition Width="2*"/>
  257. <ColumnDefinition Width="2*"/>
  258. <ColumnDefinition Width="2*"/>
  259. </Grid.ColumnDefinitions>
  260. <!--Disable the V80, client will release it in Nov.-->
  261. <Label Grid.Column="0" Content="X50" VerticalAlignment="Center" FontSize="24"/>
  262. <Button Grid.Column="1" Content="{Binding SelectedLanguage.Resources[StandardLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[12]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X50_Standard" IsEnabled="True"/>
  263. <Button Grid.Column="2" Content="{Binding SelectedLanguage.Resources[PremiumLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[13]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X50_Premium" IsEnabled="True"/>
  264. <Button Grid.Column="3" Content="{Binding SelectedLanguage.Resources[LimitedLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[14]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X50_Limited" IsEnabled="True"/>
  265. </Grid>
  266. <Grid Grid.Row="2" Margin="0,5" Grid.ColumnSpan="2">
  267. <Grid.ColumnDefinitions>
  268. <ColumnDefinition Width="1*"/>
  269. <ColumnDefinition Width="2*"/>
  270. <ColumnDefinition Width="2*"/>
  271. <ColumnDefinition Width="2*"/>
  272. </Grid.ColumnDefinitions>
  273. <Label Grid.Column="0" Content="X80" VerticalAlignment="Center" FontSize="24"/>
  274. <Button Grid.Column="1" Content="{Binding SelectedLanguage.Resources[StandardLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[15]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X80_Standard"/>
  275. <Button Grid.Column="2" Content="{Binding SelectedLanguage.Resources[PremiumLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[16]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X80_Premium"/>
  276. <Button Grid.Column="3" Content="{Binding SelectedLanguage.Resources[LimitedLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[17]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X80_Limited"/>
  277. </Grid>
  278. </Grid>
  279. <Rectangle Grid.Row="2" Height="1" Fill="#FF272727"/>
  280. </Grid>
  281. <Grid x:Name="stop_count" Grid.Row="1" Margin="0,10">
  282. <Grid Grid.Row="1" >
  283. <Grid.RowDefinitions>
  284. <RowDefinition Height="1*"/>
  285. <RowDefinition Height="2*"/>
  286. <RowDefinition Height="3"/>
  287. </Grid.RowDefinitions>
  288. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StopCountLabel]}" Margin="0,5" Height="32"/>
  289. <Grid Grid.Row="1" >
  290. <Grid.ColumnDefinitions>
  291. <ColumnDefinition/>
  292. <ColumnDefinition/>
  293. <ColumnDefinition/>
  294. <ColumnDefinition/>
  295. <ColumnDefinition/>
  296. <ColumnDefinition/>
  297. <ColumnDefinition/>
  298. <ColumnDefinition/>
  299. </Grid.ColumnDefinitions>
  300. <Button Style="{StaticResource lift_stop_btn}" Grid.Column="0" Height="46" Width="32" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[0]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="2" >
  301. <Label Content="2" FontSize="20" Foreground="White"/>
  302. </Button>
  303. <Button Style="{StaticResource lift_stop_btn}" Grid.Column="1" Height="46" Width="32" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[1]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="3">
  304. <Label Content="3" FontSize="20" Foreground="White"/>
  305. </Button>
  306. <Button Style="{StaticResource lift_stop_btn}" Grid.Column="2" Height="46" Width="32" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[2]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="4">
  307. <Label Content="4" FontSize="20" Foreground="White"/>
  308. </Button>
  309. <Button Style="{StaticResource lift_stop_btn}" Grid.Column="3" Height="46" Width="32" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[3]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="5">
  310. <Label Content="5" FontSize="20" Foreground="White"/>
  311. </Button>
  312. <Button Style="{StaticResource lift_stop_btn}" Grid.Column="4" Height="46" Width="32" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[4]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="6">
  313. <Label Content="6" FontSize="20" Foreground="White"/>
  314. </Button>
  315. </Grid>
  316. <Rectangle Grid.Row="2" Height="1" Fill="#FF272727"/>
  317. </Grid>
  318. </Grid>
  319. <Grid x:Name="travel_height" Grid.Row="2" Height="{Binding StateModel.Travel_Height_H}" >
  320. <!--<Grid x:Name="travel_height" Grid.Row="2" Height="1" >-->
  321. <Grid.RowDefinitions>
  322. <RowDefinition Height="32"/>
  323. <RowDefinition Height="42"/>
  324. <RowDefinition Height="42"/>
  325. <RowDefinition Height="42"/>
  326. <RowDefinition Height="42"/>
  327. <RowDefinition Height="42"/>
  328. <RowDefinition Height="42"/>
  329. </Grid.RowDefinitions>
  330. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[TravelHeightLabel]}" Margin="0,5" Height="32"/>
  331. <Grid Grid.Row="1" >
  332. <Grid.ColumnDefinitions>
  333. <ColumnDefinition Width="5*"/>
  334. <ColumnDefinition Width="25*"/>
  335. <ColumnDefinition Width="5*"/>
  336. <ColumnDefinition Width="3*"/>
  337. </Grid.ColumnDefinitions>
  338. <Label Content="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  339. <Slider Height="28" Grid.Column="1" x:Name="slider1" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[0]}" Maximum="5000" Value="{Binding TravelHeight_0 ,Mode=TwoWay}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1" >
  340. <i:Interaction.Triggers>
  341. <i:EventTrigger EventName="ValueChanged">
  342. <i:InvokeCommandAction Command="{Binding travel_height_slider_1}"/>
  343. </i:EventTrigger>
  344. </i:Interaction.Triggers>
  345. </Slider>
  346. <TextBox Grid.Column="2" Width="46" InputScope="TelephoneLocalNumber" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center" Text="{Binding TravelHeight_0, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2">
  347. <i:Interaction.Triggers>
  348. <i:EventTrigger EventName="GotKeyboardFocus">
  349. <noesis:SelectAllAction/>
  350. </i:EventTrigger>
  351. </i:Interaction.Triggers>
  352. </TextBox>
  353. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  354. </Grid>
  355. <Grid Grid.Row="2">
  356. <Grid.ColumnDefinitions>
  357. <ColumnDefinition Width="5*"/>
  358. <ColumnDefinition Width="25*"/>
  359. <ColumnDefinition Width="5*"/>
  360. <ColumnDefinition Width="3*"/>
  361. </Grid.ColumnDefinitions>
  362. <Label Content="2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  363. <Slider Height="28" Grid.Column="1" x:Name="slider2" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[1]}" Maximum="5000" Value="{Binding TravelHeight_1}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
  364. <i:Interaction.Triggers>
  365. <i:EventTrigger EventName="ValueChanged">
  366. <i:InvokeCommandAction Command="{Binding travel_height_slider_2}"/>
  367. </i:EventTrigger>
  368. </i:Interaction.Triggers>
  369. </Slider>
  370. <TextBox Grid.Column="2" Width="46" InputScope="TelephoneLocalNumber" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_1, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2">
  371. <i:Interaction.Triggers>
  372. <i:EventTrigger EventName="GotKeyboardFocus">
  373. <noesis:SelectAllAction/>
  374. </i:EventTrigger>
  375. </i:Interaction.Triggers>
  376. </TextBox>
  377. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  378. </Grid>
  379. <Grid Grid.Row="3" Height="{Binding Travel_Height_Vis_H[2]}" Visibility="{Binding StateModel.Travel_Height_Vis[2]}">
  380. <Grid.ColumnDefinitions>
  381. <ColumnDefinition Width="5*"/>
  382. <ColumnDefinition Width="25*"/>
  383. <ColumnDefinition Width="5*"/>
  384. <ColumnDefinition Width="3*"/>
  385. </Grid.ColumnDefinitions>
  386. <Label Content="3" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  387. <Slider Height="28" Grid.Column="1" x:Name="slider3" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[2]}" Maximum="5000" Value="{Binding TravelHeight_2}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
  388. <i:Interaction.Triggers>
  389. <i:EventTrigger EventName="ValueChanged">
  390. <i:InvokeCommandAction Command="{Binding travel_height_slider_3}"/>
  391. </i:EventTrigger>
  392. </i:Interaction.Triggers>
  393. </Slider>
  394. <TextBox Grid.Column="2" Width="46" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_2, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
  395. <i:Interaction.Triggers>
  396. <i:EventTrigger EventName="GotKeyboardFocus">
  397. <noesis:SelectAllAction/>
  398. </i:EventTrigger>
  399. </i:Interaction.Triggers>
  400. </TextBox>
  401. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  402. </Grid>
  403. <Grid Grid.Row="4" Height="{Binding Travel_Height_Vis_H[3]}" Visibility="{Binding StateModel.Travel_Height_Vis[3]}">
  404. <Grid.ColumnDefinitions>
  405. <ColumnDefinition Width="5*"/>
  406. <ColumnDefinition Width="25*"/>
  407. <ColumnDefinition Width="5*"/>
  408. <ColumnDefinition Width="3*"/>
  409. </Grid.ColumnDefinitions>
  410. <Label Content="4" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  411. <Slider Height="28" Grid.Column="1" x:Name="slider4" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[3]}" Maximum="5000" Value="{Binding TravelHeight_3}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
  412. <i:Interaction.Triggers>
  413. <i:EventTrigger EventName="ValueChanged">
  414. <i:InvokeCommandAction Command="{Binding travel_height_slider_4}"/>
  415. </i:EventTrigger>
  416. </i:Interaction.Triggers>
  417. </Slider>
  418. <TextBox Grid.Column="2" Width="46" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_3, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
  419. <i:Interaction.Triggers>
  420. <i:EventTrigger EventName="GotKeyboardFocus">
  421. <noesis:SelectAllAction/>
  422. </i:EventTrigger>
  423. </i:Interaction.Triggers>
  424. </TextBox>
  425. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  426. </Grid>
  427. <Grid Grid.Row="5" Height="{Binding Travel_Height_Vis_H[4]}" Visibility="{Binding StateModel.Travel_Height_Vis[4]}">
  428. <Grid.ColumnDefinitions>
  429. <ColumnDefinition Width="5*"/>
  430. <ColumnDefinition Width="25*"/>
  431. <ColumnDefinition Width="5*"/>
  432. <ColumnDefinition Width="3*"/>
  433. </Grid.ColumnDefinitions>
  434. <Label Content="5" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  435. <Slider Height="28" Grid.Column="1" x:Name="slider5" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[4]}" Maximum="5000" Value="{Binding TravelHeight_4,Mode=TwoWay}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
  436. <i:Interaction.Triggers>
  437. <i:EventTrigger EventName="ValueChanged">
  438. <i:InvokeCommandAction Command="{Binding travel_height_slider_5}"/>
  439. </i:EventTrigger>
  440. </i:Interaction.Triggers>
  441. </Slider>
  442. <TextBox Grid.Column="2" Width="46" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_4,StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
  443. <i:Interaction.Triggers>
  444. <i:EventTrigger EventName="GotKeyboardFocus">
  445. <noesis:SelectAllAction/>
  446. </i:EventTrigger>
  447. </i:Interaction.Triggers>
  448. </TextBox>
  449. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  450. </Grid>
  451. <Grid Grid.Row="6" Height="{Binding Travel_Height_Vis_H[5]}" Visibility="{Binding StateModel.Travel_Height_Vis[5]}">
  452. <Grid.ColumnDefinitions>
  453. <ColumnDefinition Width="5*"/>
  454. <ColumnDefinition Width="25*"/>
  455. <ColumnDefinition Width="5*"/>
  456. <ColumnDefinition Width="3*"/>
  457. </Grid.ColumnDefinitions>
  458. <Label Content="6" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  459. <Slider Height="28" Grid.Column="1" x:Name="slider6" VerticalAlignment="Center" Minimum="2500" Maximum="5000" Value="{Binding TravelHeight_5}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
  460. <i:Interaction.Triggers>
  461. <i:EventTrigger EventName="ValueChanged">
  462. <i:InvokeCommandAction Command="{Binding travel_height_slider_6}"/>
  463. </i:EventTrigger>
  464. </i:Interaction.Triggers>
  465. </Slider>
  466. <TextBox Grid.Column="2" Width="46" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_5, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
  467. <i:Interaction.Triggers>
  468. <i:EventTrigger EventName="GotKeyboardFocus">
  469. <noesis:SelectAllAction/>
  470. </i:EventTrigger>
  471. </i:Interaction.Triggers>
  472. </TextBox>
  473. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  474. </Grid>
  475. </Grid>
  476. <Grid x:Name="lift_height" Grid.Row="3">
  477. <Grid.RowDefinitions>
  478. <RowDefinition Height="3"/>
  479. <RowDefinition/>
  480. <RowDefinition Height="3"/>
  481. </Grid.RowDefinitions>
  482. <Grid.ColumnDefinitions>
  483. <ColumnDefinition Width="4*"/>
  484. <ColumnDefinition Width="1*"/>
  485. </Grid.ColumnDefinitions>
  486. <Rectangle Grid.Row="0" Height="1" Fill="#FF272727" Grid.ColumnSpan="2"/>
  487. <Label Grid.Column="0" Grid.Row="1" Height="32" FontSize="18" Content="{Binding SelectedLanguage.Resources[LiftHeightLabel]}" VerticalAlignment="Center" Margin="0,8,0,0"/>
  488. <Label Grid.Column="1" Grid.Row="1" Content="{Binding Lift_Height}" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#FF7A7A7A"/>
  489. <Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727"/>
  490. </Grid>
  491. <Grid x:Name="platform_size" Grid.Row="4" >
  492. <Grid.RowDefinitions>
  493. <RowDefinition Height="42"/>
  494. <RowDefinition Height="8*"/>
  495. <RowDefinition Height="2"/>
  496. </Grid.RowDefinitions>
  497. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[ShaftSizeLabel]}" Margin="0,5" VerticalAlignment="Center"/>
  498. <Grid Grid.Row="1">
  499. <Grid.ColumnDefinitions>
  500. <ColumnDefinition/>
  501. <ColumnDefinition/>
  502. </Grid.ColumnDefinitions>
  503. <Grid Grid.Column="1" Margin="0,0,5,0" >
  504. <Grid>
  505. <Grid.RowDefinitions>
  506. <RowDefinition Height="68"/>
  507. <RowDefinition Height="52"/>
  508. <RowDefinition Height="52"/>
  509. </Grid.RowDefinitions>
  510. <Grid Grid.Row="0">
  511. <Grid>
  512. <Grid.RowDefinitions>
  513. <RowDefinition Height="16"/>
  514. <RowDefinition Height="32"/>
  515. <RowDefinition Height="2"/>
  516. </Grid.RowDefinitions>
  517. <Label Grid.Row="0" Content="B/D" FontSize="12" Foreground="#7A7A7A"/>
  518. <ComboBox Grid.Row="1" x:Name="platform_bd_1500" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeBD}" FontSize="18" Visibility="{Binding shaft_bd_1500_vis}">
  519. <ComboBoxItem Content="900mm" Background="Black"/>
  520. <ComboBoxItem Content="1000mm" Background="Black"/>
  521. <ComboBoxItem Content="1100mm" Background="Black"/>
  522. <ComboBoxItem Content="1200mm" Background="Black"/>
  523. <ComboBoxItem Content="1300mm" Background="Black"/>
  524. <ComboBoxItem Content="1400mm" Background="Black"/>
  525. <ComboBoxItem Content="1500mm" Background="Black"/>
  526. <i:Interaction.Triggers>
  527. <i:EventTrigger EventName="SelectionChanged">
  528. <i:InvokeCommandAction Command="{Binding set_platformSizeBD }"/>
  529. </i:EventTrigger>
  530. </i:Interaction.Triggers>
  531. </ComboBox>
  532. <ComboBox Grid.Row="1" x:Name="platform_bd_1400" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeBD}" FontSize="18" Visibility="{Binding shaft_bd_1400_vis}">
  533. <ComboBoxItem Content="900mm" Background="Black"/>
  534. <ComboBoxItem Content="1000mm" Background="Black"/>
  535. <ComboBoxItem Content="1100mm" Background="Black"/>
  536. <ComboBoxItem Content="1200mm" Background="Black"/>
  537. <ComboBoxItem Content="1300mm" Background="Black"/>
  538. <ComboBoxItem Content="1400mm" Background="Black"/>
  539. <i:Interaction.Triggers>
  540. <i:EventTrigger EventName="SelectionChanged">
  541. <i:InvokeCommandAction Command="{Binding set_platformSizeBD }"/>
  542. </i:EventTrigger>
  543. </i:Interaction.Triggers>
  544. </ComboBox>
  545. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  546. </Grid>
  547. </Grid>
  548. <Grid Grid.Row="1">
  549. <Grid.RowDefinitions>
  550. <RowDefinition Height="16"/>
  551. <RowDefinition/>
  552. </Grid.RowDefinitions>
  553. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CutOutBDLabel]}" FontSize="12" Foreground="#7A7A7A"/>
  554. <Label Grid.Row="1" Content="{Binding Cut_Out_Size_BD}"/>
  555. </Grid>
  556. <Grid Grid.Row="2">
  557. <Grid.RowDefinitions>
  558. <RowDefinition Height="16"/>
  559. <RowDefinition/>
  560. </Grid.RowDefinitions>
  561. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarSizeBDLabel]}" FontSize="12" Foreground="#7A7A7A"/>
  562. <Label Grid.Row="1" Content="{Binding Car_Size_BD}"/>
  563. </Grid>
  564. </Grid>
  565. </Grid>
  566. <Grid Grid.Column="0">
  567. <Grid>
  568. <Grid.RowDefinitions>
  569. <RowDefinition Height="68"/>
  570. <RowDefinition Height="52"/>
  571. <RowDefinition Height="52"/>
  572. </Grid.RowDefinitions>
  573. <Grid Grid.Row="0">
  574. <Grid>
  575. <Grid.RowDefinitions>
  576. <RowDefinition Height="16"/>
  577. <RowDefinition Height="32"/>
  578. <RowDefinition Height="2"/>
  579. </Grid.RowDefinitions>
  580. <Label Grid.Row="0" Content="A/C" FontSize="12" Foreground="#7A7A7A"/>
  581. <ComboBox Grid.Row="1" x:Name="platform_ac_1500" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeAC}" FontSize="18" Visibility="{Binding shaft__ac_1500_vis}">
  582. <ComboBoxItem Content="1000mm" Background="Black"/>
  583. <ComboBoxItem Content="1100mm" Background="Black"/>
  584. <ComboBoxItem Content="1200mm" Background="Black"/>
  585. <ComboBoxItem Content="1300mm" Background="Black"/>
  586. <ComboBoxItem Content="1400mm" Background="Black"/>
  587. <ComboBoxItem Content="1500mm" Background="Black"/>
  588. <i:Interaction.Triggers>
  589. <i:EventTrigger EventName="SelectionChanged">
  590. <i:InvokeCommandAction Command="{Binding set_platformSizeAC }"/>
  591. </i:EventTrigger>
  592. </i:Interaction.Triggers>
  593. </ComboBox>
  594. <ComboBox Grid.Row="1" x:Name="platform_ac_1400" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeAC}" FontSize="18" Visibility="{Binding shaft_ac_1400_vis}">
  595. <ComboBoxItem Content="1000mm" Background="Black"/>
  596. <ComboBoxItem Content="1100mm" Background="Black"/>
  597. <ComboBoxItem Content="1200mm" Background="Black"/>
  598. <ComboBoxItem Content="1300mm" Background="Black"/>
  599. <ComboBoxItem Content="1400mm" Background="Black"/>
  600. <i:Interaction.Triggers>
  601. <i:EventTrigger EventName="SelectionChanged">
  602. <i:InvokeCommandAction Command="{Binding set_platformSizeAC }"/>
  603. </i:EventTrigger>
  604. </i:Interaction.Triggers>
  605. </ComboBox>
  606. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  607. </Grid>
  608. </Grid>
  609. <Grid Grid.Row="1">
  610. <Grid.RowDefinitions>
  611. <RowDefinition Height="16"/>
  612. <RowDefinition/>
  613. </Grid.RowDefinitions>
  614. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CutOutACLabel]}" FontSize="12" Foreground="#7A7A7A"/>
  615. <Label Grid.Row="1" Content="{Binding Cut_Out_Size_AC}"/>
  616. </Grid>
  617. <Grid Grid.Row="2">
  618. <Grid.RowDefinitions>
  619. <RowDefinition Height="16"/>
  620. <RowDefinition/>
  621. </Grid.RowDefinitions>
  622. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarSizeACLabel]}" FontSize="12" Foreground="#7A7A7A"/>
  623. <Label Grid.Row="1" Content="{Binding Car_Size_AC}"/>
  624. </Grid>
  625. </Grid>
  626. </Grid>
  627. </Grid>
  628. <Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727"/>
  629. </Grid>
  630. <Grid x:Name="starting_floor" Grid.Row="5" Margin="0,5" Height="0">
  631. <Grid.RowDefinitions>
  632. <RowDefinition Height="2*"/>
  633. <RowDefinition Height="5*"/>
  634. <RowDefinition Height="4"/>
  635. </Grid.RowDefinitions>
  636. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StaringFloorLabel]}" VerticalAlignment="Bottom"/>
  637. <Grid Grid.Row="1">
  638. <Grid.ColumnDefinitions>
  639. <ColumnDefinition/>
  640. <ColumnDefinition/>
  641. </Grid.ColumnDefinitions>
  642. <Grid Grid.Column="0" Margin="0,0,5,0" >
  643. <Grid.RowDefinitions>
  644. <RowDefinition Height="16"/>
  645. <RowDefinition Height="32"/>
  646. <RowDefinition Height="2"/>
  647. </Grid.RowDefinitions>
  648. <ComboBox Grid.Row="1" x:Name="start_floor" SelectedValuePath="Content" Background="Black" SelectedValue="{Binding StartingDoor}" FontSize="18">
  649. <ComboBoxItem Content="6" Background="Black"/>
  650. <ComboBoxItem Content="5" Background="Black"/>
  651. <ComboBoxItem Content="4" Background="Black"/>
  652. <ComboBoxItem Content="3" Background="Black"/>
  653. <ComboBoxItem Content="2" Background="Black"/>
  654. <ComboBoxItem Content="1" Background="Black"/>
  655. <ComboBoxItem Content="0" Background="Black"/>
  656. <ComboBoxItem Content="-1" Background="Black"/>
  657. <ComboBoxItem Content="{Binding SelectedLanguage.Resources[BasementLabel]}" Background="Black"/>
  658. </ComboBox>
  659. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  660. </Grid>
  661. <!--<Grid Grid.Column="1">
  662. <Grid.RowDefinitions>
  663. <RowDefinition Height="16"/>
  664. <RowDefinition Height="32"/>
  665. <RowDefinition Height="2"/>
  666. </Grid.RowDefinitions>
  667. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CustomizeLabel]}" FontSize="12" Foreground="#7A7A7A"/>
  668. <ComboBox Grid.Row="1" x:Name="start_floor_name" SelectedValuePath="Content" Background="Black" SelectedValue="{Binding StartingDoorName}" FontSize="18">
  669. <ComboBoxItem Content="6" Background="Black"/>
  670. <ComboBoxItem Content="5" Background="Black"/>
  671. <ComboBoxItem Content="4" Background="Black"/>
  672. <ComboBoxItem Content="3" Background="Black"/>
  673. <ComboBoxItem Content="2" Background="Black"/>
  674. <ComboBoxItem Content="1" Background="Black"/>
  675. <ComboBoxItem Content="0" Background="Black"/>
  676. <ComboBoxItem Content="-1" Background="Black"/>
  677. <ComboBoxItem Content="-2" Background="Black"/>
  678. </ComboBox>
  679. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  680. </Grid>-->
  681. </Grid>
  682. <!--<Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727" Margin="0,2,0,0" />-->
  683. </Grid>
  684. <Grid x:Name="floor_annotation" Grid.Row="6" Margin="0,5" >
  685. <Grid.RowDefinitions>
  686. <RowDefinition Height="2*"/>
  687. <RowDefinition Height="3*"/>
  688. <RowDefinition Height="5*"/>
  689. <RowDefinition Height="5*"/>
  690. <RowDefinition Height="5*"/>
  691. <RowDefinition Height="5*"/>
  692. <RowDefinition Height="5*"/>
  693. <RowDefinition Height="5*"/>
  694. </Grid.RowDefinitions>
  695. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[FloorAnnotationLabel]}" VerticalAlignment="Bottom" />
  696. <Grid Grid.Row="1" Margin="0,5">
  697. <Grid Grid.Column="1">
  698. <Grid.ColumnDefinitions>
  699. <ColumnDefinition Width="28"/>
  700. <ColumnDefinition/>
  701. </Grid.ColumnDefinitions>
  702. <CheckBox x:Name="CustomizeFloorName" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding IsCustomizeFloorName}" Command="{Binding trigger_custmozie_floor_name}" >
  703. <CheckBox.LayoutTransform>
  704. <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
  705. </CheckBox.LayoutTransform>
  706. </CheckBox>
  707. <TextBlock Grid.Column="1" Text="Custom Name" FontSize="16" VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
  708. </Grid>
  709. </Grid>
  710. <Grid Grid.Row="2" Visibility="{Binding CustomizFloorVis[0]}" Height="{Binding floor_annotation_height[0]}">
  711. <Grid.ColumnDefinitions>
  712. <ColumnDefinition/>
  713. <ColumnDefinition/>
  714. </Grid.ColumnDefinitions>
  715. <Grid Grid.Column="0" Margin="0,0,5,0" >
  716. <Grid.RowDefinitions>
  717. <RowDefinition Height="16"/>
  718. <RowDefinition Height="32"/>
  719. <RowDefinition Height="2"/>
  720. </Grid.RowDefinitions>
  721. <TextBlock Grid.Row="1" Text="1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  722. </Grid>
  723. <Grid Grid.Column="1" Margin="0,0,5,0">
  724. <Grid.RowDefinitions>
  725. <RowDefinition Height="16"/>
  726. <RowDefinition Height="32"/>
  727. <RowDefinition Height="2"/>
  728. </Grid.RowDefinitions>
  729. <TextBox Grid.Row="1" Text="{Binding CustomizFloorName[0]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
  730. <i:Interaction.Triggers>
  731. <i:EventTrigger EventName="LostKeyboardFocus">
  732. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  733. </i:EventTrigger>
  734. </i:Interaction.Triggers>
  735. </TextBox>
  736. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  737. </Grid>
  738. </Grid>
  739. <Grid Grid.Row="3" Visibility="{Binding CustomizFloorVis[1]}" Height="{Binding floor_annotation_height[1]}">
  740. <Grid.ColumnDefinitions>
  741. <ColumnDefinition/>
  742. <ColumnDefinition/>
  743. </Grid.ColumnDefinitions>
  744. <Grid Grid.Column="0" Margin="0,0,5,0" >
  745. <Grid.RowDefinitions>
  746. <RowDefinition Height="16"/>
  747. <RowDefinition Height="32"/>
  748. <RowDefinition Height="2"/>
  749. </Grid.RowDefinitions>
  750. <TextBlock Grid.Row="1" Text="2" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  751. </Grid>
  752. <Grid Grid.Column="1" Margin="0,0,5,0">
  753. <Grid.RowDefinitions>
  754. <RowDefinition Height="16"/>
  755. <RowDefinition Height="32"/>
  756. <RowDefinition Height="2"/>
  757. </Grid.RowDefinitions>
  758. <TextBox Grid.Row="1" Text="{Binding CustomizFloorName[1]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
  759. <i:Interaction.Triggers>
  760. <i:EventTrigger EventName="LostKeyboardFocus">
  761. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  762. </i:EventTrigger>
  763. </i:Interaction.Triggers>
  764. </TextBox>
  765. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  766. </Grid>
  767. </Grid>
  768. <Grid Grid.Row="4" Visibility="{Binding CustomizFloorVis[2]}" Height="{Binding floor_annotation_height[2]}">
  769. <Grid.ColumnDefinitions>
  770. <ColumnDefinition/>
  771. <ColumnDefinition/>
  772. </Grid.ColumnDefinitions>
  773. <Grid Grid.Column="0" Margin="0,0,5,0" >
  774. <Grid.RowDefinitions>
  775. <RowDefinition Height="16"/>
  776. <RowDefinition Height="32"/>
  777. <RowDefinition Height="2"/>
  778. </Grid.RowDefinitions>
  779. <TextBlock Grid.Row="1" Text="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  780. </Grid>
  781. <Grid Grid.Column="1" Margin="0,0,5,0">
  782. <Grid.RowDefinitions>
  783. <RowDefinition Height="16"/>
  784. <RowDefinition Height="32"/>
  785. <RowDefinition Height="2"/>
  786. </Grid.RowDefinitions>
  787. <TextBox Grid.Row="1" Text="{Binding CustomizFloorName[2]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
  788. <i:Interaction.Triggers>
  789. <i:EventTrigger EventName="LostKeyboardFocus">
  790. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  791. </i:EventTrigger>
  792. </i:Interaction.Triggers>
  793. </TextBox>
  794. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  795. </Grid>
  796. </Grid>
  797. <Grid Grid.Row="5" Visibility="{Binding CustomizFloorVis[3]}" Height="{Binding floor_annotation_height[3]}">
  798. <Grid.ColumnDefinitions>
  799. <ColumnDefinition/>
  800. <ColumnDefinition/>
  801. </Grid.ColumnDefinitions>
  802. <Grid Grid.Column="0" Margin="0,0,5,0" >
  803. <Grid.RowDefinitions>
  804. <RowDefinition Height="16"/>
  805. <RowDefinition Height="32"/>
  806. <RowDefinition Height="2"/>
  807. </Grid.RowDefinitions>
  808. <TextBlock Grid.Row="1" Text="4" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  809. </Grid>
  810. <Grid Grid.Column="1" Margin="0,0,5,0">
  811. <Grid.RowDefinitions>
  812. <RowDefinition Height="16"/>
  813. <RowDefinition Height="32"/>
  814. <RowDefinition Height="2"/>
  815. </Grid.RowDefinitions>
  816. <TextBox Grid.Row="1" Text="{Binding CustomizFloorName[3]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
  817. <i:Interaction.Triggers>
  818. <i:EventTrigger EventName="LostKeyboardFocus">
  819. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  820. </i:EventTrigger>
  821. </i:Interaction.Triggers>
  822. </TextBox>
  823. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  824. </Grid>
  825. </Grid>
  826. <Grid Grid.Row="6" Visibility="{Binding CustomizFloorVis[4]}" Height="{Binding floor_annotation_height[4]}">
  827. <Grid.ColumnDefinitions>
  828. <ColumnDefinition/>
  829. <ColumnDefinition/>
  830. </Grid.ColumnDefinitions>
  831. <Grid Grid.Column="0" Margin="0,0,5,0" >
  832. <Grid.RowDefinitions>
  833. <RowDefinition Height="16"/>
  834. <RowDefinition Height="32"/>
  835. <RowDefinition Height="2"/>
  836. </Grid.RowDefinitions>
  837. <TextBlock Grid.Row="1" Text="5" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  838. </Grid>
  839. <Grid Grid.Column="1" Margin="0,0,5,0">
  840. <Grid.RowDefinitions>
  841. <RowDefinition Height="16"/>
  842. <RowDefinition Height="32"/>
  843. <RowDefinition Height="2"/>
  844. </Grid.RowDefinitions>
  845. <TextBox Grid.Row="1" Text="{Binding CustomizFloorName[4]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
  846. <i:Interaction.Triggers>
  847. <i:EventTrigger EventName="LostKeyboardFocus">
  848. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  849. </i:EventTrigger>
  850. </i:Interaction.Triggers>
  851. </TextBox>
  852. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  853. </Grid>
  854. </Grid>
  855. <Grid Grid.Row="7" Visibility="{Binding CustomizFloorVis[5]}" Height="{Binding floor_annotation_height[5]}">
  856. <Grid.ColumnDefinitions>
  857. <ColumnDefinition/>
  858. <ColumnDefinition/>
  859. </Grid.ColumnDefinitions>
  860. <Grid Grid.Column="0" Margin="0,0,5,0" >
  861. <Grid.RowDefinitions>
  862. <RowDefinition Height="16"/>
  863. <RowDefinition Height="32"/>
  864. <RowDefinition Height="2"/>
  865. </Grid.RowDefinitions>
  866. <TextBlock Grid.Row="1" Text="6" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  867. </Grid>
  868. <Grid Grid.Column="1" Margin="0,0,5,0">
  869. <Grid.RowDefinitions>
  870. <RowDefinition Height="16"/>
  871. <RowDefinition Height="32"/>
  872. <RowDefinition Height="2"/>
  873. </Grid.RowDefinitions>
  874. <TextBox Grid.Row="1" Text="{Binding CustomizFloorName[5]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
  875. <i:Interaction.Triggers>
  876. <i:EventTrigger EventName="LostKeyboardFocus">
  877. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  878. </i:EventTrigger>
  879. </i:Interaction.Triggers>
  880. </TextBox>
  881. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  882. </Grid>
  883. </Grid>
  884. </Grid>
  885. </Grid>
  886. </ScrollViewer>
  887. </TabItem>
  888. <TabItem x:Name="shaft_tab" Header="{Binding SelectedLanguage.Resources[ShaftLabel]}" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" Padding="64,0">
  889. <Grid Margin="-50,0,0,0">
  890. <Grid.ColumnDefinitions>
  891. <ColumnDefinition Width="42"/>
  892. <ColumnDefinition/>
  893. </Grid.ColumnDefinitions>
  894. <Grid Grid.Column="0" x:Name="shaft_menu" Width="62" Margin="-16,0,0,0">
  895. <Grid Background="Black" VerticalAlignment="Top">
  896. <Grid.RowDefinitions>
  897. <RowDefinition/>
  898. <RowDefinition/>
  899. <RowDefinition/>
  900. </Grid.RowDefinitions>
  901. <Button Grid.Row="0" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_build}" IsEnabled="{Binding Build_Enable }">
  902. <Grid>
  903. <Image Source="image/btn/menu_build_on.png" Visibility="{Binding StateModel.Menu_On[0]}"/>
  904. <Image Source="image/btn/menu_build_off.png" Visibility="{Binding StateModel.Menu_Off[0]}"/>
  905. </Grid>
  906. </Button>
  907. <Button Grid.Row="1" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_shape}">
  908. <Grid>
  909. <Image Source="image/btn/menu_door_on.png" Visibility="{Binding StateModel.Menu_On[1]}"/>
  910. <Image Source="image/btn/menu_door_off.png" Visibility="{Binding StateModel.Menu_Off[1]}"/>
  911. </Grid>
  912. </Button>
  913. <Button Grid.Row="2" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_color}" >
  914. <Grid>
  915. <Image Source="image/btn/menu_color_on.png" Visibility="{Binding StateModel.Menu_On[2]}"/>
  916. <Image Source="image/btn/menu_color_off.png" Visibility="{Binding StateModel.Menu_Off[2]}"/>
  917. </Grid>
  918. </Button>
  919. </Grid>
  920. </Grid>
  921. <Grid x:Name="shaft_tab_content" Grid.Column="1" Margin="4,0,0,0">
  922. <Grid x:Name="build_page" Grid.Column="1" Visibility="{Binding Build_Vis}" Margin="16,0" d:IsHidden="True">
  923. <Grid.RowDefinitions>
  924. <RowDefinition Height="64"/>
  925. <RowDefinition Height="400*"/>
  926. <RowDefinition Height="32*"/>
  927. </Grid.RowDefinitions>
  928. <Grid Grid.Row="0" Grid.Column="0">
  929. <Label Content="{Binding SelectedLanguage.Resources[BuildLabel]}" FontSize="22" VerticalAlignment="Center"/>
  930. </Grid>
  931. <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="0,6"/>
  932. <Grid Grid.Row="1">
  933. <Grid.RowDefinitions>
  934. <RowDefinition/>
  935. <RowDefinition/>
  936. <RowDefinition/>
  937. </Grid.RowDefinitions>
  938. <Grid.ColumnDefinitions>
  939. <ColumnDefinition/>
  940. <ColumnDefinition/>
  941. <ColumnDefinition/>
  942. </Grid.ColumnDefinitions>
  943. <Border Grid.Row="0" Grid.Column="1" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" >
  944. <Grid >
  945. <Grid.RowDefinitions>
  946. <RowDefinition Height="1*"/>
  947. <RowDefinition Height="2*"/>
  948. </Grid.RowDefinitions>
  949. <Label Content="D" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  950. <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
  951. <ComboBox x:Name="set_shaft_mat_d" ItemsSource="{Binding Shaft_Mat_List_D}" SelectedItem="{Binding Selected_Shaft_Mat_D}" Width="122" >
  952. <ComboBox.ItemTemplate>
  953. <DataTemplate>
  954. <Grid Margin="2,0" Height="38">
  955. <Grid.ColumnDefinitions>
  956. <ColumnDefinition Width="24"/>
  957. <ColumnDefinition Width="70"/>
  958. </Grid.ColumnDefinitions>
  959. <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
  960. <TextBlock Grid.ColumnSpan="2" TextWrapping="Wrap" FontSize="12" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_d, Path=DataContext.isEN}"/>
  961. <TextBlock Grid.ColumnSpan="2" TextWrapping="Wrap" FontSize="12" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_d, Path=DataContext.isCH}"/>
  962. </Grid>
  963. </DataTemplate>
  964. </ComboBox.ItemTemplate>
  965. <i:Interaction.Triggers>
  966. <i:EventTrigger EventName="SelectionChanged">
  967. <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_d, Path=DataContext.set_shaft_mat_d }"/>
  968. </i:EventTrigger>
  969. </i:Interaction.Triggers>
  970. </ComboBox>
  971. </Border>
  972. </Grid>
  973. </Border>
  974. <Border Grid.Row="1" Grid.Column="0" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" Margin="0,0,12,0" >
  975. <Grid >
  976. <Grid.RowDefinitions>
  977. <RowDefinition Height="1*"/>
  978. <RowDefinition Height="2*"/>
  979. </Grid.RowDefinitions>
  980. <Label Content="C" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  981. <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
  982. <ComboBox x:Name="set_shaft_mat_c" ItemsSource="{Binding Shaft_Mat_List_C}" SelectedItem="{Binding Selected_Shaft_Mat_C}" Width="122" >
  983. <ComboBox.ItemTemplate>
  984. <DataTemplate>
  985. <Grid Margin="2,0" Height="38">
  986. <Grid.ColumnDefinitions>
  987. <ColumnDefinition Width="24"/>
  988. <ColumnDefinition Width="70"/>
  989. </Grid.ColumnDefinitions>
  990. <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
  991. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_c, Path=DataContext.isEN}"/>
  992. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_c, Path=DataContext.isCH}"/>
  993. </Grid>
  994. </DataTemplate>
  995. </ComboBox.ItemTemplate>
  996. <i:Interaction.Triggers>
  997. <i:EventTrigger EventName="SelectionChanged">
  998. <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_c, Path=DataContext.set_shaft_mat_c }"/>
  999. </i:EventTrigger>
  1000. </i:Interaction.Triggers>
  1001. </ComboBox>
  1002. </Border>
  1003. </Grid>
  1004. </Border>
  1005. <Grid Grid.Column="1" Grid.Row="1" Margin="-10">
  1006. <Image Source="image/bg/lift_build_icon.png"/>
  1007. </Grid>
  1008. <Border Grid.Row="1" Grid.Column="2" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" Margin="12,0,0,0" >
  1009. <Grid >
  1010. <Grid.RowDefinitions>
  1011. <RowDefinition Height="1*"/>
  1012. <RowDefinition Height="2*"/>
  1013. </Grid.RowDefinitions>
  1014. <Label Content="A" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  1015. <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
  1016. <ComboBox x:Name="set_shaft_mat_a" ItemsSource="{Binding Shaft_Mat_List_A}" SelectedItem="{Binding Selected_Shaft_Mat_A}" Width="122" >
  1017. <ComboBox.ItemTemplate>
  1018. <DataTemplate>
  1019. <Grid Margin="2,0" Height="38">
  1020. <Grid.ColumnDefinitions>
  1021. <ColumnDefinition Width="24"/>
  1022. <ColumnDefinition Width="70"/>
  1023. </Grid.ColumnDefinitions>
  1024. <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
  1025. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_a, Path=DataContext.isEN}"/>
  1026. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_a, Path=DataContext.isCH}"/>
  1027. </Grid>
  1028. </DataTemplate>
  1029. </ComboBox.ItemTemplate>
  1030. <i:Interaction.Triggers>
  1031. <i:EventTrigger EventName="SelectionChanged">
  1032. <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_a, Path=DataContext.set_shaft_mat_a }"/>
  1033. </i:EventTrigger>
  1034. </i:Interaction.Triggers>
  1035. </ComboBox>
  1036. </Border>
  1037. </Grid>
  1038. </Border>
  1039. <Border Grid.Row="2" Grid.Column="1" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" >
  1040. <Grid >
  1041. <Grid.RowDefinitions>
  1042. <RowDefinition Height="1*"/>
  1043. <RowDefinition Height="2*"/>
  1044. </Grid.RowDefinitions>
  1045. <Label Content="B" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  1046. <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
  1047. <ComboBox x:Name="set_shaft_mat_b" ItemsSource="{Binding Shaft_Mat_List_B}" SelectedItem="{Binding Selected_Shaft_Mat_B}" Width="122" >
  1048. <ComboBox.ItemTemplate>
  1049. <DataTemplate>
  1050. <Grid Margin="2,0" Height="38">
  1051. <Grid.ColumnDefinitions>
  1052. <ColumnDefinition Width="24"/>
  1053. <ColumnDefinition Width="70"/>
  1054. </Grid.ColumnDefinitions>
  1055. <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
  1056. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_b, Path=DataContext.isEN}"/>
  1057. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_b, Path=DataContext.isCH}"/>
  1058. </Grid>
  1059. </DataTemplate>
  1060. </ComboBox.ItemTemplate>
  1061. <i:Interaction.Triggers>
  1062. <i:EventTrigger EventName="SelectionChanged">
  1063. <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_b, Path=DataContext.set_shaft_mat_b }"/>
  1064. </i:EventTrigger>
  1065. </i:Interaction.Triggers>
  1066. </ComboBox>
  1067. </Border>
  1068. </Grid>
  1069. </Border>
  1070. <Border Grid.Row="1" Grid.Column="1" Background="#1B1B1B" Height="66" Width="128" CornerRadius="6,6,6,6" Visibility="Hidden" >
  1071. <Grid >
  1072. <Grid.RowDefinitions>
  1073. <RowDefinition Height="1*"/>
  1074. <RowDefinition Height="2*"/>
  1075. </Grid.RowDefinitions>
  1076. <Label Content="E" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  1077. <Border Grid.Row="1" Background="#363636" Height="36" Width="122" CornerRadius="6,6,6,6" >
  1078. <ComboBox x:Name="set_shaft_mat_e" ItemsSource="{Binding Shaft_Mat_List_E}" SelectedItem="{Binding Selected_Shaft_Mat_E}" Width="122" >
  1079. <ComboBox.ItemTemplate>
  1080. <DataTemplate>
  1081. <Grid Margin="2,0" Height="38">
  1082. <Grid.ColumnDefinitions>
  1083. <ColumnDefinition Width="24"/>
  1084. <ColumnDefinition Width="70"/>
  1085. </Grid.ColumnDefinitions>
  1086. <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
  1087. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_e, Path=DataContext.isEN}"/>
  1088. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_e, Path=DataContext.isCH}"/>
  1089. </Grid>
  1090. </DataTemplate>
  1091. </ComboBox.ItemTemplate>
  1092. <i:Interaction.Triggers>
  1093. <i:EventTrigger EventName="SelectionChanged">
  1094. <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_e, Path=DataContext.set_shaft_mat_e }"/>
  1095. </i:EventTrigger>
  1096. </i:Interaction.Triggers>
  1097. </ComboBox>
  1098. </Border>
  1099. </Grid>
  1100. </Border>
  1101. </Grid>
  1102. </Grid>
  1103. <Grid x:Name="shape_page" Grid.Column="1" Visibility="{Binding Shape_Vis}" Margin="3,0" d:IsHidden="True" >
  1104. <Grid.RowDefinitions>
  1105. <RowDefinition Height="64"/>
  1106. <RowDefinition Height="2*"/>
  1107. <RowDefinition Height="28*"/>
  1108. </Grid.RowDefinitions>
  1109. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorsLabel]}" FontSize="22" VerticalAlignment="Center" Margin="13,0"/>
  1110. <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="13,6"/>
  1111. <Grid Grid.Row="1" Height="36" Background="#1B1B1B">
  1112. <Grid.ColumnDefinitions>
  1113. <ColumnDefinition Width="1*"/>
  1114. <ColumnDefinition Width="1*"/>
  1115. <ColumnDefinition Width="1*"/>
  1116. <ColumnDefinition Width="1*"/>
  1117. <ColumnDefinition Width="1*"/>
  1118. <ColumnDefinition Width="1*"/>
  1119. <ColumnDefinition Width="1*"/>
  1120. <ColumnDefinition Width="1*"/>
  1121. <ColumnDefinition Width="1*"/>
  1122. <ColumnDefinition Width="1*"/>
  1123. </Grid.ColumnDefinitions>
  1124. <Border Grid.Column="1" BorderThickness="1" >
  1125. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_1F}" >
  1126. <TextBlock Text="1F" FontSize="18" Foreground="{Binding floor_btn_bg_color[0]}"/>
  1127. </Button>
  1128. </Border>
  1129. <Border Grid.Column="2" BorderThickness="1" >
  1130. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_2F}" >
  1131. <TextBlock Text="2F" FontSize="18" Foreground="{Binding floor_btn_bg_color[1]}"/>
  1132. </Button>
  1133. </Border>
  1134. <Border Grid.Column="3" BorderThickness="1" >
  1135. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_3F}" Visibility="{Binding Door_3F_Btn_Vis}">
  1136. <TextBlock Text="3F" FontSize="18" Foreground="{Binding floor_btn_bg_color[2]}"/>
  1137. </Button>
  1138. </Border>
  1139. <Border Grid.Column="4" BorderThickness="1" >
  1140. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_4F}" Visibility="{Binding Door_4F_Btn_Vis}">
  1141. <TextBlock Text="4F" FontSize="18" Foreground="{Binding floor_btn_bg_color[3]}"/>
  1142. </Button>
  1143. </Border>
  1144. <Border Grid.Column="5" BorderThickness="1">
  1145. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_5F}" Visibility="{Binding Door_5F_Btn_Vis}">
  1146. <TextBlock Text="5F" FontSize="18" Foreground="{Binding floor_btn_bg_color[4]}"/>
  1147. </Button>
  1148. </Border>
  1149. <Border Grid.Column="6" BorderThickness="1">
  1150. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_6F}" Visibility="{Binding Door_6F_Btn_Vis}" >
  1151. <TextBlock Text="6F" FontSize="18" Foreground="{Binding floor_btn_bg_color[5]}"/>
  1152. </Button>
  1153. </Border>
  1154. </Grid>
  1155. <Grid x:Name="door_1F" Grid.Row="2" Visibility="{Binding Door_1F_Vis}" Margin="0,48,0,0" Background="Black" d:IsHidden="True">
  1156. <Grid.RowDefinitions>
  1157. <RowDefinition/>
  1158. <RowDefinition Height="302"/>
  1159. <RowDefinition Height="0"/>
  1160. </Grid.RowDefinitions>
  1161. <Grid Grid.Row="0">
  1162. <Grid.RowDefinitions>
  1163. <RowDefinition Height="9*"/>
  1164. <RowDefinition Height="1*"/>
  1165. <RowDefinition Height="2*"/>
  1166. </Grid.RowDefinitions>
  1167. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  1168. <Grid.RowDefinitions>
  1169. <RowDefinition Height="34*"/>
  1170. <RowDefinition Height="69*"/>
  1171. <RowDefinition Height="80*"/>
  1172. <RowDefinition Height="74*"/>
  1173. </Grid.RowDefinitions>
  1174. <Grid.ColumnDefinitions>
  1175. <ColumnDefinition Width="94*"/>
  1176. <ColumnDefinition Width="72*"/>
  1177. <ColumnDefinition Width="92*"/>
  1178. <ColumnDefinition Width="72*"/>
  1179. <ColumnDefinition Width="94*"/>
  1180. </Grid.ColumnDefinitions>
  1181. <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="0" >
  1182. <Grid>
  1183. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1184. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1185. </Grid>
  1186. </Button>
  1187. <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="0" >
  1188. <Grid>
  1189. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1190. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1191. </Grid>
  1192. </Button>
  1193. <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="0" >
  1194. <Grid>
  1195. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1196. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1197. </Grid>
  1198. </Button>
  1199. </Grid>
  1200. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[0]}" Panel.ZIndex="-1"/>
  1201. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[0]}" Panel.ZIndex="-1"/>
  1202. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[0]}" Panel.ZIndex="-1"/>
  1203. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[0]}" Panel.ZIndex="-1"/>
  1204. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[0]}" Panel.ZIndex="-1"/>
  1205. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[0]}" Panel.ZIndex="-1"/>
  1206. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[0]}" Panel.ZIndex="-1"/>
  1207. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[0]}" Panel.ZIndex="-1"/>
  1208. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[0]}" Panel.ZIndex="-1"/>
  1209. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[0]}" Panel.ZIndex="-1"/>
  1210. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[0]}" Panel.ZIndex="-1"/>
  1211. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[0]}" Panel.ZIndex="-1"/>
  1212. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  1213. <!--<Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[0]}">
  1214. <Grid.ColumnDefinitions>
  1215. <ColumnDefinition/>
  1216. <ColumnDefinition/>
  1217. <ColumnDefinition/>
  1218. <ColumnDefinition/>
  1219. <ColumnDefinition Width="7*"/>
  1220. </Grid.ColumnDefinitions>
  1221. <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding set_door_page}" CommandParameter="1_A" Visibility="{Binding StateModel.Door_A_Btn_Vis[0]}">
  1222. <Label Content="A" Foreground="{Binding StateModel.Door_A_Btn_Color[0]}"/>
  1223. </Button>
  1224. <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding set_door_page}" CommandParameter="1_B" Visibility="{Binding StateModel.Door_B_Btn_Vis[0]}">
  1225. <Label Content="B" Foreground="{Binding StateModel.Door_B_Btn_Color[0]}"/>
  1226. </Button>
  1227. <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding set_door_page}" CommandParameter="1_C" Visibility="{Binding StateModel.Door_C_Btn_Vis[0]}">
  1228. <Label Content="C" Foreground="{Binding StateModel.Door_C_Btn_Color[0]}"/>
  1229. </Button>
  1230. </Grid>-->
  1231. </Grid>
  1232. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[0]}"/>
  1233. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[0]}" Panel.ZIndex="1"/>-->
  1234. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[0]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  1235. <TabControl.Resources>
  1236. <Style TargetType="{x:Type TabPanel}">
  1237. <Setter Property="HorizontalAlignment" Value="Left"/>
  1238. </Style>
  1239. </TabControl.Resources>
  1240. <TabItem Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_a_btn_selected}" x:Name="door_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[0]}">
  1241. <Grid x:Name="Door_1F_A" Grid.Row="1" Margin="0,6,0,0" >
  1242. <Grid.RowDefinitions>
  1243. <RowDefinition Height="72"/>
  1244. <RowDefinition Height="72"/>
  1245. <RowDefinition Height="72"/>
  1246. <RowDefinition Height="82"/>
  1247. </Grid.RowDefinitions>
  1248. <Grid Grid.Row="0">
  1249. <Grid.RowDefinitions>
  1250. <RowDefinition Height="1*"/>
  1251. <RowDefinition Height="1*"/>
  1252. <RowDefinition Height="4"/>
  1253. </Grid.RowDefinitions>
  1254. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1255. <Grid Grid.Row="1" Margin="0" Height="28" >
  1256. <Grid.ColumnDefinitions>
  1257. <ColumnDefinition Width="80"/>
  1258. <ColumnDefinition Width="80"/>
  1259. <ColumnDefinition Width="92"/>
  1260. <ColumnDefinition Width="1*"/>
  1261. </Grid.ColumnDefinitions>
  1262. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[0]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1A_GE1" HorizontalAlignment="Left"/>
  1263. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[1]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1A_GE2" HorizontalAlignment="Left"/>
  1264. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[2]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1A_HalfGate" HorizontalAlignment="Left"/>
  1265. </Grid>
  1266. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1267. </Grid>
  1268. <Grid Grid.Row="1">
  1269. <Grid.RowDefinitions>
  1270. <RowDefinition Height="1*"/>
  1271. <RowDefinition Height="1*"/>
  1272. <RowDefinition Height="4"/>
  1273. </Grid.RowDefinitions>
  1274. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1275. <Grid Grid.Row="1" Height="28">
  1276. <Grid.ColumnDefinitions>
  1277. <ColumnDefinition Width="70"/>
  1278. <ColumnDefinition Width="70"/>
  1279. <ColumnDefinition Width="4*"/>
  1280. </Grid.ColumnDefinitions>
  1281. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[3]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
  1282. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[4]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
  1283. </Grid>
  1284. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1285. </Grid>
  1286. <Grid Grid.Row="2" >
  1287. <Grid.RowDefinitions>
  1288. <RowDefinition Height="1*"/>
  1289. <RowDefinition Height="1*"/>
  1290. <RowDefinition Height="4"/>
  1291. </Grid.RowDefinitions>
  1292. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1293. <Grid Grid.Row="1" Height="28">
  1294. <Grid.ColumnDefinitions>
  1295. <ColumnDefinition Width="80"/>
  1296. <ColumnDefinition Width="80"/>
  1297. <ColumnDefinition Width="80"/>
  1298. <ColumnDefinition Width="1*"/>
  1299. </Grid.ColumnDefinitions>
  1300. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[5]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1A_2100" HorizontalAlignment="Left"/>
  1301. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[6]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1A_2000" HorizontalAlignment="Left"/>
  1302. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[7]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1A_1900" HorizontalAlignment="Left"/>
  1303. </Grid>
  1304. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1305. </Grid>
  1306. <Grid Grid.Row="3" >
  1307. <Grid.RowDefinitions>
  1308. <RowDefinition Height="1*"/>
  1309. <RowDefinition Height="1.5*"/>
  1310. <RowDefinition Height="4"/>
  1311. </Grid.RowDefinitions>
  1312. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1313. <Grid Grid.Row="1" >
  1314. <Grid.ColumnDefinitions>
  1315. <ColumnDefinition/>
  1316. <ColumnDefinition/>
  1317. </Grid.ColumnDefinitions>
  1318. <Grid.RowDefinitions>
  1319. <RowDefinition Height="4*"/>
  1320. <RowDefinition Height="6*"/>
  1321. </Grid.RowDefinitions>
  1322. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1323. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1324. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[0]}"/>
  1325. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[0]}"/>
  1326. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[0]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_0A_Width}" HorizontalAlignment="Left" Width="128">
  1327. <ComboBox.ItemTemplate>
  1328. <DataTemplate>
  1329. <Grid Margin="2,0">
  1330. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1331. </Grid>
  1332. </DataTemplate>
  1333. </ComboBox.ItemTemplate>
  1334. <i:Interaction.Triggers>
  1335. <i:EventTrigger EventName="SelectionChanged">
  1336. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1337. </i:EventTrigger>
  1338. </i:Interaction.Triggers>
  1339. </ComboBox>
  1340. </Grid>
  1341. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1342. </Grid>
  1343. </Grid>
  1344. </TabItem>
  1345. <TabItem x:Name="door_b_btn" Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_b_btn_selected}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[0]}">
  1346. <Grid x:Name="Door_1F_B" Grid.Row="1" Margin="0,6,0,0">
  1347. <Grid.RowDefinitions>
  1348. <RowDefinition Height="72"/>
  1349. <RowDefinition Height="72"/>
  1350. <RowDefinition Height="72"/>
  1351. <RowDefinition Height="82"/>
  1352. </Grid.RowDefinitions>
  1353. <Grid Grid.Row="0" >
  1354. <Grid.RowDefinitions>
  1355. <RowDefinition Height="1*"/>
  1356. <RowDefinition Height="1*"/>
  1357. <RowDefinition Height="4"/>
  1358. </Grid.RowDefinitions>
  1359. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1360. <Grid Grid.Row="1" Margin="0" Height="28" >
  1361. <Grid.ColumnDefinitions>
  1362. <ColumnDefinition Width="80"/>
  1363. <ColumnDefinition Width="80"/>
  1364. <ColumnDefinition Width="92"/>
  1365. <ColumnDefinition Width="1*"/>
  1366. </Grid.ColumnDefinitions>
  1367. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[8]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1B_GE1" HorizontalAlignment="Left"/>
  1368. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[9]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1B_GE2" HorizontalAlignment="Left"/>
  1369. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[10]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
  1370. </Grid>
  1371. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1372. </Grid>
  1373. <Grid Grid.Row="1" >
  1374. <Grid.RowDefinitions>
  1375. <RowDefinition Height="1*"/>
  1376. <RowDefinition Height="1*"/>
  1377. <RowDefinition Height="4"/>
  1378. </Grid.RowDefinitions>
  1379. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1380. <Grid Grid.Row="1" Height="28">
  1381. <Grid.ColumnDefinitions>
  1382. <ColumnDefinition Width="70"/>
  1383. <ColumnDefinition Width="70"/>
  1384. <ColumnDefinition Width="4*"/>
  1385. </Grid.ColumnDefinitions>
  1386. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[11]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
  1387. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[12]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
  1388. </Grid>
  1389. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1390. </Grid>
  1391. <Grid Grid.Row="2" >
  1392. <Grid.RowDefinitions>
  1393. <RowDefinition Height="1*"/>
  1394. <RowDefinition Height="1*"/>
  1395. <RowDefinition Height="4"/>
  1396. </Grid.RowDefinitions>
  1397. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1398. <Grid Grid.Row="1" Height="28">
  1399. <Grid.ColumnDefinitions>
  1400. <ColumnDefinition Width="80"/>
  1401. <ColumnDefinition Width="80"/>
  1402. <ColumnDefinition Width="80"/>
  1403. <ColumnDefinition Width="1*"/>
  1404. </Grid.ColumnDefinitions>
  1405. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[13]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1B_2100" HorizontalAlignment="Left"/>
  1406. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[14]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1B_2000" HorizontalAlignment="Left"/>
  1407. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[15]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1B_1900" HorizontalAlignment="Left"/>
  1408. </Grid>
  1409. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1410. </Grid>
  1411. <Grid Grid.Row="3" >
  1412. <Grid.RowDefinitions>
  1413. <RowDefinition Height="1*"/>
  1414. <RowDefinition Height="1.5*"/>
  1415. <RowDefinition Height="4"/>
  1416. </Grid.RowDefinitions>
  1417. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1418. <Grid Grid.Row="1" >
  1419. <Grid.ColumnDefinitions>
  1420. <ColumnDefinition/>
  1421. <ColumnDefinition/>
  1422. </Grid.ColumnDefinitions>
  1423. <Grid.RowDefinitions>
  1424. <RowDefinition Height="4*"/>
  1425. <RowDefinition Height="6*"/>
  1426. </Grid.RowDefinitions>
  1427. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1428. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1429. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[0]}"/>
  1430. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[0]}"/>
  1431. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[0]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_0B_Width}" HorizontalAlignment="Left" Width="128">
  1432. <ComboBox.ItemTemplate>
  1433. <DataTemplate>
  1434. <Grid Margin="2,0">
  1435. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1436. </Grid>
  1437. </DataTemplate>
  1438. </ComboBox.ItemTemplate>
  1439. <i:Interaction.Triggers>
  1440. <i:EventTrigger EventName="SelectionChanged">
  1441. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1442. </i:EventTrigger>
  1443. </i:Interaction.Triggers>
  1444. </ComboBox>
  1445. </Grid>
  1446. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1447. </Grid>
  1448. </Grid>
  1449. </TabItem>
  1450. <TabItem x:Name="door_c_btn" Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_c_btn_selected}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[0]}">
  1451. <Grid x:Name="Door_1F_C" Grid.Row="1" Margin="0,6,0,0" >
  1452. <Grid.RowDefinitions>
  1453. <RowDefinition Height="72"/>
  1454. <RowDefinition Height="72"/>
  1455. <RowDefinition Height="72"/>
  1456. <RowDefinition Height="82"/>
  1457. </Grid.RowDefinitions>
  1458. <Grid Grid.Row="0" >
  1459. <Grid.RowDefinitions>
  1460. <RowDefinition Height="1*"/>
  1461. <RowDefinition Height="1*"/>
  1462. <RowDefinition Height="4"/>
  1463. </Grid.RowDefinitions>
  1464. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1465. <Grid Grid.Row="1" Margin="0" Height="28" >
  1466. <Grid.ColumnDefinitions>
  1467. <ColumnDefinition Width="80"/>
  1468. <ColumnDefinition Width="80"/>
  1469. <ColumnDefinition Width="92"/>
  1470. <ColumnDefinition Width="1*"/>
  1471. </Grid.ColumnDefinitions>
  1472. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[16]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1C_GE1" HorizontalAlignment="Left"/>
  1473. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[17]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1C_GE2" HorizontalAlignment="Left"/>
  1474. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[18]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1C_HalfGate" HorizontalAlignment="Left"/>
  1475. </Grid>
  1476. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1477. </Grid>
  1478. <Grid Grid.Row="1" >
  1479. <Grid.RowDefinitions>
  1480. <RowDefinition Height="1*"/>
  1481. <RowDefinition Height="1*"/>
  1482. <RowDefinition Height="4"/>
  1483. </Grid.RowDefinitions>
  1484. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1485. <Grid Grid.Row="1" Height="28">
  1486. <Grid.ColumnDefinitions>
  1487. <ColumnDefinition Width="70"/>
  1488. <ColumnDefinition Width="70"/>
  1489. <ColumnDefinition Width="4*"/>
  1490. </Grid.ColumnDefinitions>
  1491. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[19]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
  1492. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[20]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
  1493. </Grid>
  1494. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1495. </Grid>
  1496. <Grid Grid.Row="2" >
  1497. <Grid.RowDefinitions>
  1498. <RowDefinition Height="1*"/>
  1499. <RowDefinition Height="1*"/>
  1500. <RowDefinition Height="4"/>
  1501. </Grid.RowDefinitions>
  1502. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1503. <Grid Grid.Row="1" Height="28">
  1504. <Grid.ColumnDefinitions>
  1505. <ColumnDefinition Width="80"/>
  1506. <ColumnDefinition Width="80"/>
  1507. <ColumnDefinition Width="80"/>
  1508. <ColumnDefinition Width="1*"/>
  1509. </Grid.ColumnDefinitions>
  1510. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[21]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1C_2100" HorizontalAlignment="Left"/>
  1511. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[22]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1C_2000" HorizontalAlignment="Left"/>
  1512. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[23]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1C_1900" HorizontalAlignment="Left"/>
  1513. </Grid>
  1514. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1515. </Grid>
  1516. <Grid Grid.Row="3" >
  1517. <Grid.RowDefinitions>
  1518. <RowDefinition Height="1*"/>
  1519. <RowDefinition Height="1.5*"/>
  1520. <RowDefinition Height="4"/>
  1521. </Grid.RowDefinitions>
  1522. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1523. <Grid Grid.Row="1" >
  1524. <Grid.ColumnDefinitions>
  1525. <ColumnDefinition/>
  1526. <ColumnDefinition/>
  1527. </Grid.ColumnDefinitions>
  1528. <Grid.RowDefinitions>
  1529. <RowDefinition Height="4*"/>
  1530. <RowDefinition Height="6*"/>
  1531. </Grid.RowDefinitions>
  1532. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1533. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1534. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[0]}" />
  1535. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[0]}" />
  1536. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[0]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_0C_Width}" HorizontalAlignment="Left" Width="128">
  1537. <ComboBox.ItemTemplate>
  1538. <DataTemplate>
  1539. <Grid Margin="2,0">
  1540. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1541. </Grid>
  1542. </DataTemplate>
  1543. </ComboBox.ItemTemplate>
  1544. <i:Interaction.Triggers>
  1545. <i:EventTrigger EventName="SelectionChanged">
  1546. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1547. </i:EventTrigger>
  1548. </i:Interaction.Triggers>
  1549. </ComboBox>
  1550. </Grid>
  1551. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1552. </Grid>
  1553. </Grid>
  1554. </TabItem>
  1555. </TabControl>
  1556. </Grid>
  1557. <Grid x:Name="door_2F" Grid.Row="2" Visibility="{Binding Door_2F_Vis}" Margin="0,48,0,0" Background="Black">
  1558. <Grid.RowDefinitions>
  1559. <RowDefinition/>
  1560. <RowDefinition Height="302"/>
  1561. <RowDefinition Height="0"/>
  1562. </Grid.RowDefinitions>
  1563. <Grid Grid.Row="0">
  1564. <Grid.RowDefinitions>
  1565. <RowDefinition Height="9*"/>
  1566. <RowDefinition Height="1*"/>
  1567. <RowDefinition Height="2*"/>
  1568. </Grid.RowDefinitions>
  1569. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  1570. <Grid.RowDefinitions>
  1571. <RowDefinition Height="34*"/>
  1572. <RowDefinition Height="69*"/>
  1573. <RowDefinition Height="80*"/>
  1574. <RowDefinition Height="74*"/>
  1575. </Grid.RowDefinitions>
  1576. <Grid.ColumnDefinitions>
  1577. <ColumnDefinition Width="94*"/>
  1578. <ColumnDefinition Width="72*"/>
  1579. <ColumnDefinition Width="92*"/>
  1580. <ColumnDefinition Width="72*"/>
  1581. <ColumnDefinition Width="94*"/>
  1582. </Grid.ColumnDefinitions>
  1583. <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="1" >
  1584. <Grid>
  1585. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1586. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1587. </Grid>
  1588. </Button>
  1589. <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="1" >
  1590. <Grid>
  1591. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1592. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1593. </Grid>
  1594. </Button>
  1595. <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="1" >
  1596. <Grid>
  1597. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1598. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1599. </Grid>
  1600. </Button>
  1601. </Grid>
  1602. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[1]}" Panel.ZIndex="-1"/>
  1603. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[1]}" Panel.ZIndex="-1"/>
  1604. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[1]}" Panel.ZIndex="-1"/>
  1605. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[1]}" Panel.ZIndex="-1"/>
  1606. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[1]}" Panel.ZIndex="-1"/>
  1607. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[1]}" Panel.ZIndex="-1"/>
  1608. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[1]}" Panel.ZIndex="-1"/>
  1609. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[1]}" Panel.ZIndex="-1"/>
  1610. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[1]}" Panel.ZIndex="-1"/>
  1611. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[1]}" Panel.ZIndex="-1"/>
  1612. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[1]}" Panel.ZIndex="-1"/>
  1613. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[1]}" Panel.ZIndex="-1"/>
  1614. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  1615. <!--<Rectangle Grid.Row="1" Height="2" Fill="#272727" Margin="32,0"/>
  1616. <Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[1]}" >
  1617. <Grid.ColumnDefinitions>
  1618. <ColumnDefinition/>
  1619. <ColumnDefinition/>
  1620. <ColumnDefinition/>
  1621. <ColumnDefinition/>
  1622. <ColumnDefinition Width="7*"/>
  1623. </Grid.ColumnDefinitions>
  1624. <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Content="A" Command="{Binding set_door_page}" CommandParameter="A"/>
  1625. <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Content="B" Command="{Binding set_door_page}" CommandParameter="B"/>
  1626. <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Content="C" Command="{Binding set_door_page}" CommandParameter="C"/>
  1627. </Grid>-->
  1628. </Grid>
  1629. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[1]}"/>
  1630. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[1]}" Panel.ZIndex="1"/>-->
  1631. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[1]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  1632. <TabControl.Resources>
  1633. <Style TargetType="{x:Type TabPanel}">
  1634. <Setter Property="HorizontalAlignment" Value="Left"/>
  1635. </Style>
  1636. </TabControl.Resources>
  1637. <TabItem Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_a_btn_selected}" x:Name="door_2f_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[1]}" >
  1638. <Grid x:Name="Door_2F_A" Grid.Row="1" Margin="0,6,0,0" >
  1639. <Grid.RowDefinitions>
  1640. <RowDefinition Height="72"/>
  1641. <RowDefinition Height="72"/>
  1642. <RowDefinition Height="72"/>
  1643. <RowDefinition Height="82"/>
  1644. </Grid.RowDefinitions>
  1645. <Grid Grid.Row="0" >
  1646. <Grid.RowDefinitions>
  1647. <RowDefinition Height="1*"/>
  1648. <RowDefinition Height="1*"/>
  1649. <RowDefinition Height="4"/>
  1650. </Grid.RowDefinitions>
  1651. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1652. <Grid Grid.Row="1" Margin="0" Height="28" >
  1653. <Grid.ColumnDefinitions>
  1654. <ColumnDefinition Width="80"/>
  1655. <ColumnDefinition Width="80"/>
  1656. <ColumnDefinition Width="92"/>
  1657. <ColumnDefinition Width="1*"/>
  1658. </Grid.ColumnDefinitions>
  1659. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[24]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2A_GE1" HorizontalAlignment="Left"/>
  1660. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[25]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2A_GE2" HorizontalAlignment="Left"/>
  1661. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[26]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2A_HalfGate" HorizontalAlignment="Left"/>
  1662. </Grid>
  1663. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1664. </Grid>
  1665. <Grid Grid.Row="1" >
  1666. <Grid.RowDefinitions>
  1667. <RowDefinition Height="1*"/>
  1668. <RowDefinition Height="1*"/>
  1669. <RowDefinition Height="4"/>
  1670. </Grid.RowDefinitions>
  1671. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1672. <Grid Grid.Row="1" Height="28">
  1673. <Grid.ColumnDefinitions>
  1674. <ColumnDefinition Width="70"/>
  1675. <ColumnDefinition Width="70"/>
  1676. <ColumnDefinition Width="4*"/>
  1677. </Grid.ColumnDefinitions>
  1678. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[27]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
  1679. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[28]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
  1680. </Grid>
  1681. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1682. </Grid>
  1683. <Grid Grid.Row="2" >
  1684. <Grid.RowDefinitions>
  1685. <RowDefinition Height="1*"/>
  1686. <RowDefinition Height="1*"/>
  1687. <RowDefinition Height="4"/>
  1688. </Grid.RowDefinitions>
  1689. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1690. <Grid Grid.Row="1" Height="28">
  1691. <Grid.ColumnDefinitions>
  1692. <ColumnDefinition Width="80"/>
  1693. <ColumnDefinition Width="80"/>
  1694. <ColumnDefinition Width="80"/>
  1695. <ColumnDefinition Width="1*"/>
  1696. </Grid.ColumnDefinitions>
  1697. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[29]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2A_2100" HorizontalAlignment="Left"/>
  1698. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[30]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2A_2000" HorizontalAlignment="Left"/>
  1699. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[31]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2A_1900" HorizontalAlignment="Left"/>
  1700. </Grid>
  1701. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1702. </Grid>
  1703. <Grid Grid.Row="3" >
  1704. <Grid.RowDefinitions>
  1705. <RowDefinition Height="1*"/>
  1706. <RowDefinition Height="1.5*"/>
  1707. <RowDefinition Height="4"/>
  1708. </Grid.RowDefinitions>
  1709. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1710. <Grid Grid.Row="1" >
  1711. <Grid.ColumnDefinitions>
  1712. <ColumnDefinition/>
  1713. <ColumnDefinition/>
  1714. </Grid.ColumnDefinitions>
  1715. <Grid.RowDefinitions>
  1716. <RowDefinition Height="4*"/>
  1717. <RowDefinition Height="6*"/>
  1718. </Grid.RowDefinitions>
  1719. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1720. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1721. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[1]}"/>
  1722. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[1]}" />
  1723. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[1]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_1A_Width}" HorizontalAlignment="Left" Width="128">
  1724. <ComboBox.ItemTemplate>
  1725. <DataTemplate>
  1726. <Grid Margin="2,0">
  1727. <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1728. </Grid>
  1729. </DataTemplate>
  1730. </ComboBox.ItemTemplate>
  1731. <i:Interaction.Triggers>
  1732. <i:EventTrigger EventName="SelectionChanged">
  1733. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1734. </i:EventTrigger>
  1735. </i:Interaction.Triggers>
  1736. </ComboBox>
  1737. </Grid>
  1738. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1739. </Grid>
  1740. </Grid>
  1741. </TabItem>
  1742. <TabItem x:Name="door_2f_b_btn" IsSelected="{Binding StateModel.door_b_btn_selected}" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[1]}">
  1743. <Grid x:Name="Door_2F_B" Grid.Row="1" Margin="0,6,0,0">
  1744. <Grid.RowDefinitions>
  1745. <RowDefinition Height="72"/>
  1746. <RowDefinition Height="72"/>
  1747. <RowDefinition Height="72"/>
  1748. <RowDefinition Height="82"/>
  1749. </Grid.RowDefinitions>
  1750. <Grid Grid.Row="0" >
  1751. <Grid.RowDefinitions>
  1752. <RowDefinition Height="1*"/>
  1753. <RowDefinition Height="1*"/>
  1754. <RowDefinition Height="4"/>
  1755. </Grid.RowDefinitions>
  1756. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1757. <Grid Grid.Row="1" Margin="0" Height="28" >
  1758. <Grid.ColumnDefinitions>
  1759. <ColumnDefinition Width="80"/>
  1760. <ColumnDefinition Width="80"/>
  1761. <ColumnDefinition Width="92"/>
  1762. <ColumnDefinition Width="1*"/>
  1763. </Grid.ColumnDefinitions>
  1764. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[32]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2B_GE1" HorizontalAlignment="Left"/>
  1765. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[33]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2B_GE2" HorizontalAlignment="Left"/>
  1766. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[34]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
  1767. </Grid>
  1768. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1769. </Grid>
  1770. <Grid Grid.Row="1" >
  1771. <Grid.RowDefinitions>
  1772. <RowDefinition Height="1*"/>
  1773. <RowDefinition Height="1*"/>
  1774. <RowDefinition Height="4"/>
  1775. </Grid.RowDefinitions>
  1776. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1777. <Grid Grid.Row="1" Height="28">
  1778. <Grid.ColumnDefinitions>
  1779. <ColumnDefinition Width="70"/>
  1780. <ColumnDefinition Width="70"/>
  1781. <ColumnDefinition Width="4*"/>
  1782. </Grid.ColumnDefinitions>
  1783. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[35]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
  1784. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[36]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
  1785. </Grid>
  1786. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1787. </Grid>
  1788. <Grid Grid.Row="2" >
  1789. <Grid.RowDefinitions>
  1790. <RowDefinition Height="1*"/>
  1791. <RowDefinition Height="1*"/>
  1792. <RowDefinition Height="4"/>
  1793. </Grid.RowDefinitions>
  1794. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1795. <Grid Grid.Row="1" Height="28">
  1796. <Grid.ColumnDefinitions>
  1797. <ColumnDefinition Width="80"/>
  1798. <ColumnDefinition Width="80"/>
  1799. <ColumnDefinition Width="80"/>
  1800. <ColumnDefinition Width="1*"/>
  1801. </Grid.ColumnDefinitions>
  1802. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[37]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2B_2100" HorizontalAlignment="Left"/>
  1803. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[38]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2B_2000" HorizontalAlignment="Left"/>
  1804. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[39]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2B_1900" HorizontalAlignment="Left"/>
  1805. </Grid>
  1806. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1807. </Grid>
  1808. <Grid Grid.Row="3" >
  1809. <Grid.RowDefinitions>
  1810. <RowDefinition Height="1*"/>
  1811. <RowDefinition Height="1.5*"/>
  1812. <RowDefinition Height="4"/>
  1813. </Grid.RowDefinitions>
  1814. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1815. <Grid Grid.Row="1" >
  1816. <Grid.ColumnDefinitions>
  1817. <ColumnDefinition/>
  1818. <ColumnDefinition/>
  1819. </Grid.ColumnDefinitions>
  1820. <Grid.RowDefinitions>
  1821. <RowDefinition Height="4*"/>
  1822. <RowDefinition Height="6*"/>
  1823. </Grid.RowDefinitions>
  1824. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1825. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1826. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[1]}"/>
  1827. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[1]}"/>
  1828. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[1]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_1B_Width}" HorizontalAlignment="Left" Width="128">
  1829. <ComboBox.ItemTemplate>
  1830. <DataTemplate>
  1831. <Grid Margin="2,0">
  1832. <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1833. </Grid>
  1834. </DataTemplate>
  1835. </ComboBox.ItemTemplate>
  1836. <i:Interaction.Triggers>
  1837. <i:EventTrigger EventName="SelectionChanged">
  1838. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1839. </i:EventTrigger>
  1840. </i:Interaction.Triggers>
  1841. </ComboBox>
  1842. </Grid>
  1843. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1844. </Grid>
  1845. </Grid>
  1846. </TabItem>
  1847. <TabItem x:Name="door_2f_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[1]}">
  1848. <Grid x:Name="Door_2F_C" Grid.Row="1" Margin="0,6,0,0" >
  1849. <Grid.RowDefinitions>
  1850. <RowDefinition Height="72"/>
  1851. <RowDefinition Height="72"/>
  1852. <RowDefinition Height="72"/>
  1853. <RowDefinition Height="82"/>
  1854. </Grid.RowDefinitions>
  1855. <Grid Grid.Row="0" >
  1856. <Grid.RowDefinitions>
  1857. <RowDefinition Height="1*"/>
  1858. <RowDefinition Height="1*"/>
  1859. <RowDefinition Height="4"/>
  1860. </Grid.RowDefinitions>
  1861. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1862. <Grid Grid.Row="1" Margin="0" Height="28" >
  1863. <Grid.ColumnDefinitions>
  1864. <ColumnDefinition Width="80"/>
  1865. <ColumnDefinition Width="80"/>
  1866. <ColumnDefinition Width="92"/>
  1867. <ColumnDefinition Width="1*"/>
  1868. </Grid.ColumnDefinitions>
  1869. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[40]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2C_GE1" HorizontalAlignment="Left"/>
  1870. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[41]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2C_GE2" HorizontalAlignment="Left"/>
  1871. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[42]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2C_HalfGate" HorizontalAlignment="Left"/>
  1872. </Grid>
  1873. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1874. </Grid>
  1875. <Grid Grid.Row="1" >
  1876. <Grid.RowDefinitions>
  1877. <RowDefinition Height="1*"/>
  1878. <RowDefinition Height="1*"/>
  1879. <RowDefinition Height="4"/>
  1880. </Grid.RowDefinitions>
  1881. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1882. <Grid Grid.Row="1" Height="28">
  1883. <Grid.ColumnDefinitions>
  1884. <ColumnDefinition Width="70"/>
  1885. <ColumnDefinition Width="70"/>
  1886. <ColumnDefinition Width="4*"/>
  1887. </Grid.ColumnDefinitions>
  1888. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[43]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
  1889. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[44]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
  1890. </Grid>
  1891. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1892. </Grid>
  1893. <Grid Grid.Row="2" >
  1894. <Grid.RowDefinitions>
  1895. <RowDefinition Height="1*"/>
  1896. <RowDefinition Height="1*"/>
  1897. <RowDefinition Height="4"/>
  1898. </Grid.RowDefinitions>
  1899. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1900. <Grid Grid.Row="1" Height="28">
  1901. <Grid.ColumnDefinitions>
  1902. <ColumnDefinition Width="80"/>
  1903. <ColumnDefinition Width="80"/>
  1904. <ColumnDefinition Width="80"/>
  1905. <ColumnDefinition Width="1*"/>
  1906. </Grid.ColumnDefinitions>
  1907. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[45]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2C_2100" HorizontalAlignment="Left"/>
  1908. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[46]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2C_2000" HorizontalAlignment="Left"/>
  1909. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[47]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2C_1900" HorizontalAlignment="Left"/>
  1910. </Grid>
  1911. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1912. </Grid>
  1913. <Grid Grid.Row="3">
  1914. <Grid.RowDefinitions>
  1915. <RowDefinition Height="1*"/>
  1916. <RowDefinition Height="1.5*"/>
  1917. <RowDefinition Height="4"/>
  1918. </Grid.RowDefinitions>
  1919. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1920. <Grid Grid.Row="1" >
  1921. <Grid.ColumnDefinitions>
  1922. <ColumnDefinition/>
  1923. <ColumnDefinition/>
  1924. </Grid.ColumnDefinitions>
  1925. <Grid.RowDefinitions>
  1926. <RowDefinition Height="4*"/>
  1927. <RowDefinition Height="6*"/>
  1928. </Grid.RowDefinitions>
  1929. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1930. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1931. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[1]}"/>
  1932. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[1]}" />
  1933. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[1]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_1C_Width}" HorizontalAlignment="Left" Width="128">
  1934. <ComboBox.ItemTemplate>
  1935. <DataTemplate>
  1936. <Grid Margin="2,0">
  1937. <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1938. </Grid>
  1939. </DataTemplate>
  1940. </ComboBox.ItemTemplate>
  1941. <i:Interaction.Triggers>
  1942. <i:EventTrigger EventName="SelectionChanged">
  1943. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1944. </i:EventTrigger>
  1945. </i:Interaction.Triggers>
  1946. </ComboBox>
  1947. </Grid>
  1948. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1949. </Grid>
  1950. </Grid>
  1951. </TabItem>
  1952. </TabControl>
  1953. </Grid>
  1954. <Grid x:Name="door_3F" Grid.Row="2" Visibility="{Binding Door_3F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
  1955. <Grid.RowDefinitions>
  1956. <RowDefinition/>
  1957. <RowDefinition Height="302"/>
  1958. <RowDefinition Height="0"/>
  1959. </Grid.RowDefinitions>
  1960. <Grid Grid.Row="0">
  1961. <Grid.RowDefinitions>
  1962. <RowDefinition Height="9*"/>
  1963. <RowDefinition Height="1*"/>
  1964. <RowDefinition Height="2*"/>
  1965. </Grid.RowDefinitions>
  1966. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  1967. <Grid.RowDefinitions>
  1968. <RowDefinition Height="34*"/>
  1969. <RowDefinition Height="69*"/>
  1970. <RowDefinition Height="80*"/>
  1971. <RowDefinition Height="74*"/>
  1972. </Grid.RowDefinitions>
  1973. <Grid.ColumnDefinitions>
  1974. <ColumnDefinition Width="94*"/>
  1975. <ColumnDefinition Width="72*"/>
  1976. <ColumnDefinition Width="92*"/>
  1977. <ColumnDefinition Width="72*"/>
  1978. <ColumnDefinition Width="94*"/>
  1979. </Grid.ColumnDefinitions>
  1980. <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="2" >
  1981. <Button.Content>
  1982. <Grid>
  1983. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1984. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1985. </Grid>
  1986. </Button.Content>
  1987. </Button>
  1988. <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="2" >
  1989. <Button.Content>
  1990. <Grid>
  1991. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1992. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1993. </Grid>
  1994. </Button.Content>
  1995. </Button>
  1996. <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="2" >
  1997. <Button.Content>
  1998. <Grid>
  1999. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2000. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2001. </Grid>
  2002. </Button.Content>
  2003. </Button>
  2004. </Grid>
  2005. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[2]}" Panel.ZIndex="-1"/>
  2006. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[2]}" Panel.ZIndex="-1"/>
  2007. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[2]}" Panel.ZIndex="-1"/>
  2008. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[2]}" Panel.ZIndex="-1"/>
  2009. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[2]}" Panel.ZIndex="-1"/>
  2010. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[2]}" Panel.ZIndex="-1"/>
  2011. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[2]}" Panel.ZIndex="-1"/>
  2012. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[2]}" Panel.ZIndex="-1"/>
  2013. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[2]}" Panel.ZIndex="-1"/>
  2014. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[2]}" Panel.ZIndex="-1"/>
  2015. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[2]}" Panel.ZIndex="-1"/>
  2016. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[2]}" Panel.ZIndex="-1"/>
  2017. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  2018. <!--<Rectangle Grid.Row="1" Height="2" Fill="#272727" Margin="32,0"/>
  2019. <Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[2]}">
  2020. <Grid.ColumnDefinitions>
  2021. <ColumnDefinition/>
  2022. <ColumnDefinition/>
  2023. <ColumnDefinition/>
  2024. <ColumnDefinition/>
  2025. <ColumnDefinition Width="7*"/>
  2026. </Grid.ColumnDefinitions>
  2027. <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Content="A" Command="{Binding set_door_page}" CommandParameter="A"/>
  2028. <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Content="B" Command="{Binding set_door_page}" CommandParameter="B"/>
  2029. <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Content="C" Command="{Binding set_door_page}" CommandParameter="C"/>
  2030. </Grid>-->
  2031. </Grid>
  2032. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[2]}"/>
  2033. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[2]}" Panel.ZIndex="1"/>-->
  2034. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[2]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  2035. <TabControl.Resources>
  2036. <Style TargetType="{x:Type TabPanel}">
  2037. <Setter Property="HorizontalAlignment" Value="Left"/>
  2038. </Style>
  2039. </TabControl.Resources>
  2040. <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_3F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[2]}">
  2041. <Grid x:Name="Door_3F_A" Grid.Row="1" Margin="0,6,0,0" >
  2042. <Grid.RowDefinitions>
  2043. <RowDefinition Height="72"/>
  2044. <RowDefinition Height="72"/>
  2045. <RowDefinition Height="72"/>
  2046. <RowDefinition Height="82"/>
  2047. </Grid.RowDefinitions>
  2048. <Grid Grid.Row="0" >
  2049. <Grid.RowDefinitions>
  2050. <RowDefinition Height="1*"/>
  2051. <RowDefinition Height="1*"/>
  2052. <RowDefinition Height="4"/>
  2053. </Grid.RowDefinitions>
  2054. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2055. <Grid Grid.Row="1" Margin="0" Height="28" >
  2056. <Grid.ColumnDefinitions>
  2057. <ColumnDefinition Width="80"/>
  2058. <ColumnDefinition Width="80"/>
  2059. <ColumnDefinition Width="92"/>
  2060. <ColumnDefinition Width="1*"/>
  2061. </Grid.ColumnDefinitions>
  2062. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[48]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3A_GE1" HorizontalAlignment="Left"/>
  2063. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[49]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3A_GE2" HorizontalAlignment="Left"/>
  2064. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[50]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3A_HalfGate" HorizontalAlignment="Left"/>
  2065. </Grid>
  2066. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2067. </Grid>
  2068. <Grid Grid.Row="1" >
  2069. <Grid.RowDefinitions>
  2070. <RowDefinition Height="1*"/>
  2071. <RowDefinition Height="1*"/>
  2072. <RowDefinition Height="4"/>
  2073. </Grid.RowDefinitions>
  2074. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2075. <Grid Grid.Row="1" Height="28">
  2076. <Grid.ColumnDefinitions>
  2077. <ColumnDefinition Width="70"/>
  2078. <ColumnDefinition Width="70"/>
  2079. <ColumnDefinition Width="4*"/>
  2080. </Grid.ColumnDefinitions>
  2081. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[51]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
  2082. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[52]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
  2083. </Grid>
  2084. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2085. </Grid>
  2086. <Grid Grid.Row="2" >
  2087. <Grid.RowDefinitions>
  2088. <RowDefinition Height="1*"/>
  2089. <RowDefinition Height="1*"/>
  2090. <RowDefinition Height="4"/>
  2091. </Grid.RowDefinitions>
  2092. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2093. <Grid Grid.Row="1" Height="28">
  2094. <Grid.ColumnDefinitions>
  2095. <ColumnDefinition Width="80"/>
  2096. <ColumnDefinition Width="80"/>
  2097. <ColumnDefinition Width="80"/>
  2098. <ColumnDefinition Width="1*"/>
  2099. </Grid.ColumnDefinitions>
  2100. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[53]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3A_2100" HorizontalAlignment="Left"/>
  2101. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[54]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3A_2000" HorizontalAlignment="Left"/>
  2102. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[55]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3A_1900" HorizontalAlignment="Left"/>
  2103. </Grid>
  2104. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2105. </Grid>
  2106. <Grid Grid.Row="3">
  2107. <Grid.RowDefinitions>
  2108. <RowDefinition Height="1*"/>
  2109. <RowDefinition Height="1.5*"/>
  2110. <RowDefinition Height="4"/>
  2111. </Grid.RowDefinitions>
  2112. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2113. <Grid Grid.Row="1" >
  2114. <Grid.ColumnDefinitions>
  2115. <ColumnDefinition/>
  2116. <ColumnDefinition/>
  2117. </Grid.ColumnDefinitions>
  2118. <Grid.RowDefinitions>
  2119. <RowDefinition Height="4*"/>
  2120. <RowDefinition Height="6*"/>
  2121. </Grid.RowDefinitions>
  2122. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2123. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2124. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[2]}"/>
  2125. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[2]}" />
  2126. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[2]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_2A_Width}" HorizontalAlignment="Left" Width="128">
  2127. <ComboBox.ItemTemplate>
  2128. <DataTemplate>
  2129. <Grid Margin="2,0">
  2130. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2131. </Grid>
  2132. </DataTemplate>
  2133. </ComboBox.ItemTemplate>
  2134. <i:Interaction.Triggers>
  2135. <i:EventTrigger EventName="SelectionChanged">
  2136. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2137. </i:EventTrigger>
  2138. </i:Interaction.Triggers>
  2139. </ComboBox>
  2140. </Grid>
  2141. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2142. </Grid>
  2143. </Grid>
  2144. </TabItem>
  2145. <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_3F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[2]}">
  2146. <Grid x:Name="Door_3F_B" Grid.Row="1" Margin="0,6,0,0">
  2147. <Grid.RowDefinitions>
  2148. <RowDefinition Height="72"/>
  2149. <RowDefinition Height="72"/>
  2150. <RowDefinition Height="72"/>
  2151. <RowDefinition Height="82"/>
  2152. </Grid.RowDefinitions>
  2153. <Grid Grid.Row="0" >
  2154. <Grid.RowDefinitions>
  2155. <RowDefinition Height="1*"/>
  2156. <RowDefinition Height="1*"/>
  2157. <RowDefinition Height="4"/>
  2158. </Grid.RowDefinitions>
  2159. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2160. <Grid Grid.Row="1" Margin="0" Height="28" >
  2161. <Grid.ColumnDefinitions>
  2162. <ColumnDefinition Width="80"/>
  2163. <ColumnDefinition Width="80"/>
  2164. <ColumnDefinition Width="92"/>
  2165. <ColumnDefinition Width="1*"/>
  2166. </Grid.ColumnDefinitions>
  2167. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[56]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3B_GE1" HorizontalAlignment="Left"/>
  2168. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[57]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3B_GE2" HorizontalAlignment="Left"/>
  2169. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[58]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
  2170. </Grid>
  2171. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2172. </Grid>
  2173. <Grid Grid.Row="1" >
  2174. <Grid.RowDefinitions>
  2175. <RowDefinition Height="1*"/>
  2176. <RowDefinition Height="1*"/>
  2177. <RowDefinition Height="4"/>
  2178. </Grid.RowDefinitions>
  2179. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2180. <Grid Grid.Row="1" Height="28">
  2181. <Grid.ColumnDefinitions>
  2182. <ColumnDefinition Width="70"/>
  2183. <ColumnDefinition Width="70"/>
  2184. <ColumnDefinition Width="4*"/>
  2185. </Grid.ColumnDefinitions>
  2186. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[59]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
  2187. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[60]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
  2188. </Grid>
  2189. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2190. </Grid>
  2191. <Grid Grid.Row="2" >
  2192. <Grid.RowDefinitions>
  2193. <RowDefinition Height="1*"/>
  2194. <RowDefinition Height="1*"/>
  2195. <RowDefinition Height="4"/>
  2196. </Grid.RowDefinitions>
  2197. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2198. <Grid Grid.Row="1" Height="28">
  2199. <Grid.ColumnDefinitions>
  2200. <ColumnDefinition Width="80"/>
  2201. <ColumnDefinition Width="80"/>
  2202. <ColumnDefinition Width="80"/>
  2203. <ColumnDefinition Width="1*"/>
  2204. </Grid.ColumnDefinitions>
  2205. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[61]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3B_2100" HorizontalAlignment="Left"/>
  2206. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[62]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3B_2000" HorizontalAlignment="Left"/>
  2207. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[63]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3B_1900" HorizontalAlignment="Left"/>
  2208. </Grid>
  2209. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2210. </Grid>
  2211. <Grid Grid.Row="3">
  2212. <Grid.RowDefinitions>
  2213. <RowDefinition Height="1*"/>
  2214. <RowDefinition Height="1.5*"/>
  2215. <RowDefinition Height="4"/>
  2216. </Grid.RowDefinitions>
  2217. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2218. <Grid Grid.Row="1" >
  2219. <Grid.ColumnDefinitions>
  2220. <ColumnDefinition/>
  2221. <ColumnDefinition/>
  2222. </Grid.ColumnDefinitions>
  2223. <Grid.RowDefinitions>
  2224. <RowDefinition Height="4*"/>
  2225. <RowDefinition Height="6*"/>
  2226. </Grid.RowDefinitions>
  2227. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2228. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2229. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[2]}"/>
  2230. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[2]}"/>
  2231. <ComboBox x:Name="door2bWidth" Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[2]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_2B_Width}" HorizontalAlignment="Left" Width="128">
  2232. <ComboBox.ItemTemplate>
  2233. <DataTemplate>
  2234. <Grid Margin="2,0">
  2235. <TextBlock Text="{Binding Value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2236. </Grid>
  2237. </DataTemplate>
  2238. </ComboBox.ItemTemplate>
  2239. <i:Interaction.Triggers>
  2240. <i:EventTrigger EventName="SelectionChanged">
  2241. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2242. </i:EventTrigger>
  2243. </i:Interaction.Triggers>
  2244. </ComboBox>
  2245. </Grid>
  2246. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2247. </Grid>
  2248. </Grid>
  2249. </TabItem>
  2250. <TabItem x:Name="door_3F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[2]}">
  2251. <Grid x:Name="Door_3F_C" Grid.Row="1" Margin="0,6,0,0" >
  2252. <Grid.RowDefinitions>
  2253. <RowDefinition Height="72"/>
  2254. <RowDefinition Height="72"/>
  2255. <RowDefinition Height="72"/>
  2256. <RowDefinition Height="82"/>
  2257. </Grid.RowDefinitions>
  2258. <Grid Grid.Row="0" >
  2259. <Grid.RowDefinitions>
  2260. <RowDefinition Height="1*"/>
  2261. <RowDefinition Height="1*"/>
  2262. <RowDefinition Height="4"/>
  2263. </Grid.RowDefinitions>
  2264. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2265. <Grid Grid.Row="1" Margin="0" Height="28" >
  2266. <Grid.ColumnDefinitions>
  2267. <ColumnDefinition Width="80"/>
  2268. <ColumnDefinition Width="80"/>
  2269. <ColumnDefinition Width="92"/>
  2270. <ColumnDefinition Width="1*"/>
  2271. </Grid.ColumnDefinitions>
  2272. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[64]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3C_GE1" HorizontalAlignment="Left"/>
  2273. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[65]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3C_GE2" HorizontalAlignment="Left"/>
  2274. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[66]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3C_HalfGate" HorizontalAlignment="Left"/>
  2275. </Grid>
  2276. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2277. </Grid>
  2278. <Grid Grid.Row="1" >
  2279. <Grid.RowDefinitions>
  2280. <RowDefinition Height="1*"/>
  2281. <RowDefinition Height="1*"/>
  2282. <RowDefinition Height="4"/>
  2283. </Grid.RowDefinitions>
  2284. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2285. <Grid Grid.Row="1" Height="28">
  2286. <Grid.ColumnDefinitions>
  2287. <ColumnDefinition Width="70"/>
  2288. <ColumnDefinition Width="70"/>
  2289. <ColumnDefinition Width="4*"/>
  2290. </Grid.ColumnDefinitions>
  2291. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[67]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
  2292. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[68]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
  2293. </Grid>
  2294. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2295. </Grid>
  2296. <Grid Grid.Row="2" >
  2297. <Grid.RowDefinitions>
  2298. <RowDefinition Height="1*"/>
  2299. <RowDefinition Height="1*"/>
  2300. <RowDefinition Height="4"/>
  2301. </Grid.RowDefinitions>
  2302. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2303. <Grid Grid.Row="1" Height="28">
  2304. <Grid.ColumnDefinitions>
  2305. <ColumnDefinition Width="80"/>
  2306. <ColumnDefinition Width="80"/>
  2307. <ColumnDefinition Width="80"/>
  2308. <ColumnDefinition Width="1*"/>
  2309. </Grid.ColumnDefinitions>
  2310. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[69]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3C_2100" HorizontalAlignment="Left"/>
  2311. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[70]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3C_2000" HorizontalAlignment="Left"/>
  2312. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[71]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3C_1900" HorizontalAlignment="Left"/>
  2313. </Grid>
  2314. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2315. </Grid>
  2316. <Grid Grid.Row="3">
  2317. <Grid.RowDefinitions>
  2318. <RowDefinition Height="1*"/>
  2319. <RowDefinition Height="1.5*"/>
  2320. <RowDefinition Height="4"/>
  2321. </Grid.RowDefinitions>
  2322. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2323. <Grid Grid.Row="1" >
  2324. <Grid.ColumnDefinitions>
  2325. <ColumnDefinition/>
  2326. <ColumnDefinition/>
  2327. </Grid.ColumnDefinitions>
  2328. <Grid.RowDefinitions>
  2329. <RowDefinition Height="4*"/>
  2330. <RowDefinition Height="6*"/>
  2331. </Grid.RowDefinitions>
  2332. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2333. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2334. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[2]}"/>
  2335. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[2]}" />
  2336. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[2]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_2C_Width}" HorizontalAlignment="Left" Width="128">
  2337. <ComboBox.ItemTemplate>
  2338. <DataTemplate>
  2339. <Grid Margin="2,0">
  2340. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2341. </Grid>
  2342. </DataTemplate>
  2343. </ComboBox.ItemTemplate>
  2344. <i:Interaction.Triggers>
  2345. <i:EventTrigger EventName="SelectionChanged">
  2346. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2347. </i:EventTrigger>
  2348. </i:Interaction.Triggers>
  2349. </ComboBox>
  2350. </Grid>
  2351. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2352. </Grid>
  2353. </Grid>
  2354. </TabItem>
  2355. </TabControl>
  2356. </Grid>
  2357. <Grid x:Name="door_4F" Grid.Row="2" Visibility="{Binding Door_4F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
  2358. <Grid.RowDefinitions>
  2359. <RowDefinition/>
  2360. <RowDefinition Height="302"/>
  2361. <RowDefinition Height="0"/>
  2362. </Grid.RowDefinitions>
  2363. <Grid Grid.Row="0">
  2364. <Grid.RowDefinitions>
  2365. <RowDefinition Height="9*"/>
  2366. <RowDefinition Height="1*"/>
  2367. <RowDefinition Height="2*"/>
  2368. </Grid.RowDefinitions>
  2369. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  2370. <Grid.RowDefinitions>
  2371. <RowDefinition Height="34*"/>
  2372. <RowDefinition Height="69*"/>
  2373. <RowDefinition Height="80*"/>
  2374. <RowDefinition Height="74*"/>
  2375. </Grid.RowDefinitions>
  2376. <Grid.ColumnDefinitions>
  2377. <ColumnDefinition Width="94*"/>
  2378. <ColumnDefinition Width="72*"/>
  2379. <ColumnDefinition Width="92*"/>
  2380. <ColumnDefinition Width="72*"/>
  2381. <ColumnDefinition Width="94*"/>
  2382. </Grid.ColumnDefinitions>
  2383. <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="3" >
  2384. <Button.Content>
  2385. <Grid>
  2386. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2387. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2388. </Grid>
  2389. </Button.Content>
  2390. </Button>
  2391. <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="3" >
  2392. <Button.Content>
  2393. <Grid>
  2394. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2395. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2396. </Grid>
  2397. </Button.Content>
  2398. </Button>
  2399. <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="3" >
  2400. <Button.Content>
  2401. <Grid>
  2402. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2403. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2404. </Grid>
  2405. </Button.Content>
  2406. </Button>
  2407. </Grid>
  2408. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[3]}" Panel.ZIndex="-1"/>
  2409. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[3]}" Panel.ZIndex="-1"/>
  2410. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[3]}" Panel.ZIndex="-1"/>
  2411. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[3]}" Panel.ZIndex="-1"/>
  2412. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[3]}" Panel.ZIndex="-1"/>
  2413. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[3]}" Panel.ZIndex="-1"/>
  2414. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[3]}" Panel.ZIndex="-1"/>
  2415. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[3]}" Panel.ZIndex="-1"/>
  2416. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[3]}" Panel.ZIndex="-1"/>
  2417. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[3]}" Panel.ZIndex="-1"/>
  2418. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[3]}" Panel.ZIndex="-1"/>
  2419. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[3]}" Panel.ZIndex="-1"/>
  2420. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  2421. </Grid>
  2422. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[3]}"/>
  2423. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[3]}" Panel.ZIndex="1"/>-->
  2424. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[3]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  2425. <TabControl.Resources>
  2426. <Style TargetType="{x:Type TabPanel}">
  2427. <Setter Property="HorizontalAlignment" Value="Left"/>
  2428. </Style>
  2429. </TabControl.Resources>
  2430. <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_4F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[3]}">
  2431. <Grid x:Name="Door_4F_A" Grid.Row="1" Margin="0,6,0,0" >
  2432. <Grid.RowDefinitions>
  2433. <RowDefinition Height="72"/>
  2434. <RowDefinition Height="72"/>
  2435. <RowDefinition Height="72"/>
  2436. <RowDefinition Height="82"/>
  2437. </Grid.RowDefinitions>
  2438. <Grid Grid.Row="0" >
  2439. <Grid.RowDefinitions>
  2440. <RowDefinition Height="1*"/>
  2441. <RowDefinition Height="1*"/>
  2442. <RowDefinition Height="4"/>
  2443. </Grid.RowDefinitions>
  2444. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2445. <Grid Grid.Row="1" Margin="0" Height="28" >
  2446. <Grid.ColumnDefinitions>
  2447. <ColumnDefinition Width="80"/>
  2448. <ColumnDefinition Width="80"/>
  2449. <ColumnDefinition Width="92"/>
  2450. <ColumnDefinition Width="1*"/>
  2451. </Grid.ColumnDefinitions>
  2452. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[72]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4A_GE1" HorizontalAlignment="Left"/>
  2453. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[73]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4A_GE2" HorizontalAlignment="Left"/>
  2454. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[74]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4A_HalfGate" HorizontalAlignment="Left"/>
  2455. </Grid>
  2456. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2457. </Grid>
  2458. <Grid Grid.Row="1" >
  2459. <Grid.RowDefinitions>
  2460. <RowDefinition Height="1*"/>
  2461. <RowDefinition Height="1*"/>
  2462. <RowDefinition Height="4"/>
  2463. </Grid.RowDefinitions>
  2464. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2465. <Grid Grid.Row="1" Height="28">
  2466. <Grid.ColumnDefinitions>
  2467. <ColumnDefinition Width="70"/>
  2468. <ColumnDefinition Width="70"/>
  2469. <ColumnDefinition Width="4*"/>
  2470. </Grid.ColumnDefinitions>
  2471. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[75]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
  2472. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[76]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
  2473. </Grid>
  2474. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2475. </Grid>
  2476. <Grid Grid.Row="2" >
  2477. <Grid.RowDefinitions>
  2478. <RowDefinition Height="1*"/>
  2479. <RowDefinition Height="1*"/>
  2480. <RowDefinition Height="4"/>
  2481. </Grid.RowDefinitions>
  2482. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2483. <Grid Grid.Row="1" Height="28">
  2484. <Grid.ColumnDefinitions>
  2485. <ColumnDefinition Width="80"/>
  2486. <ColumnDefinition Width="80"/>
  2487. <ColumnDefinition Width="80"/>
  2488. <ColumnDefinition Width="1*"/>
  2489. </Grid.ColumnDefinitions>
  2490. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[77]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4A_2100" HorizontalAlignment="Left"/>
  2491. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[78]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4A_2000" HorizontalAlignment="Left"/>
  2492. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[79]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4A_1900" HorizontalAlignment="Left"/>
  2493. </Grid>
  2494. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2495. </Grid>
  2496. <Grid Grid.Row="3">
  2497. <Grid.RowDefinitions>
  2498. <RowDefinition Height="1*"/>
  2499. <RowDefinition Height="1.5*"/>
  2500. <RowDefinition Height="4"/>
  2501. </Grid.RowDefinitions>
  2502. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2503. <Grid Grid.Row="1" >
  2504. <Grid.ColumnDefinitions>
  2505. <ColumnDefinition/>
  2506. <ColumnDefinition/>
  2507. </Grid.ColumnDefinitions>
  2508. <Grid.RowDefinitions>
  2509. <RowDefinition Height="4*"/>
  2510. <RowDefinition Height="6*"/>
  2511. </Grid.RowDefinitions>
  2512. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2513. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2514. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[3]}"/>
  2515. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[3]}" />
  2516. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[3]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_3A_Width}" HorizontalAlignment="Left" Width="128">
  2517. <ComboBox.ItemTemplate>
  2518. <DataTemplate>
  2519. <Grid Margin="2,0">
  2520. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2521. </Grid>
  2522. </DataTemplate>
  2523. </ComboBox.ItemTemplate>
  2524. <i:Interaction.Triggers>
  2525. <i:EventTrigger EventName="SelectionChanged">
  2526. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2527. </i:EventTrigger>
  2528. </i:Interaction.Triggers>
  2529. </ComboBox>
  2530. </Grid>
  2531. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2532. </Grid>
  2533. </Grid>
  2534. </TabItem>
  2535. <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_4F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[3]}">
  2536. <Grid x:Name="Door_4F_B" Grid.Row="1" Margin="0,6,0,0">
  2537. <Grid.RowDefinitions>
  2538. <RowDefinition Height="72"/>
  2539. <RowDefinition Height="72"/>
  2540. <RowDefinition Height="72"/>
  2541. <RowDefinition Height="82"/>
  2542. </Grid.RowDefinitions>
  2543. <Grid Grid.Row="0" >
  2544. <Grid.RowDefinitions>
  2545. <RowDefinition Height="1*"/>
  2546. <RowDefinition Height="1*"/>
  2547. <RowDefinition Height="4"/>
  2548. </Grid.RowDefinitions>
  2549. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2550. <Grid Grid.Row="1" Margin="0" Height="28" >
  2551. <Grid.ColumnDefinitions>
  2552. <ColumnDefinition Width="80"/>
  2553. <ColumnDefinition Width="80"/>
  2554. <ColumnDefinition Width="92"/>
  2555. <ColumnDefinition Width="1*"/>
  2556. </Grid.ColumnDefinitions>
  2557. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[80]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4B_GE1" HorizontalAlignment="Left"/>
  2558. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[81]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4B_GE2" HorizontalAlignment="Left"/>
  2559. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[82]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
  2560. </Grid>
  2561. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2562. </Grid>
  2563. <Grid Grid.Row="1" >
  2564. <Grid.RowDefinitions>
  2565. <RowDefinition Height="1*"/>
  2566. <RowDefinition Height="1*"/>
  2567. <RowDefinition Height="4"/>
  2568. </Grid.RowDefinitions>
  2569. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2570. <Grid Grid.Row="1" Height="28">
  2571. <Grid.ColumnDefinitions>
  2572. <ColumnDefinition Width="70"/>
  2573. <ColumnDefinition Width="70"/>
  2574. <ColumnDefinition Width="4*"/>
  2575. </Grid.ColumnDefinitions>
  2576. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[83]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
  2577. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[84]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
  2578. </Grid>
  2579. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2580. </Grid>
  2581. <Grid Grid.Row="2" >
  2582. <Grid.RowDefinitions>
  2583. <RowDefinition Height="1*"/>
  2584. <RowDefinition Height="1*"/>
  2585. <RowDefinition Height="4"/>
  2586. </Grid.RowDefinitions>
  2587. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2588. <Grid Grid.Row="1" Height="28">
  2589. <Grid.ColumnDefinitions>
  2590. <ColumnDefinition Width="80"/>
  2591. <ColumnDefinition Width="80"/>
  2592. <ColumnDefinition Width="80"/>
  2593. <ColumnDefinition Width="1*"/>
  2594. </Grid.ColumnDefinitions>
  2595. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[85]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4B_2100" HorizontalAlignment="Left"/>
  2596. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[86]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4B_2000" HorizontalAlignment="Left"/>
  2597. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[87]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4B_1900" HorizontalAlignment="Left"/>
  2598. </Grid>
  2599. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2600. </Grid>
  2601. <Grid Grid.Row="3">
  2602. <Grid.RowDefinitions>
  2603. <RowDefinition Height="1*"/>
  2604. <RowDefinition Height="1.5*"/>
  2605. <RowDefinition Height="4"/>
  2606. </Grid.RowDefinitions>
  2607. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2608. <Grid Grid.Row="1" >
  2609. <Grid.ColumnDefinitions>
  2610. <ColumnDefinition/>
  2611. <ColumnDefinition/>
  2612. </Grid.ColumnDefinitions>
  2613. <Grid.RowDefinitions>
  2614. <RowDefinition Height="4*"/>
  2615. <RowDefinition Height="6*"/>
  2616. </Grid.RowDefinitions>
  2617. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2618. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2619. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[3]}"/>
  2620. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[3]}"/>
  2621. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[3]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_3B_Width}" HorizontalAlignment="Left" Width="128">
  2622. <ComboBox.ItemTemplate>
  2623. <DataTemplate>
  2624. <Grid Margin="2,0">
  2625. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2626. </Grid>
  2627. </DataTemplate>
  2628. </ComboBox.ItemTemplate>
  2629. <i:Interaction.Triggers>
  2630. <i:EventTrigger EventName="SelectionChanged">
  2631. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2632. </i:EventTrigger>
  2633. </i:Interaction.Triggers>
  2634. </ComboBox>
  2635. </Grid>
  2636. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2637. </Grid>
  2638. </Grid>
  2639. </TabItem>
  2640. <TabItem x:Name="door_4F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[3]}">
  2641. <Grid x:Name="Door_4F_C" Grid.Row="1" Margin="0,6,0,0" >
  2642. <Grid.RowDefinitions>
  2643. <RowDefinition Height="72"/>
  2644. <RowDefinition Height="72"/>
  2645. <RowDefinition Height="72"/>
  2646. <RowDefinition Height="82"/>
  2647. </Grid.RowDefinitions>
  2648. <Grid Grid.Row="0" >
  2649. <Grid.RowDefinitions>
  2650. <RowDefinition Height="1*"/>
  2651. <RowDefinition Height="1*"/>
  2652. <RowDefinition Height="4"/>
  2653. </Grid.RowDefinitions>
  2654. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2655. <Grid Grid.Row="1" Margin="0" Height="28" >
  2656. <Grid.ColumnDefinitions>
  2657. <ColumnDefinition Width="80"/>
  2658. <ColumnDefinition Width="80"/>
  2659. <ColumnDefinition Width="92"/>
  2660. <ColumnDefinition Width="1*"/>
  2661. </Grid.ColumnDefinitions>
  2662. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[88]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4C_GE1" HorizontalAlignment="Left"/>
  2663. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[89]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4C_GE2" HorizontalAlignment="Left"/>
  2664. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[90]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4C_HalfGate" HorizontalAlignment="Left"/>
  2665. </Grid>
  2666. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2667. </Grid>
  2668. <Grid Grid.Row="1" >
  2669. <Grid.RowDefinitions>
  2670. <RowDefinition Height="1*"/>
  2671. <RowDefinition Height="1*"/>
  2672. <RowDefinition Height="4"/>
  2673. </Grid.RowDefinitions>
  2674. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2675. <Grid Grid.Row="1" Height="28">
  2676. <Grid.ColumnDefinitions>
  2677. <ColumnDefinition Width="70"/>
  2678. <ColumnDefinition Width="70"/>
  2679. <ColumnDefinition Width="4*"/>
  2680. </Grid.ColumnDefinitions>
  2681. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[91]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
  2682. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[92]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
  2683. </Grid>
  2684. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2685. </Grid>
  2686. <Grid Grid.Row="2" >
  2687. <Grid.RowDefinitions>
  2688. <RowDefinition Height="1*"/>
  2689. <RowDefinition Height="1*"/>
  2690. <RowDefinition Height="4"/>
  2691. </Grid.RowDefinitions>
  2692. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2693. <Grid Grid.Row="1" Height="28">
  2694. <Grid.ColumnDefinitions>
  2695. <ColumnDefinition Width="80"/>
  2696. <ColumnDefinition Width="80"/>
  2697. <ColumnDefinition Width="80"/>
  2698. <ColumnDefinition Width="1*"/>
  2699. </Grid.ColumnDefinitions>
  2700. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[93]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4C_2100" HorizontalAlignment="Left"/>
  2701. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[94]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4C_2000" HorizontalAlignment="Left"/>
  2702. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[95]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4C_1900" HorizontalAlignment="Left"/>
  2703. </Grid>
  2704. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2705. </Grid>
  2706. <Grid Grid.Row="3">
  2707. <Grid.RowDefinitions>
  2708. <RowDefinition Height="1*"/>
  2709. <RowDefinition Height="1.5*"/>
  2710. <RowDefinition Height="4"/>
  2711. </Grid.RowDefinitions>
  2712. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2713. <Grid Grid.Row="1" >
  2714. <Grid.ColumnDefinitions>
  2715. <ColumnDefinition/>
  2716. <ColumnDefinition/>
  2717. </Grid.ColumnDefinitions>
  2718. <Grid.RowDefinitions>
  2719. <RowDefinition Height="4*"/>
  2720. <RowDefinition Height="6*"/>
  2721. </Grid.RowDefinitions>
  2722. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2723. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2724. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[3]}"/>
  2725. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[3]}" />
  2726. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[3]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_3C_Width}" HorizontalAlignment="Left" Width="128">
  2727. <ComboBox.ItemTemplate>
  2728. <DataTemplate>
  2729. <Grid Margin="2,0">
  2730. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2731. </Grid>
  2732. </DataTemplate>
  2733. </ComboBox.ItemTemplate>
  2734. <i:Interaction.Triggers>
  2735. <i:EventTrigger EventName="SelectionChanged">
  2736. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2737. </i:EventTrigger>
  2738. </i:Interaction.Triggers>
  2739. </ComboBox>
  2740. </Grid>
  2741. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2742. </Grid>
  2743. </Grid>
  2744. </TabItem>
  2745. </TabControl>
  2746. </Grid>
  2747. <Grid x:Name="door_5F" Grid.Row="2" Visibility="{Binding Door_5F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
  2748. <Grid.RowDefinitions>
  2749. <RowDefinition/>
  2750. <RowDefinition Height="302"/>
  2751. <RowDefinition Height="0"/>
  2752. </Grid.RowDefinitions>
  2753. <Grid Grid.Row="0">
  2754. <Grid.RowDefinitions>
  2755. <RowDefinition Height="9*"/>
  2756. <RowDefinition Height="1*"/>
  2757. <RowDefinition Height="2*"/>
  2758. </Grid.RowDefinitions>
  2759. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  2760. <Grid.RowDefinitions>
  2761. <RowDefinition Height="34*"/>
  2762. <RowDefinition Height="69*"/>
  2763. <RowDefinition Height="80*"/>
  2764. <RowDefinition Height="74*"/>
  2765. </Grid.RowDefinitions>
  2766. <Grid.ColumnDefinitions>
  2767. <ColumnDefinition Width="94*"/>
  2768. <ColumnDefinition Width="72*"/>
  2769. <ColumnDefinition Width="92*"/>
  2770. <ColumnDefinition Width="72*"/>
  2771. <ColumnDefinition Width="94*"/>
  2772. </Grid.ColumnDefinitions>
  2773. <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="4" >
  2774. <Button.Content>
  2775. <Grid>
  2776. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2777. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2778. </Grid>
  2779. </Button.Content>
  2780. </Button>
  2781. <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="4" >
  2782. <Button.Content>
  2783. <Grid>
  2784. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2785. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2786. </Grid>
  2787. </Button.Content>
  2788. </Button>
  2789. <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="4" >
  2790. <Button.Content>
  2791. <Grid>
  2792. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2793. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2794. </Grid>
  2795. </Button.Content>
  2796. </Button>
  2797. </Grid>
  2798. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[4]}" Panel.ZIndex="-1"/>
  2799. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[4]}" Panel.ZIndex="-1"/>
  2800. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[4]}" Panel.ZIndex="-1"/>
  2801. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[4]}" Panel.ZIndex="-1"/>
  2802. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[4]}" Panel.ZIndex="-1"/>
  2803. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[4]}" Panel.ZIndex="-1"/>
  2804. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[4]}" Panel.ZIndex="-1"/>
  2805. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[4]}" Panel.ZIndex="-1"/>
  2806. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[4]}" Panel.ZIndex="-1"/>
  2807. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[4]}" Panel.ZIndex="-1"/>
  2808. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[4]}" Panel.ZIndex="-1"/>
  2809. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[4]}" Panel.ZIndex="-1"/>
  2810. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  2811. </Grid>
  2812. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[4]}"/>
  2813. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[4]}" Panel.ZIndex="1"/>-->
  2814. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[4]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  2815. <TabControl.Resources>
  2816. <Style TargetType="{x:Type TabPanel}">
  2817. <Setter Property="HorizontalAlignment" Value="Left"/>
  2818. </Style>
  2819. </TabControl.Resources>
  2820. <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_5F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[4]}">
  2821. <Grid x:Name="Door_5F_A" Grid.Row="1" Margin="0,6,0,0" >
  2822. <Grid.RowDefinitions>
  2823. <RowDefinition Height="72"/>
  2824. <RowDefinition Height="72"/>
  2825. <RowDefinition Height="72"/>
  2826. <RowDefinition Height="82"/>
  2827. </Grid.RowDefinitions>
  2828. <Grid Grid.Row="0" >
  2829. <Grid.RowDefinitions>
  2830. <RowDefinition Height="1*"/>
  2831. <RowDefinition Height="1*"/>
  2832. <RowDefinition Height="4"/>
  2833. </Grid.RowDefinitions>
  2834. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2835. <Grid Grid.Row="1" Margin="0" Height="28" >
  2836. <Grid.ColumnDefinitions>
  2837. <ColumnDefinition Width="80"/>
  2838. <ColumnDefinition Width="80"/>
  2839. <ColumnDefinition Width="92"/>
  2840. <ColumnDefinition Width="1*"/>
  2841. </Grid.ColumnDefinitions>
  2842. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[96]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5A_GE1" HorizontalAlignment="Left"/>
  2843. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[97]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5A_GE2" HorizontalAlignment="Left"/>
  2844. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[98]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5A_HalfGate" HorizontalAlignment="Left"/>
  2845. </Grid>
  2846. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2847. </Grid>
  2848. <Grid Grid.Row="1" >
  2849. <Grid.RowDefinitions>
  2850. <RowDefinition Height="1*"/>
  2851. <RowDefinition Height="1*"/>
  2852. <RowDefinition Height="4"/>
  2853. </Grid.RowDefinitions>
  2854. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2855. <Grid Grid.Row="1" Height="28">
  2856. <Grid.ColumnDefinitions>
  2857. <ColumnDefinition Width="70"/>
  2858. <ColumnDefinition Width="70"/>
  2859. <ColumnDefinition Width="4*"/>
  2860. </Grid.ColumnDefinitions>
  2861. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[99]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
  2862. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[100]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
  2863. </Grid>
  2864. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2865. </Grid>
  2866. <Grid Grid.Row="2" >
  2867. <Grid.RowDefinitions>
  2868. <RowDefinition Height="1*"/>
  2869. <RowDefinition Height="1*"/>
  2870. <RowDefinition Height="4"/>
  2871. </Grid.RowDefinitions>
  2872. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2873. <Grid Grid.Row="1" Height="28">
  2874. <Grid.ColumnDefinitions>
  2875. <ColumnDefinition Width="80"/>
  2876. <ColumnDefinition Width="80"/>
  2877. <ColumnDefinition Width="80"/>
  2878. <ColumnDefinition Width="1*"/>
  2879. </Grid.ColumnDefinitions>
  2880. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[101]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5A_2100" HorizontalAlignment="Left"/>
  2881. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[102]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5A_2000" HorizontalAlignment="Left"/>
  2882. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[103]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5A_1900" HorizontalAlignment="Left"/>
  2883. </Grid>
  2884. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2885. </Grid>
  2886. <Grid Grid.Row="3">
  2887. <Grid.RowDefinitions>
  2888. <RowDefinition Height="1*"/>
  2889. <RowDefinition Height="1.5*"/>
  2890. <RowDefinition Height="4"/>
  2891. </Grid.RowDefinitions>
  2892. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2893. <Grid Grid.Row="1" >
  2894. <Grid.ColumnDefinitions>
  2895. <ColumnDefinition/>
  2896. <ColumnDefinition/>
  2897. </Grid.ColumnDefinitions>
  2898. <Grid.RowDefinitions>
  2899. <RowDefinition Height="4*"/>
  2900. <RowDefinition Height="6*"/>
  2901. </Grid.RowDefinitions>
  2902. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2903. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2904. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[4]}"/>
  2905. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[4]}" />
  2906. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[4]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_4A_Width}" HorizontalAlignment="Left" Width="128">
  2907. <ComboBox.ItemTemplate>
  2908. <DataTemplate>
  2909. <Grid Margin="2,0">
  2910. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2911. </Grid>
  2912. </DataTemplate>
  2913. </ComboBox.ItemTemplate>
  2914. <i:Interaction.Triggers>
  2915. <i:EventTrigger EventName="SelectionChanged">
  2916. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2917. </i:EventTrigger>
  2918. </i:Interaction.Triggers>
  2919. </ComboBox>
  2920. </Grid>
  2921. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2922. </Grid>
  2923. </Grid>
  2924. </TabItem>
  2925. <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_5F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[4]}">
  2926. <Grid x:Name="Door_5F_B" Grid.Row="1" Margin="0,6,0,0">
  2927. <Grid.RowDefinitions>
  2928. <RowDefinition Height="72"/>
  2929. <RowDefinition Height="72"/>
  2930. <RowDefinition Height="72"/>
  2931. <RowDefinition Height="82"/>
  2932. </Grid.RowDefinitions>
  2933. <Grid Grid.Row="0" >
  2934. <Grid.RowDefinitions>
  2935. <RowDefinition Height="1*"/>
  2936. <RowDefinition Height="1*"/>
  2937. <RowDefinition Height="4"/>
  2938. </Grid.RowDefinitions>
  2939. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2940. <Grid Grid.Row="1" Margin="0" Height="28" >
  2941. <Grid.ColumnDefinitions>
  2942. <ColumnDefinition Width="80"/>
  2943. <ColumnDefinition Width="80"/>
  2944. <ColumnDefinition Width="92"/>
  2945. <ColumnDefinition Width="1*"/>
  2946. </Grid.ColumnDefinitions>
  2947. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[104]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5B_GE1" HorizontalAlignment="Left"/>
  2948. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[105]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5B_GE2" HorizontalAlignment="Left"/>
  2949. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[106]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
  2950. </Grid>
  2951. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2952. </Grid>
  2953. <Grid Grid.Row="1" >
  2954. <Grid.RowDefinitions>
  2955. <RowDefinition Height="1*"/>
  2956. <RowDefinition Height="1*"/>
  2957. <RowDefinition Height="4"/>
  2958. </Grid.RowDefinitions>
  2959. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2960. <Grid Grid.Row="1" Height="28">
  2961. <Grid.ColumnDefinitions>
  2962. <ColumnDefinition Width="70"/>
  2963. <ColumnDefinition Width="70"/>
  2964. <ColumnDefinition Width="4*"/>
  2965. </Grid.ColumnDefinitions>
  2966. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[107]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
  2967. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[108]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
  2968. </Grid>
  2969. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2970. </Grid>
  2971. <Grid Grid.Row="2" >
  2972. <Grid.RowDefinitions>
  2973. <RowDefinition Height="1*"/>
  2974. <RowDefinition Height="1*"/>
  2975. <RowDefinition Height="4"/>
  2976. </Grid.RowDefinitions>
  2977. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2978. <Grid Grid.Row="1" Height="28">
  2979. <Grid.ColumnDefinitions>
  2980. <ColumnDefinition Width="80"/>
  2981. <ColumnDefinition Width="80"/>
  2982. <ColumnDefinition Width="80"/>
  2983. <ColumnDefinition Width="1*"/>
  2984. </Grid.ColumnDefinitions>
  2985. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[109]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5B_2100" HorizontalAlignment="Left"/>
  2986. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[110]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5B_2000" HorizontalAlignment="Left"/>
  2987. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[111]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5B_1900" HorizontalAlignment="Left"/>
  2988. </Grid>
  2989. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2990. </Grid>
  2991. <Grid Grid.Row="3">
  2992. <Grid.RowDefinitions>
  2993. <RowDefinition Height="1*"/>
  2994. <RowDefinition Height="1.5*"/>
  2995. <RowDefinition Height="4"/>
  2996. </Grid.RowDefinitions>
  2997. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2998. <Grid Grid.Row="1" >
  2999. <Grid.ColumnDefinitions>
  3000. <ColumnDefinition/>
  3001. <ColumnDefinition/>
  3002. </Grid.ColumnDefinitions>
  3003. <Grid.RowDefinitions>
  3004. <RowDefinition Height="4*"/>
  3005. <RowDefinition Height="6*"/>
  3006. </Grid.RowDefinitions>
  3007. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3008. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3009. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[4]}"/>
  3010. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[4]}"/>
  3011. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[4]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_4B_Width}" HorizontalAlignment="Left" Width="128">
  3012. <ComboBox.ItemTemplate>
  3013. <DataTemplate>
  3014. <Grid Margin="2,0">
  3015. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  3016. </Grid>
  3017. </DataTemplate>
  3018. </ComboBox.ItemTemplate>
  3019. <i:Interaction.Triggers>
  3020. <i:EventTrigger EventName="SelectionChanged">
  3021. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  3022. </i:EventTrigger>
  3023. </i:Interaction.Triggers>
  3024. </ComboBox>
  3025. </Grid>
  3026. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3027. </Grid>
  3028. </Grid>
  3029. </TabItem>
  3030. <TabItem x:Name="door_5F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[4]}">
  3031. <Grid x:Name="Door_5F_C" Grid.Row="1" Margin="0,6,0,0" >
  3032. <Grid.RowDefinitions>
  3033. <RowDefinition Height="72"/>
  3034. <RowDefinition Height="72"/>
  3035. <RowDefinition Height="72"/>
  3036. <RowDefinition Height="82"/>
  3037. </Grid.RowDefinitions>
  3038. <Grid Grid.Row="0" >
  3039. <Grid.RowDefinitions>
  3040. <RowDefinition Height="1*"/>
  3041. <RowDefinition Height="1*"/>
  3042. <RowDefinition Height="4"/>
  3043. </Grid.RowDefinitions>
  3044. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3045. <Grid Grid.Row="1" Margin="0" Height="28" >
  3046. <Grid.ColumnDefinitions>
  3047. <ColumnDefinition Width="80"/>
  3048. <ColumnDefinition Width="80"/>
  3049. <ColumnDefinition Width="92"/>
  3050. <ColumnDefinition Width="1*"/>
  3051. </Grid.ColumnDefinitions>
  3052. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[112]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5C_GE1" HorizontalAlignment="Left"/>
  3053. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[113]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5C_GE2" HorizontalAlignment="Left"/>
  3054. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[114]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5C_HalfGate" HorizontalAlignment="Left"/>
  3055. </Grid>
  3056. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3057. </Grid>
  3058. <Grid Grid.Row="1" >
  3059. <Grid.RowDefinitions>
  3060. <RowDefinition Height="1*"/>
  3061. <RowDefinition Height="1*"/>
  3062. <RowDefinition Height="4"/>
  3063. </Grid.RowDefinitions>
  3064. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3065. <Grid Grid.Row="1" Height="28">
  3066. <Grid.ColumnDefinitions>
  3067. <ColumnDefinition Width="70"/>
  3068. <ColumnDefinition Width="70"/>
  3069. <ColumnDefinition Width="4*"/>
  3070. </Grid.ColumnDefinitions>
  3071. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[115]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
  3072. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[116]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
  3073. </Grid>
  3074. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3075. </Grid>
  3076. <Grid Grid.Row="2" >
  3077. <Grid.RowDefinitions>
  3078. <RowDefinition Height="1*"/>
  3079. <RowDefinition Height="1*"/>
  3080. <RowDefinition Height="4"/>
  3081. </Grid.RowDefinitions>
  3082. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3083. <Grid Grid.Row="1" Height="28">
  3084. <Grid.ColumnDefinitions>
  3085. <ColumnDefinition Width="80"/>
  3086. <ColumnDefinition Width="80"/>
  3087. <ColumnDefinition Width="80"/>
  3088. <ColumnDefinition Width="1*"/>
  3089. </Grid.ColumnDefinitions>
  3090. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[117]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5C_2100" HorizontalAlignment="Left"/>
  3091. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[118]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5C_2000" HorizontalAlignment="Left"/>
  3092. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[119]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5C_1900" HorizontalAlignment="Left"/>
  3093. </Grid>
  3094. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3095. </Grid>
  3096. <Grid Grid.Row="3">
  3097. <Grid.RowDefinitions>
  3098. <RowDefinition Height="1*"/>
  3099. <RowDefinition Height="1.5*"/>
  3100. <RowDefinition Height="4"/>
  3101. </Grid.RowDefinitions>
  3102. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3103. <Grid Grid.Row="1" >
  3104. <Grid.ColumnDefinitions>
  3105. <ColumnDefinition/>
  3106. <ColumnDefinition/>
  3107. </Grid.ColumnDefinitions>
  3108. <Grid.RowDefinitions>
  3109. <RowDefinition Height="4*"/>
  3110. <RowDefinition Height="6*"/>
  3111. </Grid.RowDefinitions>
  3112. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3113. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3114. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[4]}"/>
  3115. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[4]}" />
  3116. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[4]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_4C_Width}" HorizontalAlignment="Left" Width="128">
  3117. <ComboBox.ItemTemplate>
  3118. <DataTemplate>
  3119. <Grid Margin="2,0">
  3120. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  3121. </Grid>
  3122. </DataTemplate>
  3123. </ComboBox.ItemTemplate>
  3124. <i:Interaction.Triggers>
  3125. <i:EventTrigger EventName="SelectionChanged">
  3126. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  3127. </i:EventTrigger>
  3128. </i:Interaction.Triggers>
  3129. </ComboBox>
  3130. </Grid>
  3131. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3132. </Grid>
  3133. </Grid>
  3134. </TabItem>
  3135. </TabControl>
  3136. </Grid>
  3137. <Grid x:Name="door_6F" Grid.Row="2" Visibility="{Binding Door_6F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
  3138. <Grid.RowDefinitions>
  3139. <RowDefinition/>
  3140. <RowDefinition Height="302"/>
  3141. <RowDefinition Height="0"/>
  3142. </Grid.RowDefinitions>
  3143. <Grid Grid.Row="0">
  3144. <Grid.RowDefinitions>
  3145. <RowDefinition Height="9*"/>
  3146. <RowDefinition Height="1*"/>
  3147. <RowDefinition Height="2*"/>
  3148. </Grid.RowDefinitions>
  3149. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  3150. <Grid.RowDefinitions>
  3151. <RowDefinition Height="34*"/>
  3152. <RowDefinition Height="69*"/>
  3153. <RowDefinition Height="80*"/>
  3154. <RowDefinition Height="74*"/>
  3155. </Grid.RowDefinitions>
  3156. <Grid.ColumnDefinitions>
  3157. <ColumnDefinition Width="94*"/>
  3158. <ColumnDefinition Width="72*"/>
  3159. <ColumnDefinition Width="92*"/>
  3160. <ColumnDefinition Width="72*"/>
  3161. <ColumnDefinition Width="94*"/>
  3162. </Grid.ColumnDefinitions>
  3163. <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="5" >
  3164. <Button.Content>
  3165. <Grid>
  3166. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  3167. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  3168. </Grid>
  3169. </Button.Content>
  3170. </Button>
  3171. <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="5" >
  3172. <Button.Content>
  3173. <Grid>
  3174. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  3175. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  3176. </Grid>
  3177. </Button.Content>
  3178. </Button>
  3179. <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="5" >
  3180. <Button.Content>
  3181. <Grid>
  3182. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  3183. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  3184. </Grid>
  3185. </Button.Content>
  3186. </Button>
  3187. </Grid>
  3188. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[5]}" Panel.ZIndex="-1"/>
  3189. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[5]}" Panel.ZIndex="-1"/>
  3190. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[5]}" Panel.ZIndex="-1"/>
  3191. <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[5]}" Panel.ZIndex="-1"/>
  3192. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[5]}" Panel.ZIndex="-1"/>
  3193. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[5]}" Panel.ZIndex="-1"/>
  3194. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[5]}" Panel.ZIndex="-1"/>
  3195. <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[5]}" Panel.ZIndex="-1"/>
  3196. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[5]}" Panel.ZIndex="-1"/>
  3197. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[5]}" Panel.ZIndex="-1"/>
  3198. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[5]}" Panel.ZIndex="-1"/>
  3199. <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[5]}" Panel.ZIndex="-1"/>
  3200. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  3201. </Grid>
  3202. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[5]}"/>
  3203. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[5]}" Panel.ZIndex="1"/>-->
  3204. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[5]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  3205. <TabControl.Resources>
  3206. <Style TargetType="{x:Type TabPanel}">
  3207. <Setter Property="HorizontalAlignment" Value="Left"/>
  3208. </Style>
  3209. </TabControl.Resources>
  3210. <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_6F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[5]}">
  3211. <Grid x:Name="Door_6F_A" Grid.Row="1" Margin="0,6,0,0" >
  3212. <Grid.RowDefinitions>
  3213. <RowDefinition Height="72"/>
  3214. <RowDefinition Height="72"/>
  3215. <RowDefinition Height="72"/>
  3216. <RowDefinition Height="82"/>
  3217. </Grid.RowDefinitions>
  3218. <Grid Grid.Row="0" >
  3219. <Grid.RowDefinitions>
  3220. <RowDefinition Height="1*"/>
  3221. <RowDefinition Height="1*"/>
  3222. <RowDefinition Height="4"/>
  3223. </Grid.RowDefinitions>
  3224. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3225. <Grid Grid.Row="1" Margin="0" Height="28" >
  3226. <Grid.ColumnDefinitions>
  3227. <ColumnDefinition Width="80"/>
  3228. <ColumnDefinition Width="80"/>
  3229. <ColumnDefinition Width="92"/>
  3230. <ColumnDefinition Width="1*"/>
  3231. </Grid.ColumnDefinitions>
  3232. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[120]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6A_GE1" HorizontalAlignment="Left"/>
  3233. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[121]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6A_GE2" HorizontalAlignment="Left"/>
  3234. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[122]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6A_HalfGate" HorizontalAlignment="Left"/>
  3235. </Grid>
  3236. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3237. </Grid>
  3238. <Grid Grid.Row="1" >
  3239. <Grid.RowDefinitions>
  3240. <RowDefinition Height="1*"/>
  3241. <RowDefinition Height="1*"/>
  3242. <RowDefinition Height="4"/>
  3243. </Grid.RowDefinitions>
  3244. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3245. <Grid Grid.Row="1" Height="28">
  3246. <Grid.ColumnDefinitions>
  3247. <ColumnDefinition Width="70"/>
  3248. <ColumnDefinition Width="70"/>
  3249. <ColumnDefinition Width="4*"/>
  3250. </Grid.ColumnDefinitions>
  3251. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[123]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
  3252. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[124]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
  3253. </Grid>
  3254. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3255. </Grid>
  3256. <Grid Grid.Row="2" >
  3257. <Grid.RowDefinitions>
  3258. <RowDefinition Height="1*"/>
  3259. <RowDefinition Height="1*"/>
  3260. <RowDefinition Height="4"/>
  3261. </Grid.RowDefinitions>
  3262. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3263. <Grid Grid.Row="1" Height="28">
  3264. <Grid.ColumnDefinitions>
  3265. <ColumnDefinition Width="80"/>
  3266. <ColumnDefinition Width="80"/>
  3267. <ColumnDefinition Width="80"/>
  3268. <ColumnDefinition Width="1*"/>
  3269. </Grid.ColumnDefinitions>
  3270. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[125]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6A_2100" HorizontalAlignment="Left"/>
  3271. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[126]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6A_2000" HorizontalAlignment="Left"/>
  3272. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[127]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6A_1900" HorizontalAlignment="Left"/>
  3273. </Grid>
  3274. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3275. </Grid>
  3276. <Grid Grid.Row="3">
  3277. <Grid.RowDefinitions>
  3278. <RowDefinition Height="1*"/>
  3279. <RowDefinition Height="1.5*"/>
  3280. <RowDefinition Height="4"/>
  3281. </Grid.RowDefinitions>
  3282. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3283. <Grid Grid.Row="1" >
  3284. <Grid.ColumnDefinitions>
  3285. <ColumnDefinition/>
  3286. <ColumnDefinition/>
  3287. </Grid.ColumnDefinitions>
  3288. <Grid.RowDefinitions>
  3289. <RowDefinition Height="4*"/>
  3290. <RowDefinition Height="6*"/>
  3291. </Grid.RowDefinitions>
  3292. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3293. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[5]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3294. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[5]}"/>
  3295. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[5]}" />
  3296. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[5]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_5A_Width}" HorizontalAlignment="Left" Width="128">
  3297. <ComboBox.ItemTemplate>
  3298. <DataTemplate>
  3299. <Grid Margin="2,0">
  3300. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  3301. </Grid>
  3302. </DataTemplate>
  3303. </ComboBox.ItemTemplate>
  3304. <i:Interaction.Triggers>
  3305. <i:EventTrigger EventName="SelectionChanged">
  3306. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  3307. </i:EventTrigger>
  3308. </i:Interaction.Triggers>
  3309. </ComboBox>
  3310. </Grid>
  3311. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3312. </Grid>
  3313. </Grid>
  3314. </TabItem>
  3315. <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_6F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[5]}">
  3316. <Grid x:Name="Door_6F_B" Grid.Row="1" Margin="0,6,0,0">
  3317. <Grid.RowDefinitions>
  3318. <RowDefinition Height="72"/>
  3319. <RowDefinition Height="72"/>
  3320. <RowDefinition Height="72"/>
  3321. <RowDefinition Height="82"/>
  3322. </Grid.RowDefinitions>
  3323. <Grid Grid.Row="0" >
  3324. <Grid.RowDefinitions>
  3325. <RowDefinition Height="1*"/>
  3326. <RowDefinition Height="1*"/>
  3327. <RowDefinition Height="4"/>
  3328. </Grid.RowDefinitions>
  3329. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3330. <Grid Grid.Row="1" Margin="0" Height="28" >
  3331. <Grid.ColumnDefinitions>
  3332. <ColumnDefinition Width="80"/>
  3333. <ColumnDefinition Width="80"/>
  3334. <ColumnDefinition Width="92"/>
  3335. <ColumnDefinition Width="1*"/>
  3336. </Grid.ColumnDefinitions>
  3337. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[128]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6B_GE1" HorizontalAlignment="Left"/>
  3338. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[129]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6B_GE2" HorizontalAlignment="Left"/>
  3339. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[130]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
  3340. </Grid>
  3341. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3342. </Grid>
  3343. <Grid Grid.Row="1" >
  3344. <Grid.RowDefinitions>
  3345. <RowDefinition Height="1*"/>
  3346. <RowDefinition Height="1*"/>
  3347. <RowDefinition Height="4"/>
  3348. </Grid.RowDefinitions>
  3349. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3350. <Grid Grid.Row="1" Height="28">
  3351. <Grid.ColumnDefinitions>
  3352. <ColumnDefinition Width="70"/>
  3353. <ColumnDefinition Width="70"/>
  3354. <ColumnDefinition Width="4*"/>
  3355. </Grid.ColumnDefinitions>
  3356. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[131]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
  3357. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[132]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
  3358. </Grid>
  3359. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3360. </Grid>
  3361. <Grid Grid.Row="2" >
  3362. <Grid.RowDefinitions>
  3363. <RowDefinition Height="1*"/>
  3364. <RowDefinition Height="1*"/>
  3365. <RowDefinition Height="4"/>
  3366. </Grid.RowDefinitions>
  3367. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3368. <Grid Grid.Row="1" Height="28">
  3369. <Grid.ColumnDefinitions>
  3370. <ColumnDefinition Width="80"/>
  3371. <ColumnDefinition Width="80"/>
  3372. <ColumnDefinition Width="80"/>
  3373. <ColumnDefinition Width="1*"/>
  3374. </Grid.ColumnDefinitions>
  3375. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[133]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6B_2100" HorizontalAlignment="Left"/>
  3376. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[134]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6B_2000" HorizontalAlignment="Left"/>
  3377. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[135]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6B_1900" HorizontalAlignment="Left"/>
  3378. </Grid>
  3379. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3380. </Grid>
  3381. <Grid Grid.Row="3">
  3382. <Grid.RowDefinitions>
  3383. <RowDefinition Height="1*"/>
  3384. <RowDefinition Height="1.5*"/>
  3385. <RowDefinition Height="4"/>
  3386. </Grid.RowDefinitions>
  3387. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3388. <Grid Grid.Row="1" >
  3389. <Grid.ColumnDefinitions>
  3390. <ColumnDefinition/>
  3391. <ColumnDefinition/>
  3392. </Grid.ColumnDefinitions>
  3393. <Grid.RowDefinitions>
  3394. <RowDefinition Height="4*"/>
  3395. <RowDefinition Height="6*"/>
  3396. </Grid.RowDefinitions>
  3397. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3398. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[5]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3399. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[5]}"/>
  3400. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[5]}"/>
  3401. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[5]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_5B_Width}" HorizontalAlignment="Left" Width="128">
  3402. <ComboBox.ItemTemplate>
  3403. <DataTemplate>
  3404. <Grid Margin="2,0">
  3405. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  3406. </Grid>
  3407. </DataTemplate>
  3408. </ComboBox.ItemTemplate>
  3409. <i:Interaction.Triggers>
  3410. <i:EventTrigger EventName="SelectionChanged">
  3411. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  3412. </i:EventTrigger>
  3413. </i:Interaction.Triggers>
  3414. </ComboBox>
  3415. </Grid>
  3416. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3417. </Grid>
  3418. </Grid>
  3419. </TabItem>
  3420. <TabItem x:Name="door_6F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[5]}">
  3421. <Grid x:Name="Door_6F_C" Grid.Row="1" Margin="0,6,0,0" >
  3422. <Grid.RowDefinitions>
  3423. <RowDefinition Height="72"/>
  3424. <RowDefinition Height="72"/>
  3425. <RowDefinition Height="72"/>
  3426. <RowDefinition Height="82"/>
  3427. </Grid.RowDefinitions>
  3428. <Grid Grid.Row="0" >
  3429. <Grid.RowDefinitions>
  3430. <RowDefinition Height="1*"/>
  3431. <RowDefinition Height="1*"/>
  3432. <RowDefinition Height="4"/>
  3433. </Grid.RowDefinitions>
  3434. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3435. <Grid Grid.Row="1" Margin="0" Height="28" >
  3436. <Grid.ColumnDefinitions>
  3437. <ColumnDefinition Width="80"/>
  3438. <ColumnDefinition Width="80"/>
  3439. <ColumnDefinition Width="92"/>
  3440. <ColumnDefinition Width="1*"/>
  3441. </Grid.ColumnDefinitions>
  3442. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[136]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6C_GE1" HorizontalAlignment="Left"/>
  3443. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[137]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6C_GE2" HorizontalAlignment="Left"/>
  3444. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[138]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6C_HalfGate" HorizontalAlignment="Left"/>
  3445. </Grid>
  3446. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3447. </Grid>
  3448. <Grid Grid.Row="1" >
  3449. <Grid.RowDefinitions>
  3450. <RowDefinition Height="1*"/>
  3451. <RowDefinition Height="1*"/>
  3452. <RowDefinition Height="4"/>
  3453. </Grid.RowDefinitions>
  3454. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3455. <Grid Grid.Row="1" Height="28">
  3456. <Grid.ColumnDefinitions>
  3457. <ColumnDefinition Width="70"/>
  3458. <ColumnDefinition Width="70"/>
  3459. <ColumnDefinition Width="4*"/>
  3460. </Grid.ColumnDefinitions>
  3461. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[139]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
  3462. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[140]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
  3463. </Grid>
  3464. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3465. </Grid>
  3466. <Grid Grid.Row="2" >
  3467. <Grid.RowDefinitions>
  3468. <RowDefinition Height="1*"/>
  3469. <RowDefinition Height="1*"/>
  3470. <RowDefinition Height="4"/>
  3471. </Grid.RowDefinitions>
  3472. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3473. <Grid Grid.Row="1" Height="28">
  3474. <Grid.ColumnDefinitions>
  3475. <ColumnDefinition Width="80"/>
  3476. <ColumnDefinition Width="80"/>
  3477. <ColumnDefinition Width="80"/>
  3478. <ColumnDefinition Width="1*"/>
  3479. </Grid.ColumnDefinitions>
  3480. <Button Grid.Column="0" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[141]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6C_2100" HorizontalAlignment="Left"/>
  3481. <Button Grid.Column="1" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[142]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6C_2000" HorizontalAlignment="Left"/>
  3482. <Button Grid.Column="2" Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[143]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6C_1900" HorizontalAlignment="Left"/>
  3483. </Grid>
  3484. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3485. </Grid>
  3486. <Grid Grid.Row="3">
  3487. <Grid.RowDefinitions>
  3488. <RowDefinition Height="1*"/>
  3489. <RowDefinition Height="1.5*"/>
  3490. <RowDefinition Height="4"/>
  3491. </Grid.RowDefinitions>
  3492. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3493. <Grid Grid.Row="1" >
  3494. <Grid.ColumnDefinitions>
  3495. <ColumnDefinition/>
  3496. <ColumnDefinition/>
  3497. </Grid.ColumnDefinitions>
  3498. <Grid.RowDefinitions>
  3499. <RowDefinition Height="4*"/>
  3500. <RowDefinition Height="6*"/>
  3501. </Grid.RowDefinitions>
  3502. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3503. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[5]}"/>
  3504. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[5]}"/>
  3505. <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[5]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_5C_Width}" HorizontalAlignment="Left" Width="128">
  3506. <ComboBox.ItemTemplate>
  3507. <DataTemplate>
  3508. <Grid Margin="2,0">
  3509. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  3510. </Grid>
  3511. </DataTemplate>
  3512. </ComboBox.ItemTemplate>
  3513. <i:Interaction.Triggers>
  3514. <i:EventTrigger EventName="SelectionChanged">
  3515. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  3516. </i:EventTrigger>
  3517. </i:Interaction.Triggers>
  3518. </ComboBox>
  3519. </Grid>
  3520. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3521. </Grid>
  3522. </Grid>
  3523. </TabItem>
  3524. </TabControl>
  3525. </Grid>
  3526. </Grid>
  3527. <Grid x:Name="color_page" Grid.Column="1" Visibility="{Binding Color_Vis}" Margin="12,0" d:IsHidden="True">
  3528. <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
  3529. <Grid>
  3530. <Grid.RowDefinitions>
  3531. <RowDefinition Height="64"/>
  3532. <RowDefinition Height="5*"/>
  3533. <RowDefinition Height="1*"/>
  3534. <RowDefinition Height="4*"/>
  3535. <RowDefinition Height="10*"/>
  3536. </Grid.RowDefinitions>
  3537. <Grid Grid.Row="0">
  3538. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[ColorsLabel]}" FontSize="22" VerticalAlignment="Center"/>
  3539. <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="92" HorizontalAlignment="Left" Margin="0,6"/>
  3540. </Grid>
  3541. <Grid x:Name="Standard_Color" Grid.Row="1" Margin="0,12,0,0" >
  3542. <Grid.RowDefinitions>
  3543. <RowDefinition Height="1*"/>
  3544. <RowDefinition Height="8*"/>
  3545. <RowDefinition Height="1*"/>
  3546. </Grid.RowDefinitions>
  3547. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StandardColorLabel]}" FontSize="18"/>
  3548. <ItemsControl x:Name="standard_colors" Grid.Row="1" Width="422" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Standard_Color_List}" HorizontalAlignment="Left" Margin="-6,0,0,0">
  3549. <ItemsControl.ItemsPanel>
  3550. <ItemsPanelTemplate>
  3551. <WrapPanel/>
  3552. </ItemsPanelTemplate>
  3553. </ItemsControl.ItemsPanel>
  3554. <ItemsControl.ItemTemplate>
  3555. <DataTemplate>
  3556. <Grid Height="112" Width="80" HorizontalAlignment="Left">
  3557. <Grid.RowDefinitions>
  3558. <RowDefinition Height="72"/>
  3559. <RowDefinition Height="1*"/>
  3560. </Grid.RowDefinitions>
  3561. <Button Grid.Row="0" Height="80" Command="{Binding ElementName=standard_colors, Path=DataContext.set_shaft_standard_color}" CommandParameter="{Binding Code}">
  3562. <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
  3563. <Image Source="{Binding icon_texture}"/>
  3564. </Border>
  3565. </Button>
  3566. <Label Grid.Row="1" Content="{Binding name}" Margin="0,4" FontSize="12" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  3567. </Grid>
  3568. </DataTemplate>
  3569. </ItemsControl.ItemTemplate>
  3570. </ItemsControl>
  3571. </Grid>
  3572. <Grid Grid.Row="3" Margin="6,0,0,0" Height="128">
  3573. <Grid.RowDefinitions>
  3574. <RowDefinition Height="3*"/>
  3575. <RowDefinition Height="6*"/>
  3576. <RowDefinition Height="1*"/>
  3577. </Grid.RowDefinitions>
  3578. <Label Grid.Row="0" Content="CUSTOMIZED RAL COLORS" FontSize="18" VerticalAlignment="Center"/>
  3579. <Grid Grid.Row="1" Height="54" VerticalAlignment="Bottom" Margin="0,0,0,12">
  3580. <Grid.ColumnDefinitions>
  3581. <ColumnDefinition Width="2*"/>
  3582. <ColumnDefinition Width="4*"/>
  3583. <ColumnDefinition Width="4*"/>
  3584. </Grid.ColumnDefinitions>
  3585. <Border BorderThickness="1" Height="54" Width="54" HorizontalAlignment="Left" Margin="2,-2,0,0">
  3586. <Button Style="{StaticResource color_btn}" HorizontalAlignment="Center" VerticalAlignment="Center" Height="57" Width="57" Background="{Binding customize_hex}" Command="{Binding set_shaft_ral_color}" CommandParameter="{Binding ElementName=customize_color,Path=Text}" />
  3587. </Border>
  3588. <TextBox x:Name="customize_color" Grid.Column="1" Foreground="#FF6A6A6A" FontSize="16" Height="32" Width="200" Text="{Binding Shaft_Ral_Color}" VerticalAlignment="Bottom" HorizontalAlignment="Left" Background="Black" BorderBrush="{x:Null}" Margin="0,6" />
  3589. <Rectangle Grid.Column="1" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="200" HorizontalAlignment="Left" />
  3590. <Button Grid.Column="2" VerticalAlignment="Center" Height="70" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding set_shaft_ral_color}" CommandParameter="{Binding ElementName=customize_color,Path=Text}" Foreground="{x:Null}" Margin="44,-11,37,-5" >
  3591. <Image Source="image/btn/outline_format_paint_black_36dp.png" Height="57" Width="57" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  3592. </Button>
  3593. </Grid>
  3594. </Grid>
  3595. <Grid x:Name="RAL_Color" Grid.Row="4" Margin="6,0,0,0" >
  3596. <ItemsControl x:Name="RAL_colors" Background="{x:Null}" ItemsSource="{Binding RAL_Color_List}" Width="425">
  3597. <ItemsControl.ItemsPanel>
  3598. <ItemsPanelTemplate>
  3599. <WrapPanel/>
  3600. </ItemsPanelTemplate>
  3601. </ItemsControl.ItemsPanel>
  3602. <ItemsControl.ItemTemplate>
  3603. <DataTemplate>
  3604. <Grid Height="54" Width="54" >
  3605. <Border BorderThickness="1" BorderBrush="{Binding btn_bg_color}" CornerRadius="0">
  3606. <Grid>
  3607. <Button Style="{StaticResource color_btn}" HorizontalAlignment="Center" VerticalAlignment="Center" Height="56" Width="56" Background="{Binding hex}" Command="{Binding ElementName=RAL_colors, Path=DataContext.set_shaft_ral_color}" CommandParameter="{Binding Color}" />
  3608. <Label Content="{Binding color}" FontSize="10" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
  3609. </Grid>
  3610. </Border>
  3611. </Grid>
  3612. </DataTemplate>
  3613. </ItemsControl.ItemTemplate>
  3614. </ItemsControl>
  3615. </Grid>
  3616. </Grid>
  3617. </ScrollViewer>
  3618. </Grid>
  3619. </Grid>
  3620. </Grid>
  3621. </TabItem>
  3622. <TabItem x:Name="enclosure_tab" Header="{Binding SelectedLanguage.Resources[EnclosureLabel]}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" Background="{x:Null}">
  3623. <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
  3624. <Grid x:Name="enclosure_mat" Margin="12,0">
  3625. <Grid.RowDefinitions>
  3626. <RowDefinition Height="64"/>
  3627. <RowDefinition Height="{Binding StateModel.Cabin_Walls_Height}"/>
  3628. <RowDefinition Height="116"/>
  3629. <RowDefinition Height="{Binding service_panel_height}"/>
  3630. <RowDefinition Height="188"/>
  3631. <RowDefinition Height="458"/>
  3632. </Grid.RowDefinitions>
  3633. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[BuildLabel]}" FontSize="22" VerticalAlignment="Center"/>
  3634. <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="0,6"/>
  3635. <Grid Grid.Row="1" Margin="0,12">
  3636. <Grid.RowDefinitions>
  3637. <RowDefinition Height="32"/>
  3638. <RowDefinition Height="12"/>
  3639. <RowDefinition Height="246"/>
  3640. <RowDefinition Height="0"/>
  3641. </Grid.RowDefinitions>
  3642. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CabinWallsLabel]}"/>
  3643. <Grid Grid.Row="2" >
  3644. <Grid.RowDefinitions>
  3645. <RowDefinition/>
  3646. <RowDefinition/>
  3647. </Grid.RowDefinitions>
  3648. <Grid.ColumnDefinitions>
  3649. <ColumnDefinition/>
  3650. <ColumnDefinition/>
  3651. <ColumnDefinition/>
  3652. </Grid.ColumnDefinitions>
  3653. <Border Grid.Row="0" Grid.Column="0" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
  3654. <Grid>
  3655. <Grid.RowDefinitions>
  3656. <RowDefinition Height="1*"/>
  3657. <RowDefinition Height="2*"/>
  3658. </Grid.RowDefinitions>
  3659. <Label Content="C" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  3660. <Border Grid.Row="1" Background="#363636" Width="128" Height="48" CornerRadius="6,6,6,6" >
  3661. <ComboBox x:Name="set_enclosure_mat_c" ItemsSource="{Binding Enclosure_Mat_C}" SelectedItem="{Binding Selected_Enclosure_Mat_C}" Width="122" >
  3662. <ComboBox.ItemTemplate>
  3663. <DataTemplate>
  3664. <Grid Margin="2,0">
  3665. <Grid.ColumnDefinitions>
  3666. <ColumnDefinition Width="24"/>
  3667. <ColumnDefinition Width="70"/>
  3668. </Grid.ColumnDefinitions>
  3669. <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
  3670. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_c, Path=DataContext.isEN}"/>
  3671. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_c, Path=DataContext.isCH}"/>
  3672. </Grid>
  3673. </DataTemplate>
  3674. </ComboBox.ItemTemplate>
  3675. <i:Interaction.Triggers>
  3676. <i:EventTrigger EventName="SelectionChanged">
  3677. <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_c, ElementName=set_enclosure_mat_c}"/>
  3678. </i:EventTrigger>
  3679. </i:Interaction.Triggers>
  3680. </ComboBox>
  3681. </Border>
  3682. </Grid>
  3683. </Border>
  3684. <Grid Grid.Column="1" Grid.Row="0" Margin="-10">
  3685. <Image Source="image/bg/lift_build_icon.png"/>
  3686. </Grid>
  3687. <Border Grid.Row="0" Grid.Column="2" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
  3688. <Grid>
  3689. <Grid.RowDefinitions>
  3690. <RowDefinition Height="1*"/>
  3691. <RowDefinition Height="2*"/>
  3692. </Grid.RowDefinitions>
  3693. <Label Content="A" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  3694. <Border Grid.Row="1" Background="#363636" Width="122" Height="48" CornerRadius="6,6,6,6" >
  3695. <ComboBox x:Name="set_enclosure_mat_a" ItemsSource="{Binding Enclosure_Mat_A}" SelectedItem="{Binding Selected_Enclosure_Mat_A}" Width="122" >
  3696. <ComboBox.ItemTemplate>
  3697. <DataTemplate>
  3698. <Grid Margin="2,0">
  3699. <Grid.ColumnDefinitions>
  3700. <ColumnDefinition Width="24"/>
  3701. <ColumnDefinition Width="70"/>
  3702. </Grid.ColumnDefinitions>
  3703. <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
  3704. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_a, Path=DataContext.isEN}"/>
  3705. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_a, Path=DataContext.isCH}"/>
  3706. </Grid>
  3707. </DataTemplate>
  3708. </ComboBox.ItemTemplate>
  3709. <i:Interaction.Triggers>
  3710. <i:EventTrigger EventName="SelectionChanged">
  3711. <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_a, ElementName=set_enclosure_mat_a}"/>
  3712. </i:EventTrigger>
  3713. </i:Interaction.Triggers>
  3714. </ComboBox>
  3715. </Border>
  3716. </Grid>
  3717. </Border>
  3718. <Border Grid.Row="1" Grid.Column="1" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
  3719. <Grid>
  3720. <Grid.RowDefinitions>
  3721. <RowDefinition Height="1*"/>
  3722. <RowDefinition Height="2*"/>
  3723. </Grid.RowDefinitions>
  3724. <Label Content="B" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  3725. <Border Grid.Row="1" Background="#363636" Width="122" Height="48" CornerRadius="6,6,6,6" >
  3726. <ComboBox x:Name="set_enclosure_mat_b" ItemsSource="{Binding Enclosure_Mat_B}" SelectedItem="{Binding Selected_Enclosure_Mat_B}" Width="122" >
  3727. <ComboBox.ItemTemplate>
  3728. <DataTemplate>
  3729. <Grid Margin="2,0">
  3730. <Grid.ColumnDefinitions>
  3731. <ColumnDefinition Width="24"/>
  3732. <ColumnDefinition Width="70"/>
  3733. </Grid.ColumnDefinitions>
  3734. <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
  3735. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_b, Path=DataContext.isEN}"/>
  3736. <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_b, Path=DataContext.isCH}"/>
  3737. </Grid>
  3738. </DataTemplate>
  3739. </ComboBox.ItemTemplate>
  3740. <i:Interaction.Triggers>
  3741. <i:EventTrigger EventName="SelectionChanged">
  3742. <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_b, ElementName=set_enclosure_mat_b}"/>
  3743. </i:EventTrigger>
  3744. </i:Interaction.Triggers>
  3745. </ComboBox>
  3746. </Border>
  3747. </Grid>
  3748. </Border>
  3749. </Grid>
  3750. <Grid Grid.Row="3">
  3751. <ItemsControl x:Name="cabin_walls_mat" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Cabin_Walls_Mat_List}">
  3752. <ItemsControl.ItemsPanel>
  3753. <ItemsPanelTemplate>
  3754. <WrapPanel/>
  3755. </ItemsPanelTemplate>
  3756. </ItemsControl.ItemsPanel>
  3757. <ItemsControl.ItemTemplate>
  3758. <DataTemplate>
  3759. <Grid Height="38" Width="168" Margin="10" Background="#1B1B1B">
  3760. <Grid.ColumnDefinitions>
  3761. <ColumnDefinition Width="8*"/>
  3762. <ColumnDefinition Width="2*"/>
  3763. </Grid.ColumnDefinitions>
  3764. <Button Grid.Column="0" Content="{Binding name}" Height="60" Command="{Binding DataContext.set_shaft_standard_color, ElementName=standard_colors}" CommandParameter="{Binding name}" VerticalAlignment="Center"/>
  3765. <Image Grid.Column="1" Source="{Binding icon_texture}"/>
  3766. </Grid>
  3767. </DataTemplate>
  3768. </ItemsControl.ItemTemplate>
  3769. </ItemsControl>
  3770. </Grid>
  3771. </Grid>
  3772. <Grid Grid.Row="2">
  3773. <Grid.RowDefinitions>
  3774. <RowDefinition Height="32"/>
  3775. <RowDefinition/>
  3776. </Grid.RowDefinitions>
  3777. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CabinDoorLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3778. <Grid Grid.Row="1">
  3779. <Grid.ColumnDefinitions>
  3780. <ColumnDefinition/>
  3781. <ColumnDefinition/>
  3782. <ColumnDefinition/>
  3783. </Grid.ColumnDefinitions>
  3784. <Button Height="46" Width="128" FontSize="14" Grid.Column="0" Content="{Binding SelectedLanguage.Resources[LightCurtainLabel]}" Margin="4,0" Background="#1B1B1B"/>
  3785. <Button Height="46" Width="128" FontSize="14" Grid.Column="1" Content="{Binding SelectedLanguage.Resources[BiFoldingLabel]}" Margin="4,0" Background="#1B1B1B" IsEnabled="False"/>
  3786. </Grid>
  3787. <Rectangle Height="1" Fill="#272727" Grid.Row="1" VerticalAlignment="Bottom"/>
  3788. </Grid>
  3789. <Grid Grid.Row="3" Margin="0,12" >
  3790. <Grid.RowDefinitions>
  3791. <RowDefinition Height="32"/>
  3792. <RowDefinition />
  3793. </Grid.RowDefinitions>
  3794. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[SevicePannelLabel]}" Margin="0,6" />
  3795. <ItemsControl x:Name="service_panel_mat" Grid.Row="1" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Service_Panel_Mat_List}">
  3796. <ItemsControl.ItemsPanel>
  3797. <ItemsPanelTemplate>
  3798. <WrapPanel/>
  3799. </ItemsPanelTemplate>
  3800. </ItemsControl.ItemsPanel>
  3801. <ItemsControl.ItemTemplate>
  3802. <DataTemplate>
  3803. <Grid Margin="4,0" >
  3804. <Grid.RowDefinitions>
  3805. <RowDefinition/>
  3806. <RowDefinition Height="4"/>
  3807. <RowDefinition Height="32"/>
  3808. </Grid.RowDefinitions>
  3809. <Button Grid.Row="0" Command="{Binding DataContext.set_service_panel_mat, ElementName=service_panel_mat}" CommandParameter="{Binding code}" VerticalAlignment="Center" >
  3810. <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
  3811. <Image Width="60" Height="60" Source="{Binding icon_texture}"/>
  3812. </Border>
  3813. </Button>
  3814. <TextBlock TextWrapping="WrapWithOverflow" Text="{Binding name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86" Visibility="{Binding ElementName=service_panel_mat, Path=DataContext.isEN}"/>
  3815. <TextBlock TextWrapping="WrapWithOverflow" Text="{Binding ch_name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86" Visibility="{Binding ElementName=service_panel_mat, Path=DataContext.isCH}"/>
  3816. </Grid>
  3817. </DataTemplate>
  3818. </ItemsControl.ItemTemplate>
  3819. </ItemsControl>
  3820. <Rectangle Height="1" Fill="#272727" Grid.Row="1" VerticalAlignment="Bottom"/>
  3821. </Grid>
  3822. <Grid Grid.Row="4">
  3823. <Grid.RowDefinitions>
  3824. <RowDefinition Height="32"/>
  3825. <RowDefinition/>
  3826. </Grid.RowDefinitions>
  3827. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarpetLabel]}"/>
  3828. <ItemsControl x:Name="carpet_panel_mat" Grid.Row="1" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Carpet_Mat_List}">
  3829. <ItemsControl.ItemsPanel>
  3830. <ItemsPanelTemplate>
  3831. <WrapPanel/>
  3832. </ItemsPanelTemplate>
  3833. </ItemsControl.ItemsPanel>
  3834. <ItemsControl.ItemTemplate>
  3835. <DataTemplate>
  3836. <Grid Margin="4,0" >
  3837. <Grid.RowDefinitions>
  3838. <RowDefinition/>
  3839. <RowDefinition Height="4"/>
  3840. <RowDefinition Height="32"/>
  3841. </Grid.RowDefinitions>
  3842. <Button Grid.Row="0" Command="{Binding DataContext.set_carpet_panel_mat, ElementName=carpet_panel_mat}" CommandParameter="{Binding code}" VerticalAlignment="Center" >
  3843. <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
  3844. <Image Width="60" Height="60" Source="{Binding icon_texture}"/>
  3845. </Border>
  3846. </Button>
  3847. <TextBlock TextWrapping="Wrap" Text="{Binding name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86" Visibility="{Binding ElementName=carpet_panel_mat, Path=DataContext.isEN}"/>
  3848. <TextBlock TextWrapping="Wrap" Text="{Binding ch_name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86" Visibility="{Binding ElementName=carpet_panel_mat, Path=DataContext.isCH}"/>
  3849. </Grid>
  3850. </DataTemplate>
  3851. </ItemsControl.ItemTemplate>
  3852. </ItemsControl>
  3853. </Grid>
  3854. <Grid Grid.Row="5" Visibility="{Binding show_door_handle}">
  3855. <Grid.RowDefinitions>
  3856. <RowDefinition Height="32"/>
  3857. <RowDefinition/>
  3858. </Grid.RowDefinitions>
  3859. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHandleLabel]}"/>
  3860. <ItemsControl x:Name="door_handle_mat" Grid.Row="1" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding DoorHandle_Mat_List}">
  3861. <ItemsControl.ItemsPanel>
  3862. <ItemsPanelTemplate>
  3863. <WrapPanel/>
  3864. </ItemsPanelTemplate>
  3865. </ItemsControl.ItemsPanel>
  3866. <ItemsControl.ItemTemplate>
  3867. <DataTemplate>
  3868. <Grid Margin="4,0" >
  3869. <Grid.RowDefinitions>
  3870. <RowDefinition/>
  3871. <RowDefinition Height="4"/>
  3872. <RowDefinition Height="32"/>
  3873. </Grid.RowDefinitions>
  3874. <Button Grid.Row="0" Command="{Binding DataContext.set_door_handle_mat, ElementName=door_handle_mat}" CommandParameter="{Binding code}" VerticalAlignment="Center" >
  3875. <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
  3876. <Image Width="60" Height="60" Source="{Binding icon_texture}"/>
  3877. </Border>
  3878. </Button>
  3879. <TextBlock TextWrapping="Wrap" Text="{Binding name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86" Visibility="{Binding ElementName=door_handle_mat, Path=DataContext.isEN}"/>
  3880. <TextBlock TextWrapping="Wrap" Text="{Binding ch_name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86" Visibility="{Binding ElementName=door_handle_mat, Path=DataContext.isCH}"/>
  3881. </Grid>
  3882. </DataTemplate>
  3883. </ItemsControl.ItemTemplate>
  3884. </ItemsControl>
  3885. </Grid>
  3886. <Grid Grid.Row="5" Visibility="{Binding show_ambient_light}">
  3887. <Grid.RowDefinitions>
  3888. <RowDefinition Height="24"/>
  3889. <RowDefinition Height="48"/>
  3890. <RowDefinition Height="48"/>
  3891. </Grid.RowDefinitions>
  3892. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[AmbientLabel]}"/>
  3893. <Grid Grid.Row="1" Margin="24,0">
  3894. <Grid.ColumnDefinitions>
  3895. <ColumnDefinition Width="28"/>
  3896. <ColumnDefinition/>
  3897. </Grid.ColumnDefinitions>
  3898. <CheckBox x:Name="ambient_color" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding ambient_color_ischecked}" Command="{Binding trigger_ambient_light}">
  3899. <CheckBox.LayoutTransform>
  3900. <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
  3901. </CheckBox.LayoutTransform>
  3902. </CheckBox>
  3903. <TextBlock Grid.Column="1" Text="{Binding SelectedLanguage.Resources[CustomAmbientLabel]}" FontSize="16" VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
  3904. </Grid>
  3905. <!--{Binding ambient_custom_color ,Mode=TwoWay}-->
  3906. <Grid Grid.Row="2" Margin="32,0" x:Name="custom_ambient_light" Visibility="{Binding ambient_slider_vis}">
  3907. <Slider Height="28" x:Name="custom_color" VerticalAlignment="Center" Minimum="0" Maximum="100" Value="{Binding ambient_custom_color ,Mode=TwoWay}" Style="{StaticResource AmbientSliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1" >
  3908. <i:Interaction.Triggers>
  3909. <i:EventTrigger EventName="ValueChanged">
  3910. <i:InvokeCommandAction Command="{Binding set_ambient_color}"/>
  3911. </i:EventTrigger>
  3912. </i:Interaction.Triggers>
  3913. </Slider>
  3914. <Border BorderThickness="2" CornerRadius="2" BorderBrush="Black" Background="Transparent" Height="10" Panel.ZIndex="-1">
  3915. <Rectangle Height="8" >
  3916. <Rectangle.Fill>
  3917. <LinearGradientBrush EndPoint="0,0" StartPoint="1,0">
  3918. <GradientStop Color="White" Offset="0" />
  3919. <GradientStop Color="Red" Offset="0.25" />
  3920. <GradientStop Color="Yellow" Offset="0.5" />
  3921. <GradientStop Color="Blue" Offset="0.75" />
  3922. <GradientStop Color="White" Offset="1" />
  3923. </LinearGradientBrush>
  3924. </Rectangle.Fill>
  3925. </Rectangle>
  3926. </Border>
  3927. </Grid>
  3928. </Grid>
  3929. </Grid>
  3930. </ScrollViewer>
  3931. </TabItem>
  3932. <i:Interaction.Triggers>
  3933. <i:EventTrigger EventName="SelectionChanged">
  3934. <i:InvokeCommandAction Command="{Binding SetCurrentTab}" CommandParameter="{Binding ElementName=main_tab, Path=SelectedValue}"/>
  3935. </i:EventTrigger>
  3936. </i:Interaction.Triggers>
  3937. </TabControl>
  3938. <Grid Grid.Row="1" Background="Black">
  3939. <Grid.ColumnDefinitions>
  3940. <ColumnDefinition Width="1*"/>
  3941. <ColumnDefinition Width="1*"/>
  3942. <ColumnDefinition Width="2*"/>
  3943. <ColumnDefinition Width="1*"/>
  3944. <ColumnDefinition Width="1*"/>
  3945. </Grid.ColumnDefinitions>
  3946. <!--<Button Grid.Column="1" x:Name="btn_export_video" Content="{Binding SelectedLanguage.Resources[ExportVideoLabel]}" Background="#FF1B1B1B" Height="44" Command="{Binding btn_test_2}" Margin="0"/>-->
  3947. <Button Grid.Column="2" x:Name="btn_preview" Content="{Binding SelectedLanguage.Resources[PreviewLabel]}" Background="#5B85BB" Height="44" Command="{Binding make_preview}" Margin="0"/>
  3948. </Grid>
  3949. </Grid>
  3950. </Viewbox>
  3951. </Grid>
  3952. </UserControl>