From bec7d4e1d5f80f61547f1d0942ee0d5782e4dee1 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Mon, 18 Feb 2019 13:45:30 +0800 Subject: [PATCH] init --- .gitignore | 6 + B3DealerClient.sln | 22 + B3DealerClient/App.config | 6 + B3DealerClient/App.xaml | 45 ++ B3DealerClient/App.xaml.cs | 62 +++ B3DealerClient/B3DealerClient.csproj | 244 +++++++++++ B3DealerClient/BL/LoginBL.cs | 26 ++ .../Control/DataFormat/DataFormat.cs | 70 +++ .../Control/DataFormat/IND560DataFormat.cs | 58 +++ .../Control/DataFormat/Xk3124DataFormat.cs | 121 +++++ .../Control/DataFormat/Xk3190A9DataFormat.cs | 136 ++++++ B3DealerClient/Control/NumberPad.xaml | 60 +++ B3DealerClient/Control/NumberPad.xaml.cs | 85 ++++ B3DealerClient/Control/WeightConfig.cs | 37 ++ B3DealerClient/Control/WeightControl.xaml | 27 ++ B3DealerClient/Control/WeightControl.xaml.cs | 256 +++++++++++ .../Control/WeightSettingWindow.xaml | 53 +++ .../Control/WeightSettingWindow.xaml.cs | 94 ++++ B3DealerClient/FunctionSelectDialog.xaml | 25 ++ B3DealerClient/FunctionSelectDialog.xaml.cs | 61 +++ B3DealerClient/Images/login.png | Bin 0 -> 233112 bytes B3DealerClient/Images/setting.png | Bin 0 -> 1531 bytes B3DealerClient/LoginWindow.xaml | 25 ++ B3DealerClient/LoginWindow.xaml.cs | 89 ++++ B3DealerClient/Properties/AssemblyInfo.cs | 55 +++ .../Properties/Resources.Designer.cs | 71 +++ B3DealerClient/Properties/Resources.resx | 117 +++++ .../Properties/Settings.Designer.cs | 30 ++ B3DealerClient/Properties/Settings.settings | 7 + B3DealerClient/SettingDialog.xaml | 34 ++ B3DealerClient/SettingDialog.xaml.cs | 92 ++++ B3DealerClient/Style/Border.xaml | 8 + B3DealerClient/Style/Button.xaml | 31 ++ B3DealerClient/Style/Calendar.xaml | 414 ++++++++++++++++++ B3DealerClient/Style/CheckBox.xaml | 43 ++ B3DealerClient/Style/Colors.xaml | 92 ++++ B3DealerClient/Style/ComboBox.xaml | 35 ++ B3DealerClient/Style/DataGrid.xaml | 117 +++++ B3DealerClient/Style/DatePicker.xaml | 164 +++++++ B3DealerClient/Style/TSIcon.xaml | 12 + B3DealerClient/Utils/AppContext.cs | 67 +++ B3DealerClient/Utils/ControlAttachProperty.cs | 66 +++ B3DealerClient/Utils/DbUtil.cs | 50 +++ B3DealerClient/Utils/WindowUtil.cs | 28 ++ B3DealerClient/Utils/XmlUtil.cs | 47 ++ .../CarcassInStoreWindow.xaml | 250 +++++++++++ .../CarcassInStoreWindow.xaml.cs | 27 ++ .../CarcassSaleOutWindow.xaml | 250 +++++++++++ .../CarcassSaleOutWindow.xaml.cs | 27 ++ .../FreshInStoreWindow.xaml | 173 ++++++++ .../FreshInStoreWindow.xaml.cs | 27 ++ .../FreshSaleOutWindow.xaml | 8 + .../FreshSaleOutWindow.xaml.cs | 27 ++ B3DealerClient/app.ico | Bin 0 -> 67646 bytes 54 files changed, 3977 insertions(+) create mode 100644 .gitignore create mode 100644 B3DealerClient.sln create mode 100644 B3DealerClient/App.config create mode 100644 B3DealerClient/App.xaml create mode 100644 B3DealerClient/App.xaml.cs create mode 100644 B3DealerClient/B3DealerClient.csproj create mode 100644 B3DealerClient/BL/LoginBL.cs create mode 100644 B3DealerClient/Control/DataFormat/DataFormat.cs create mode 100644 B3DealerClient/Control/DataFormat/IND560DataFormat.cs create mode 100644 B3DealerClient/Control/DataFormat/Xk3124DataFormat.cs create mode 100644 B3DealerClient/Control/DataFormat/Xk3190A9DataFormat.cs create mode 100644 B3DealerClient/Control/NumberPad.xaml create mode 100644 B3DealerClient/Control/NumberPad.xaml.cs create mode 100644 B3DealerClient/Control/WeightConfig.cs create mode 100644 B3DealerClient/Control/WeightControl.xaml create mode 100644 B3DealerClient/Control/WeightControl.xaml.cs create mode 100644 B3DealerClient/Control/WeightSettingWindow.xaml create mode 100644 B3DealerClient/Control/WeightSettingWindow.xaml.cs create mode 100644 B3DealerClient/FunctionSelectDialog.xaml create mode 100644 B3DealerClient/FunctionSelectDialog.xaml.cs create mode 100644 B3DealerClient/Images/login.png create mode 100644 B3DealerClient/Images/setting.png create mode 100644 B3DealerClient/LoginWindow.xaml create mode 100644 B3DealerClient/LoginWindow.xaml.cs create mode 100644 B3DealerClient/Properties/AssemblyInfo.cs create mode 100644 B3DealerClient/Properties/Resources.Designer.cs create mode 100644 B3DealerClient/Properties/Resources.resx create mode 100644 B3DealerClient/Properties/Settings.Designer.cs create mode 100644 B3DealerClient/Properties/Settings.settings create mode 100644 B3DealerClient/SettingDialog.xaml create mode 100644 B3DealerClient/SettingDialog.xaml.cs create mode 100644 B3DealerClient/Style/Border.xaml create mode 100644 B3DealerClient/Style/Button.xaml create mode 100644 B3DealerClient/Style/Calendar.xaml create mode 100644 B3DealerClient/Style/CheckBox.xaml create mode 100644 B3DealerClient/Style/Colors.xaml create mode 100644 B3DealerClient/Style/ComboBox.xaml create mode 100644 B3DealerClient/Style/DataGrid.xaml create mode 100644 B3DealerClient/Style/DatePicker.xaml create mode 100644 B3DealerClient/Style/TSIcon.xaml create mode 100644 B3DealerClient/Utils/AppContext.cs create mode 100644 B3DealerClient/Utils/ControlAttachProperty.cs create mode 100644 B3DealerClient/Utils/DbUtil.cs create mode 100644 B3DealerClient/Utils/WindowUtil.cs create mode 100644 B3DealerClient/Utils/XmlUtil.cs create mode 100644 B3DealerClient/Windows/CarcassInStoreWindow_/CarcassInStoreWindow.xaml create mode 100644 B3DealerClient/Windows/CarcassInStoreWindow_/CarcassInStoreWindow.xaml.cs create mode 100644 B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml create mode 100644 B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml.cs create mode 100644 B3DealerClient/Windows/FreshInStoreWindow_/FreshInStoreWindow.xaml create mode 100644 B3DealerClient/Windows/FreshInStoreWindow_/FreshInStoreWindow.xaml.cs create mode 100644 B3DealerClient/Windows/FreshSaleOutWindow_/FreshSaleOutWindow.xaml create mode 100644 B3DealerClient/Windows/FreshSaleOutWindow_/FreshSaleOutWindow.xaml.cs create mode 100644 B3DealerClient/app.ico diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f83ed3c --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.* +*.TMP +*.suo +*.user +obj +bin diff --git a/B3DealerClient.sln b/B3DealerClient.sln new file mode 100644 index 0000000..840f118 --- /dev/null +++ b/B3DealerClient.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.40629.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "B3DealerClient", "B3DealerClient\B3DealerClient.csproj", "{24AC5416-A243-485A-BC71-533606677CA3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {24AC5416-A243-485A-BC71-533606677CA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {24AC5416-A243-485A-BC71-533606677CA3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {24AC5416-A243-485A-BC71-533606677CA3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {24AC5416-A243-485A-BC71-533606677CA3}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/B3DealerClient/App.config b/B3DealerClient/App.config new file mode 100644 index 0000000..fad249e --- /dev/null +++ b/B3DealerClient/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/B3DealerClient/App.xaml b/B3DealerClient/App.xaml new file mode 100644 index 0000000..725a37f --- /dev/null +++ b/B3DealerClient/App.xaml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +