Browse Source

位置调换

Lishi
xxe 2 years ago
parent
commit
4d8b004256
3 changed files with 5 additions and 16 deletions
  1. +2
    -2
      HKCardOUT/HKCardOUT.csproj
  2. +0
    -11
      HKCardOUT/ViewModels/RootViewModel.cs
  3. +3
    -3
      HKCardOUT/Views/AdWindow.xaml.cs

+ 2
- 2
HKCardOUT/HKCardOUT.csproj View File

@@ -14,9 +14,9 @@
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Platforms>AnyCPU;x86</Platforms>
</PropertyGroup>
<!--<PropertyGroup>
<PropertyGroup>
<ApplicationManifest>App.manifest</ApplicationManifest>
</PropertyGroup>-->
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;Core</DefineConstants>
</PropertyGroup>


+ 0
- 11
HKCardOUT/ViewModels/RootViewModel.cs View File

@@ -236,17 +236,6 @@ namespace HKCardOUT.ViewModels
ThreadManage.GetInstance().StartLong(() =>
{

//DataBus.saleLogDtos.Enqueue(new SaleLogDto
//{
// Location = "5",
// CardNo = "1585836138202009600"
//});
//DataBus.saleLogDtos.Enqueue(new SaleLogDto
//{
// Location = "6",
// CardNo = "1585828985667981312"
//});

if (0 < Stacks.Count && Stacks.TryDequeue(out SaleLogDto Info))
{
if (Info != null)


+ 3
- 3
HKCardOUT/Views/AdWindow.xaml.cs View File

@@ -41,8 +41,8 @@ namespace HKCardOUT.Views
if (BindScreen != -1)
{
int[] NotchNum = new int[2];
if (bindScreen == 0) { NotchNum[0] = 1; NotchNum[1] = 2; }
if (bindScreen == 1) { NotchNum[0] = 5; NotchNum[1] = 6; }
if (bindScreen == 1) { NotchNum[0] = 1; NotchNum[1] = 2; }
if (bindScreen == 0) { NotchNum[0] = 5; NotchNum[1] = 6; }
if (bindScreen == 2) { NotchNum[0] = 3; NotchNum[1] = 4; }
(this.DataContext as AdWindowViewModel).InitData(NotchNum);

@@ -62,7 +62,7 @@ namespace HKCardOUT.Views
}
InitView2(input);

InitControl();
//InitControl();
};
this.Closed += (sender, ev) =>
{


Loading…
Cancel
Save