yibo 5 years ago
parent
commit
754a795eb6
9 changed files with 368 additions and 290 deletions
  1. +5
    -5
      ButcherFactory.BO/LocalBL/SegmentProductionBL.cs
  2. +1
    -1
      ButcherFactory.Login/Login.xaml.cs
  3. +6
    -6
      SelfHelpClient/ItemSelect.cs
  4. +1
    -1
      SelfHelpClient/ItemSelect2.cs
  5. +69
    -28
      SelfHelpClient/MainForm.cs
  6. +7
    -4
      SelfHelpClient/Program.cs
  7. +37
    -22
      SelfHelpClient/ReadCardForm.cs
  8. +25
    -10
      SelfHelpClient/ReadCardForm2.cs
  9. +217
    -213
      SelfHelpClient/SelfHelpClient.csproj

+ 5
- 5
ButcherFactory.BO/LocalBL/SegmentProductionBL.cs View File

@ -169,7 +169,7 @@ namespace ButcherFactory.BO.LocalBL
var json = RpcFacade.Call<string>(RpcPath + "CheckInStored", JsonConvert.SerializeObject(codeArr)); var json = RpcFacade.Call<string>(RpcPath + "CheckInStored", JsonConvert.SerializeObject(codeArr));
return JsonConvert.DeserializeObject<List<string>>(json); return JsonConvert.DeserializeObject<List<string>>(json);
} }
catch (Exception ex)
catch
{ {
#if DEBUG #if DEBUG
throw; throw;
@ -248,11 +248,11 @@ namespace ButcherFactory.BO.LocalBL
session.Commit(); session.Commit();
} }
} }
catch
{
catch
{
#if DEBUG #if DEBUG
throw; throw;
#endif
#endif
} }
} }
@ -272,7 +272,7 @@ namespace ButcherFactory.BO.LocalBL
query.Columns.Add(DQSelectColumn.Field("StandardPic")); query.Columns.Add(DQSelectColumn.Field("StandardPic"));
query.Columns.Add(DQSelectColumn.Field("MsgID")); query.Columns.Add(DQSelectColumn.Field("MsgID"));
query.Where.Conditions.Add(DQCondition.And(DQCondition.EQ("Submited", true), DQCondition.EQ("Sync", false), DQCondition.EQ("Delete", false))); query.Where.Conditions.Add(DQCondition.And(DQCondition.EQ("Submited", true), DQCondition.EQ("Sync", false), DQCondition.EQ("Delete", false)));
query.Where.Conditions.Add(DQCondition.LessThan("CreateTime", DateTime.Now.AddMinutes(-1)));
//query.Where.Conditions.Add(DQCondition.LessThan("CreateTime", DateTime.Now.AddMinutes(-1)));
query.Range = SelectRange.Top(10); query.Range = SelectRange.Top(10);
query.OrderBy.Expressions.Add(DQOrderByExpression.Create("ID")); query.OrderBy.Expressions.Add(DQOrderByExpression.Create("ID"));


+ 1
- 1
ButcherFactory.Login/Login.xaml.cs View File

@ -134,7 +134,7 @@ namespace ButcherFactory.Login
void Login_Loaded(object sender, RoutedEventArgs e) void Login_Loaded(object sender, RoutedEventArgs e)
{ {
AutoUpdate();
//AutoUpdate();
} }
} }
} }

+ 6
- 6
SelfHelpClient/ItemSelect.cs View File

@ -14,11 +14,9 @@ namespace SelfHelpClient
public partial class ItemSelect : Template public partial class ItemSelect : Template
{ {
List<ViewEntity> list; List<ViewEntity> list;
ReadCardForm form;
public ItemSelect(List<ViewEntity> mlist, ReadCardForm mForm)
public ItemSelect(List<ViewEntity> mlist)
{ {
InitializeComponent(); InitializeComponent();
form = mForm;
list = mlist; list = mlist;
this.WindowState = FormWindowState.Maximized; this.WindowState = FormWindowState.Maximized;
} }
@ -34,9 +32,11 @@ namespace SelfHelpClient
private void uDataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) private void uDataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
{ {
if (e.RowIndex < 0) if (e.RowIndex < 0)
return;
form.VEntity = uDataGridView1.CurrentRow.DataBoundItem as ViewEntity;
DialogResult = DialogResult.OK;
return;
Program.ve = uDataGridView1.CurrentRow.DataBoundItem as ViewEntity;
//MessageBox.Show((form.VEntity != null).ToString());
//DialogResult = DialogResult.OK;
this.Close();
} }
private void backBtn_Click(object sender, EventArgs e) private void backBtn_Click(object sender, EventArgs e)


+ 1
- 1
SelfHelpClient/ItemSelect2.cs View File

@ -33,7 +33,7 @@ namespace SelfHelpClient
{ {
if (e.RowIndex < 0) if (e.RowIndex < 0)
return; return;
form.VEntity = uDataGridView1.CurrentRow.DataBoundItem as ViewEntity;
Program.ve = uDataGridView1.CurrentRow.DataBoundItem as ViewEntity;
DialogResult = DialogResult.OK; DialogResult = DialogResult.OK;
} }


+ 69
- 28
SelfHelpClient/MainForm.cs View File

@ -1,14 +1,16 @@
using SelfHelpClient.BL;
using SelfHelpClient.BO;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SelfHelpClient.BL;
using SelfHelpClient.BO;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using System.Windows.Input;
namespace SelfHelpClient namespace SelfHelpClient
{ {
@ -28,43 +30,82 @@ namespace SelfHelpClient
} }
WeightBillBL.ServerUrl = File.ReadAllText("AppConfig.cfg"); WeightBillBL.ServerUrl = File.ReadAllText("AppConfig.cfg");
mForm = this; mForm = this;
InitializeComponent();
InitializeComponent();
DisableWPFTabletSupport();
} }
private void selfBtn_Click(object sender, EventArgs e) private void selfBtn_Click(object sender, EventArgs e)
{ {
var entity = ReadCard();
if (entity == null)
return;
if (entity.BillType == 0)
ReadCard();
if (Program.ve == null)
return;
if (Program.ve.BillType == 0)
{ {
DialogForm.ShowDialog("没有待办理业务", 5); DialogForm.ShowDialog("没有待办理业务", 5);
return; return;
}
new SelfHelpForm(entity.ID).ShowDialog();
}
new SelfHelpForm(Program.ve.ID).ShowDialog();
//this.Hide(); //this.Hide();
} }
private void weightBtn_Click(object sender, EventArgs e) private void weightBtn_Click(object sender, EventArgs e)
{ {
var entity = ReadCard();
if (entity == null)
return;
new WeightForm(entity).Show();
ReadCard();
if (Program.ve == null)
return;
new WeightForm(Program.ve).Show();
this.Hide(); this.Hide();
} }
ViewEntity ReadCard()
{
var reader = new ReadCardForm();
if (reader.ShowDialog() == DialogResult.OK)
return reader.VEntity;
return null; ;
void ReadCard()
{
Program.ve = null;
var reader = new ReadCardForm();
reader.ShowDialog();
} }
private void closeBtn_Click(object sender, EventArgs e) private void closeBtn_Click(object sender, EventArgs e)
{ {
this.Close(); this.Close();
}
public static void DisableWPFTabletSupport()
{
// Get a collection of the tablet devices for this window.
var devices = System.Windows.Input.Tablet.TabletDevices;
if (devices.Count > 0)
{
// Get the Type of InputManager.
Type inputManagerType = typeof(System.Windows.Input.InputManager);
// Call the StylusLogic method on the InputManager.Current instance.
object stylusLogic = inputManagerType.InvokeMember("StylusLogic",
BindingFlags.GetProperty | BindingFlags.Instance | BindingFlags.NonPublic,
null, InputManager.Current, null);
if (stylusLogic != null)
{
// Get the type of the device class.
Type devicesType = devices.GetType();
// Loop until there are no more devices to remove.
int count = devices.Count + 1;
while (devices.Count > 0)
{
// Remove the first tablet device in the devices collection.
devicesType.InvokeMember("HandleTabletRemoved", BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.NonPublic, null, devices, new object[] { (uint)0 });
count--;
if (devices.Count != count)
{
throw new Win32Exception("Unable to remove real-time stylus support.");
}
}
}
}
} }
} }
} }

+ 7
- 4
SelfHelpClient/Program.cs View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using SelfHelpClient.BO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms; using System.Windows.Forms;
namespace SelfHelpClient namespace SelfHelpClient
@ -16,6 +17,8 @@ namespace SelfHelpClient
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false); Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm()); Application.Run(new MainForm());
}
}
public static ViewEntity ve { get; set; }
} }
} }

+ 37
- 22
SelfHelpClient/ReadCardForm.cs View File

@ -13,35 +13,50 @@ using System.Windows.Forms;
namespace SelfHelpClient namespace SelfHelpClient
{ {
public partial class ReadCardForm : Template public partial class ReadCardForm : Template
{
string _cardNumber = "";
public ViewEntity VEntity { get; set; }
{
string _cardNumber = "";
BrushIdCard mBrushIdCard;
public ReadCardForm() public ReadCardForm()
{ {
InitializeComponent(); InitializeComponent();
this.WindowState = FormWindowState.Maximized;
this.KeyPress += ReadCardForm_KeyPress;
this.WindowState = FormWindowState.Maximized;
this.KeyPress += ReadCardForm_KeyPress;
mBrushIdCard = new BrushIdCard(MBrushIdCard_StatusChanged, MBrushIdCard_IdCardBrushed);
}
private void MBrushIdCard_StatusChanged(object sender, IdCardStatusChangeEventArgs e)
{
}
//刷卡成功
private void MBrushIdCard_IdCardBrushed(object sender, IdCardEventArgs e)
{
var idCard = e.IdCard.ID;
//MessageBox.Show(string.Format("刷卡成功,身份证号:{0}", idCard));
FillViewEntity(idCard);
Close();
} }
void ReadCardForm_KeyPress(object sender, KeyPressEventArgs e) void ReadCardForm_KeyPress(object sender, KeyPressEventArgs e)
{ {
if (e.KeyChar == (char)Keys.Enter)
{
var arr = _cardNumber.Split(new char[] { (char)Keys.Tab }, StringSplitOptions.RemoveEmptyEntries);
if (arr.Length == 8)
_cardNumber = arr[5];
else
{
DialogForm.ShowDialog("身份证读卡配置错误,请联系管理员!", 5);
return;
}
FillViewEntity(_cardNumber);
DialogResult = DialogResult.OK;
}
else
_cardNumber += e.KeyChar.ToString();
//if (e.KeyChar == (char)Keys.Enter)
//{
// var arr = _cardNumber.Split(new char[] { (char)Keys.Tab }, StringSplitOptions.RemoveEmptyEntries);
// if (arr.Length == 8)
// _cardNumber = arr[5];
// else
// {
// DialogForm.ShowDialog("身份证读卡配置错误,请联系管理员!", 5);
// return;
// }
// FillViewEntity(_cardNumber);
// DialogResult = DialogResult.OK;
//}
//else
// _cardNumber += e.KeyChar.ToString();
} }
private void FillViewEntity(string idCard) private void FillViewEntity(string idCard)
{ {
var list = WeightBillBL.GetViewEntity(idCard).OrderByDescending(x => x.Date).ToList(); var list = WeightBillBL.GetViewEntity(idCard).OrderByDescending(x => x.Date).ToList();
@ -51,10 +66,10 @@ namespace SelfHelpClient
this.Close(); this.Close();
} }
else if (list.Count == 1) else if (list.Count == 1)
VEntity = list.First();
Program.ve = list.First();
else else
{ {
new ItemSelect(list, this).ShowDialog();
new ItemSelect(list).ShowDialog();
} }
} }


+ 25
- 10
SelfHelpClient/ReadCardForm2.cs View File

@ -14,24 +14,39 @@ using System.Windows.Forms;
namespace SelfHelpClient namespace SelfHelpClient
{ {
public partial class ReadCardForm2 : Form public partial class ReadCardForm2 : Form
{
string _cardNumber = "";
{
string _cardNumber = "";
BrushIdCard mBrushIdCard;
public ViewEntity VEntity { get; set; } public ViewEntity VEntity { get; set; }
public ReadCardForm2() public ReadCardForm2()
{ {
InitializeComponent(); InitializeComponent();
this.KeyPress += ReadCardForm_KeyPress;
this.KeyPress += ReadCardForm_KeyPress;
mBrushIdCard = new BrushIdCard(MBrushIdCard_StatusChanged, MBrushIdCard_IdCardBrushed);
}
private void MBrushIdCard_StatusChanged(object sender, IdCardStatusChangeEventArgs e)
{
}
//刷卡成功
private void MBrushIdCard_IdCardBrushed(object sender, IdCardEventArgs e)
{
var idCard = e.IdCard.ID;
//MessageBox.Show(string.Format("刷卡成功,身份证号:{0}", idCard));
FillViewEntity(idCard);
DialogResult = DialogResult.OK;
} }
void ReadCardForm_KeyPress(object sender, KeyPressEventArgs e) void ReadCardForm_KeyPress(object sender, KeyPressEventArgs e)
{ {
if (e.KeyChar == (char)Keys.Tab)
{
FillViewEntity(_cardNumber);
DialogResult = DialogResult.OK;
}
else
_cardNumber += e.KeyChar.ToString();
//if (e.KeyChar == (char)Keys.Tab)
//{
// FillViewEntity(_cardNumber);
// DialogResult = DialogResult.OK;
//}
//else
// _cardNumber += e.KeyChar.ToString();
} }
private void FillViewEntity(string idCard) private void FillViewEntity(string idCard)


+ 217
- 213
SelfHelpClient/SelfHelpClient.csproj View File

@ -1,220 +1,224 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{51EF4E9D-1148-4055-8B1A-9A9DBCA12A03}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SelfHelpClient</RootNamespace>
<AssemblyName>SelfHelpClient</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="ButcherFactory.BO, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="BwpClientPrint, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\tsref\Debug\BwpClientPrint.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=4.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\tsref\release\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
<Reference Include="WinFormControl, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" />
</ItemGroup>
<ItemGroup>
<Compile Include="BL\WeightBillBL.cs" />
<Compile Include="BO\CarStandardConfig.cs" />
<Compile Include="BO\ViewEntity.cs" />
<Compile Include="BO\WashCarPrint.cs" />
<Compile Include="DialogForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForm.Designer.cs">
<DependentUpon>DialogForm.cs</DependentUpon>
</Compile>
<Compile Include="ItemSelect.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ItemSelect.Designer.cs">
<DependentUpon>ItemSelect.cs</DependentUpon>
</Compile>
<Compile Include="ItemSelect2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ItemSelect2.Designer.cs">
<DependentUpon>ItemSelect2.cs</DependentUpon>
</Compile>
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="ReadCardForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ReadCardForm.Designer.cs">
<DependentUpon>ReadCardForm.cs</DependentUpon>
</Compile>
<Compile Include="ReadCardForm2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ReadCardForm2.Designer.cs">
<DependentUpon>ReadCardForm2.cs</DependentUpon>
</Compile>
<Compile Include="SelfHelpForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SelfHelpForm.Designer.cs">
<DependentUpon>SelfHelpForm.cs</DependentUpon>
</Compile>
<Compile Include="Template.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Template.Designer.cs">
<DependentUpon>Template.cs</DependentUpon>
</Compile>
<Compile Include="Utils\ClientRpc.cs" />
<Compile Include="BO\WeightBill.cs" />
<Compile Include="BO\WeightBill_FarmerDetail.cs" />
<Compile Include="BO\WeightBill_WeightDetail.cs" />
<Compile Include="Utils\XmlUtil.cs" />
<Compile Include="WeightForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="WeightForm.Designer.cs">
<DependentUpon>WeightForm.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="DialogForm.resx">
<DependentUpon>DialogForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ItemSelect.resx">
<DependentUpon>ItemSelect.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ItemSelect2.resx">
<DependentUpon>ItemSelect2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<SubType>Designer</SubType>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="ReadCardForm.resx">
<DependentUpon>ReadCardForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ReadCardForm2.resx">
<DependentUpon>ReadCardForm2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SelfHelpForm.resx">
<DependentUpon>SelfHelpForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Template.resx">
<DependentUpon>Template.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WeightForm.resx">
<DependentUpon>WeightForm.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="Images\ganying.png" />
<Content Include="Images\guobang.png" />
<Content Include="Images\shuaka.png" />
<Content Include="Images\titleBg.png" />
<Content Include="Images\washCarBtn.png" />
<Content Include="Images\weightPrintBtn.png" />
<Content Include="Images\zizhufuwu.png" />
<Content Include="Resources\ganying.png" />
<Content Include="Resources\guobang.png" />
<Content Include="Resources\shuaka.png" />
<Content Include="Resources\titleBg.png" />
<Content Include="Resources\washCarBtn.png" />
<Content Include="Resources\weightPrintBtn.png" />
<Content Include="Resources\zizhufuwu.png" />
<None Include="Resources\bgPanel.png" />
<None Include="Resources\queren.png" />
<None Include="Resources\fanhui.png" />
<None Include="bin\Debug\ganying.png" />
<None Include="bin\Debug\shuaka.png" />
<None Include="bin\Debug\fanhui.png" />
<None Include="bin\Debug\guobang.png" />
<None Include="bin\Debug\logo.png" />
<None Include="bin\Debug\queren.png" />
<None Include="bin\Debug\titleBg.png" />
<None Include="bin\Debug\zizhufuwu.png" />
<None Include="bin\Debug\washCarBtn.png" />
<None Include="bin\Debug\weightPrintBtn.png" />
<Content Include="CarPaperPrint.html" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ButcherFactory.Form\ButcherFactory.Form.csproj">
<Project>{2485631B-624C-43E0-9287-86FA1C8485FC}</Project>
<Name>ButcherFactory.Form</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{51EF4E9D-1148-4055-8B1A-9A9DBCA12A03}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SelfHelpClient</RootNamespace>
<AssemblyName>SelfHelpClient</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="ButcherFactory.BO, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="BwpClientPrint, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\tsref\Debug\BwpClientPrint.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=4.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\tsref\release\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
<Reference Include="WinFormControl, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" />
</ItemGroup>
<ItemGroup>
<Compile Include="BL\WeightBillBL.cs" />
<Compile Include="BO\CarStandardConfig.cs" />
<Compile Include="BO\ViewEntity.cs" />
<Compile Include="BO\WashCarPrint.cs" />
<Compile Include="BrushIdCard.cs" />
<Compile Include="DialogForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForm.Designer.cs">
<DependentUpon>DialogForm.cs</DependentUpon>
</Compile>
<Compile Include="IdCard.cs" />
<Compile Include="IdCardEventArgs.cs" />
<Compile Include="IdCardStatusChangeEventArgs.cs" />
<Compile Include="ItemSelect.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ItemSelect.Designer.cs">
<DependentUpon>ItemSelect.cs</DependentUpon>
</Compile>
<Compile Include="ItemSelect2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ItemSelect2.Designer.cs">
<DependentUpon>ItemSelect2.cs</DependentUpon>
</Compile>
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="ReadCardForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ReadCardForm.Designer.cs">
<DependentUpon>ReadCardForm.cs</DependentUpon>
</Compile>
<Compile Include="ReadCardForm2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ReadCardForm2.Designer.cs">
<DependentUpon>ReadCardForm2.cs</DependentUpon>
</Compile>
<Compile Include="SelfHelpForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SelfHelpForm.Designer.cs">
<DependentUpon>SelfHelpForm.cs</DependentUpon>
</Compile>
<Compile Include="Template.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Template.Designer.cs">
<DependentUpon>Template.cs</DependentUpon>
</Compile>
<Compile Include="Utils\ClientRpc.cs" />
<Compile Include="BO\WeightBill.cs" />
<Compile Include="BO\WeightBill_FarmerDetail.cs" />
<Compile Include="BO\WeightBill_WeightDetail.cs" />
<Compile Include="Utils\XmlUtil.cs" />
<Compile Include="WeightForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="WeightForm.Designer.cs">
<DependentUpon>WeightForm.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="DialogForm.resx">
<DependentUpon>DialogForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ItemSelect.resx">
<DependentUpon>ItemSelect.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ItemSelect2.resx">
<DependentUpon>ItemSelect2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<SubType>Designer</SubType>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="ReadCardForm.resx">
<DependentUpon>ReadCardForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ReadCardForm2.resx">
<DependentUpon>ReadCardForm2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SelfHelpForm.resx">
<DependentUpon>SelfHelpForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Template.resx">
<DependentUpon>Template.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WeightForm.resx">
<DependentUpon>WeightForm.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="Images\ganying.png" />
<Content Include="Images\guobang.png" />
<Content Include="Images\shuaka.png" />
<Content Include="Images\titleBg.png" />
<Content Include="Images\washCarBtn.png" />
<Content Include="Images\weightPrintBtn.png" />
<Content Include="Images\zizhufuwu.png" />
<Content Include="Resources\ganying.png" />
<Content Include="Resources\guobang.png" />
<Content Include="Resources\shuaka.png" />
<Content Include="Resources\titleBg.png" />
<Content Include="Resources\washCarBtn.png" />
<Content Include="Resources\weightPrintBtn.png" />
<Content Include="Resources\zizhufuwu.png" />
<None Include="Resources\bgPanel.png" />
<None Include="Resources\queren.png" />
<None Include="Resources\fanhui.png" />
<None Include="bin\Debug\ganying.png" />
<None Include="bin\Debug\shuaka.png" />
<None Include="bin\Debug\fanhui.png" />
<None Include="bin\Debug\guobang.png" />
<None Include="bin\Debug\logo.png" />
<None Include="bin\Debug\queren.png" />
<None Include="bin\Debug\titleBg.png" />
<None Include="bin\Debug\zizhufuwu.png" />
<None Include="bin\Debug\washCarBtn.png" />
<None Include="bin\Debug\weightPrintBtn.png" />
<Content Include="CarPaperPrint.html" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ButcherFactory.Form\ButcherFactory.Form.csproj">
<Project>{2485631B-624C-43E0-9287-86FA1C8485FC}</Project>
<Name>ButcherFactory.Form</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">
</Target> </Target>
<Target Name="AfterBuild"> <Target Name="AfterBuild">
</Target> </Target>
-->
-->
</Project> </Project>

Loading…
Cancel
Save