From 922958cf02ec47cf8fb5ab8b24c9641b6b970d45 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Thu, 27 Sep 2018 10:57:18 +0800 Subject: [PATCH] init --- .gitignore | 6 + .../B3SheepButcherManage.Web.csproj | 118 ++++++++++++++++++ B3SheepButcherManage.Web/PluginClass.cs | 22 ++++ .../Properties/AssemblyInfo.cs | 35 ++++++ B3SheepButcherManage.sln | 54 ++++++++ .../B3SheepButcherManage.csproj | 101 +++++++++++++++ B3SheepButcherManage/DmoTypeIDOffsets.cs | 24 ++++ .../Properties/AssemblyInfo.cs | 39 ++++++ .../Plugins/B3SheepButcherManage.Plugin | 106 ++++++++++++++++ .../config/ioc/B3SheepButcherManageMenu.txt | 1 + 10 files changed, 506 insertions(+) create mode 100644 .gitignore create mode 100644 B3SheepButcherManage.Web/B3SheepButcherManage.Web.csproj create mode 100644 B3SheepButcherManage.Web/PluginClass.cs create mode 100644 B3SheepButcherManage.Web/Properties/AssemblyInfo.cs create mode 100644 B3SheepButcherManage.sln create mode 100644 B3SheepButcherManage/B3SheepButcherManage.csproj create mode 100644 B3SheepButcherManage/DmoTypeIDOffsets.cs create mode 100644 B3SheepButcherManage/Properties/AssemblyInfo.cs create mode 100644 WebFolder/config/Plugins/B3SheepButcherManage.Plugin create mode 100644 WebFolder/config/ioc/B3SheepButcherManageMenu.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0543db9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*.suo +bin +obj +*.user +_* +/.vs/config diff --git a/B3SheepButcherManage.Web/B3SheepButcherManage.Web.csproj b/B3SheepButcherManage.Web/B3SheepButcherManage.Web.csproj new file mode 100644 index 0000000..90ccf02 --- /dev/null +++ b/B3SheepButcherManage.Web/B3SheepButcherManage.Web.csproj @@ -0,0 +1,118 @@ + + + + + Debug + AnyCPU + {C9363362-1A40-4FE1-8AAD-E4CE238A0EC8} + Library + Properties + BWP.Web + B3SheepButcherManage.Web + v4.0 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3Frameworks.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3Frameworks.Web.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3ProcurementInterface.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3ProduceUnitedInfos.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3SaleInterface.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3System.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3System.Web.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3UnitedInfos.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3UnitedInfos.Web.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\Forks.EnterpriseServices.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\Forks.Utils.dll + + + + + + + + + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\TSingSoft.WebControls2.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\Wpf.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\Wpf.System.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\Wpf.System.Web.dll + + + + + + + + + + + + + \ No newline at end of file diff --git a/B3SheepButcherManage.Web/PluginClass.cs b/B3SheepButcherManage.Web/PluginClass.cs new file mode 100644 index 0000000..aa85a6f --- /dev/null +++ b/B3SheepButcherManage.Web/PluginClass.cs @@ -0,0 +1,22 @@ +using BWP.B3System; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using TSingSoft.WebPluginFramework; + +namespace BWP.B3SheepButcherManage.Web +{ + public class PluginClass : IPluginClass + { + public void OnInit() + { + SubSystem.RegisterSubSystem(new SubSystem("B3SheepButcherManage", "羊屠宰场管理") + { + IconUrl = "~/Images/ChildSystemIcons/B3Butchery.png", + NotSelectedIconUrl = "~/Images/ChildSystemIcons/B3Butchery_NotSelected.png", + DisplayOrder = -600 + }); + } + } +} diff --git a/B3SheepButcherManage.Web/Properties/AssemblyInfo.cs b/B3SheepButcherManage.Web/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..dcc44de --- /dev/null +++ b/B3SheepButcherManage.Web/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("B3SheepButcherManage.Web")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("B3SheepButcherManage.Web")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("29e30688-0e8c-4173-8c69-7c6db36c14a3")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] diff --git a/B3SheepButcherManage.sln b/B3SheepButcherManage.sln new file mode 100644 index 0000000..08ec6a5 --- /dev/null +++ b/B3SheepButcherManage.sln @@ -0,0 +1,54 @@ + +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}") = "B3SheepButcherManage", "B3SheepButcherManage\B3SheepButcherManage.csproj", "{E4A988CC-58B2-4ED0-9387-A1CC477634AB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "B3SheepButcherManage.Web", "B3SheepButcherManage.Web\B3SheepButcherManage.Web.csproj", "{C9363362-1A40-4FE1-8AAD-E4CE238A0EC8}" +EndProject +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "WebFolder(50)", "http://localhost:52365", "{94E72379-5D47-4156-B5E2-E6D0909ADA63}" + ProjectSection(WebsiteProperties) = preProject + UseIISExpress = "true" + TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" + Debug.AspNetCompiler.VirtualPath = "/localhost_52365" + Debug.AspNetCompiler.PhysicalPath = "WebFolder\" + Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_52365\" + Debug.AspNetCompiler.Updateable = "true" + Debug.AspNetCompiler.ForceOverwrite = "true" + Debug.AspNetCompiler.FixedNames = "false" + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.VirtualPath = "/localhost_52365" + Release.AspNetCompiler.PhysicalPath = "WebFolder\" + Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_52365\" + Release.AspNetCompiler.Updateable = "true" + Release.AspNetCompiler.ForceOverwrite = "true" + Release.AspNetCompiler.FixedNames = "false" + Release.AspNetCompiler.Debug = "False" + SlnRelativePath = "WebFolder\" + DefaultWebSiteLanguage = "Visual C#" + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E4A988CC-58B2-4ED0-9387-A1CC477634AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E4A988CC-58B2-4ED0-9387-A1CC477634AB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E4A988CC-58B2-4ED0-9387-A1CC477634AB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E4A988CC-58B2-4ED0-9387-A1CC477634AB}.Release|Any CPU.Build.0 = Release|Any CPU + {C9363362-1A40-4FE1-8AAD-E4CE238A0EC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C9363362-1A40-4FE1-8AAD-E4CE238A0EC8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C9363362-1A40-4FE1-8AAD-E4CE238A0EC8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C9363362-1A40-4FE1-8AAD-E4CE238A0EC8}.Release|Any CPU.Build.0 = Release|Any CPU + {94E72379-5D47-4156-B5E2-E6D0909ADA63}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {94E72379-5D47-4156-B5E2-E6D0909ADA63}.Debug|Any CPU.Build.0 = Debug|Any CPU + {94E72379-5D47-4156-B5E2-E6D0909ADA63}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {94E72379-5D47-4156-B5E2-E6D0909ADA63}.Release|Any CPU.Build.0 = Debug|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/B3SheepButcherManage/B3SheepButcherManage.csproj b/B3SheepButcherManage/B3SheepButcherManage.csproj new file mode 100644 index 0000000..0121047 --- /dev/null +++ b/B3SheepButcherManage/B3SheepButcherManage.csproj @@ -0,0 +1,101 @@ + + + + + Debug + AnyCPU + {E4A988CC-58B2-4ED0-9387-A1CC477634AB} + Library + Properties + BWP.B3SheepButcherManage + B3SheepButcherManage + v4.0 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3Frameworks.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3Frameworks.Web.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3ProcurementInterface.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3ProduceUnitedInfos.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3SaleInterface.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\B3UnitedInfos.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\Forks.EnterpriseServices.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\Forks.Utils.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\Newtonsoft.Json.dll + + + + + + + + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\TSingSoft.WebControls2.dll + + + False + ..\..\..\..\BwpB3Project\tsref\Debug\Wpf.System.dll + + + + + + + + + + + + + \ No newline at end of file diff --git a/B3SheepButcherManage/DmoTypeIDOffsets.cs b/B3SheepButcherManage/DmoTypeIDOffsets.cs new file mode 100644 index 0000000..ff28de8 --- /dev/null +++ b/B3SheepButcherManage/DmoTypeIDOffsets.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace BWP.B3SheepButcherManage +{ + public static class B3SheepButcherManageConsts //常量 + { + internal static class DmoTypeIDOffsets + { + } + + public static class DataSources + { + internal const string Prefix = "B3SheepButcherManager_"; + //public const string 奖罚项目 = Prefix + "奖罚项目"; + } + + public static class GlobalFlags + { + } + } +} diff --git a/B3SheepButcherManage/Properties/AssemblyInfo.cs b/B3SheepButcherManage/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f69291d --- /dev/null +++ b/B3SheepButcherManage/Properties/AssemblyInfo.cs @@ -0,0 +1,39 @@ +using Forks.EnterpriseServices.DomainObjects2; +using Forks.EnterpriseServices.Ert; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("B3SheepButcherManage")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("B3SheepButcherManage")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("213d719e-ea97-4ae7-ab7c-cffec95b62a6")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyMapToTablePrefix("B3SheepButcherManage_")] +[assembly: ErtAbbr("B3SheepButcherManage", "BWP.B3SheepButcherManage")] diff --git a/WebFolder/config/Plugins/B3SheepButcherManage.Plugin b/WebFolder/config/Plugins/B3SheepButcherManage.Plugin new file mode 100644 index 0000000..fc19d72 --- /dev/null +++ b/WebFolder/config/Plugins/B3SheepButcherManage.Plugin @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/WebFolder/config/ioc/B3SheepButcherManageMenu.txt b/WebFolder/config/ioc/B3SheepButcherManageMenu.txt new file mode 100644 index 0000000..646b580 --- /dev/null +++ b/WebFolder/config/ioc/B3SheepButcherManageMenu.txt @@ -0,0 +1 @@ +B3羊屠宰场管理菜单 \ No newline at end of file