浏览代码

位置调换

Lishi
xxe 2 年前
父节点
当前提交
4d8b004256
共有 3 个文件被更改,包括 5 次插入16 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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) =>
{


正在加载...
取消
保存