| @@ -0,0 +1 @@ | |||
| **/wwwroot/libs/** linguist-vendored | |||
| @@ -0,0 +1,262 @@ | |||
| ## Ignore Visual Studio temporary files, build results, and | |||
| ## files generated by popular Visual Studio add-ons. | |||
| # User-specific files | |||
| *.suo | |||
| *.user | |||
| *.userosscache | |||
| *.sln.docstates | |||
| # User-specific files (MonoDevelop/Xamarin Studio) | |||
| *.userprefs | |||
| # Build results | |||
| [Dd]ebug/ | |||
| [Dd]ebugPublic/ | |||
| [Rr]elease/ | |||
| [Rr]eleases/ | |||
| x64/ | |||
| x86/ | |||
| bld/ | |||
| [Bb]in/ | |||
| [Oo]bj/ | |||
| [Ll]og/ | |||
| # Visual Studio 2015 cache/options directory | |||
| .vs/ | |||
| # Uncomment if you have tasks that create the project's static files in wwwroot | |||
| #wwwroot/ | |||
| # MSTest test Results | |||
| [Tt]est[Rr]esult*/ | |||
| [Bb]uild[Ll]og.* | |||
| # NUNIT | |||
| *.VisualState.xml | |||
| TestResult.xml | |||
| # Build Results of an ATL Project | |||
| [Dd]ebugPS/ | |||
| [Rr]eleasePS/ | |||
| dlldata.c | |||
| # DNX | |||
| project.lock.json | |||
| artifacts/ | |||
| *_i.c | |||
| *_p.c | |||
| *_i.h | |||
| *.ilk | |||
| *.meta | |||
| *.obj | |||
| *.pch | |||
| *.pdb | |||
| *.pgc | |||
| *.pgd | |||
| *.rsp | |||
| *.sbr | |||
| *.tlb | |||
| *.tli | |||
| *.tlh | |||
| *.tmp | |||
| *.tmp_proj | |||
| *.log | |||
| *.vspscc | |||
| *.vssscc | |||
| .builds | |||
| *.pidb | |||
| *.svclog | |||
| *.scc | |||
| # Chutzpah Test files | |||
| _Chutzpah* | |||
| # Visual C++ cache files | |||
| ipch/ | |||
| *.aps | |||
| *.ncb | |||
| *.opendb | |||
| *.opensdf | |||
| *.sdf | |||
| *.cachefile | |||
| *.VC.db | |||
| *.VC.VC.opendb | |||
| # Visual Studio profiler | |||
| *.psess | |||
| *.vsp | |||
| *.vspx | |||
| *.sap | |||
| # TFS 2012 Local Workspace | |||
| $tf/ | |||
| # Guidance Automation Toolkit | |||
| *.gpState | |||
| # ReSharper is a .NET coding add-in | |||
| _ReSharper*/ | |||
| *.[Rr]e[Ss]harper | |||
| *.DotSettings.user | |||
| # JustCode is a .NET coding add-in | |||
| .JustCode | |||
| # TeamCity is a build add-in | |||
| _TeamCity* | |||
| # DotCover is a Code Coverage Tool | |||
| *.dotCover | |||
| # NCrunch | |||
| _NCrunch_* | |||
| .*crunch*.local.xml | |||
| nCrunchTemp_* | |||
| # MightyMoose | |||
| *.mm.* | |||
| AutoTest.Net/ | |||
| # Web workbench (sass) | |||
| .sass-cache/ | |||
| # Installshield output folder | |||
| [Ee]xpress/ | |||
| # DocProject is a documentation generator add-in | |||
| DocProject/buildhelp/ | |||
| DocProject/Help/*.HxT | |||
| DocProject/Help/*.HxC | |||
| DocProject/Help/*.hhc | |||
| DocProject/Help/*.hhk | |||
| DocProject/Help/*.hhp | |||
| DocProject/Help/Html2 | |||
| DocProject/Help/html | |||
| # Click-Once directory | |||
| publish/ | |||
| # Publish Web Output | |||
| *.[Pp]ublish.xml | |||
| *.azurePubxml | |||
| # TODO: Comment the next line if you want to checkin your web deploy settings | |||
| # but database connection strings (with potential passwords) will be unencrypted | |||
| *.pubxml | |||
| *.publishproj | |||
| # Microsoft Azure Web App publish settings. Comment the next line if you want to | |||
| # checkin your Azure Web App publish settings, but sensitive information contained | |||
| # in these scripts will be unencrypted | |||
| PublishScripts/ | |||
| # NuGet Packages | |||
| *.nupkg | |||
| # The packages folder can be ignored because of Package Restore | |||
| **/packages/* | |||
| # except build/, which is used as an MSBuild target. | |||
| !**/packages/build/ | |||
| # Uncomment if necessary however generally it will be regenerated when needed | |||
| #!**/packages/repositories.config | |||
| # NuGet v3's project.json files produces more ignoreable files | |||
| *.nuget.props | |||
| *.nuget.targets | |||
| # Microsoft Azure Build Output | |||
| csx/ | |||
| *.build.csdef | |||
| # Microsoft Azure Emulator | |||
| ecf/ | |||
| rcf/ | |||
| # Windows Store app package directories and files | |||
| AppPackages/ | |||
| BundleArtifacts/ | |||
| Package.StoreAssociation.xml | |||
| _pkginfo.txt | |||
| # Visual Studio cache files | |||
| # files ending in .cache can be ignored | |||
| *.[Cc]ache | |||
| # but keep track of directories ending in .cache | |||
| !*.[Cc]ache/ | |||
| # Others | |||
| ClientBin/ | |||
| ~$* | |||
| *~ | |||
| *.dbmdl | |||
| *.dbproj.schemaview | |||
| *.pfx | |||
| *.publishsettings | |||
| node_modules/ | |||
| orleans.codegen.cs | |||
| # Since there are multiple workflows, uncomment next line to ignore bower_components | |||
| # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) | |||
| #bower_components/ | |||
| # RIA/Silverlight projects | |||
| Generated_Code/ | |||
| # Backup & report files from converting an old project file | |||
| # to a newer Visual Studio version. Backup files are not needed, | |||
| # because we have git ;-) | |||
| _UpgradeReport_Files/ | |||
| Backup*/ | |||
| UpgradeLog*.XML | |||
| UpgradeLog*.htm | |||
| # SQL Server files | |||
| *.mdf | |||
| *.ldf | |||
| # Business Intelligence projects | |||
| *.rdl.data | |||
| *.bim.layout | |||
| *.bim_*.settings | |||
| # Microsoft Fakes | |||
| FakesAssemblies/ | |||
| # GhostDoc plugin setting file | |||
| *.GhostDoc.xml | |||
| # Node.js Tools for Visual Studio | |||
| .ntvs_analysis.dat | |||
| # Visual Studio 6 build log | |||
| *.plg | |||
| # Visual Studio 6 workspace options file | |||
| *.opt | |||
| # Visual Studio LightSwitch build output | |||
| **/*.HTMLClient/GeneratedArtifacts | |||
| **/*.DesktopClient/GeneratedArtifacts | |||
| **/*.DesktopClient/ModelManifest.xml | |||
| **/*.Server/GeneratedArtifacts | |||
| **/*.Server/ModelManifest.xml | |||
| _Pvt_Extensions | |||
| # Paket dependency manager | |||
| .paket/paket.exe | |||
| paket-files/ | |||
| # FAKE - F# Make | |||
| .fake/ | |||
| # JetBrains Rider | |||
| .idea/ | |||
| *.sln.iml | |||
| # TaskScheduling | |||
| host/Himp.TaskScheduling.AuthServer/Logs/logs.txt | |||
| host/Himp.TaskScheduling.HttpApi.Host/Logs/logs.txt | |||
| host/Himp.TaskScheduling.Web.Host/Logs/logs.txt | |||
| host/Himp.TaskScheduling.Web.Unified/Logs/logs.txt | |||
| host/Himp.TaskScheduling.Blazor.Server.Host/Logs/logs.txt | |||
| # Use abp install-libs to restore. | |||
| **/wwwroot/libs/* | |||
| @@ -0,0 +1,5 @@ | |||
| { | |||
| "singleQuote": true, | |||
| "useTabs": false, | |||
| "tabWidth": 4 | |||
| } | |||
| @@ -0,0 +1,111 @@ | |||
| { | |||
| "folders": { | |||
| "items": { | |||
| "src": {}, | |||
| "test": {}, | |||
| "host": {} | |||
| } | |||
| }, | |||
| "packages": { | |||
| "Himp.TaskScheduling.Domain.Shared": { | |||
| "path": "src/Himp.TaskScheduling.Domain.Shared/Himp.TaskScheduling.Domain.Shared.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.Domain": { | |||
| "path": "src/Himp.TaskScheduling.Domain/Himp.TaskScheduling.Domain.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.Application.Contracts": { | |||
| "path": "src/Himp.TaskScheduling.Application.Contracts/Himp.TaskScheduling.Application.Contracts.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.Application": { | |||
| "path": "src/Himp.TaskScheduling.Application/Himp.TaskScheduling.Application.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.EntityFrameworkCore": { | |||
| "path": "src/Himp.TaskScheduling.EntityFrameworkCore/Himp.TaskScheduling.EntityFrameworkCore.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.MongoDB": { | |||
| "path": "src/Himp.TaskScheduling.MongoDB/Himp.TaskScheduling.MongoDB.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.HttpApi": { | |||
| "path": "src/Himp.TaskScheduling.HttpApi/Himp.TaskScheduling.HttpApi.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.HttpApi.Client": { | |||
| "path": "src/Himp.TaskScheduling.HttpApi.Client/Himp.TaskScheduling.HttpApi.Client.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.TestBase": { | |||
| "path": "test/Himp.TaskScheduling.TestBase/Himp.TaskScheduling.TestBase.abppkg", | |||
| "folder": "test" | |||
| }, | |||
| "Himp.TaskScheduling.EntityFrameworkCore.Tests": { | |||
| "path": "test/Himp.TaskScheduling.EntityFrameworkCore.Tests/Himp.TaskScheduling.EntityFrameworkCore.Tests.abppkg", | |||
| "folder": "test" | |||
| }, | |||
| "Himp.TaskScheduling.MongoDB.Tests": { | |||
| "path": "test/Himp.TaskScheduling.MongoDB.Tests/Himp.TaskScheduling.MongoDB.Tests.abppkg", | |||
| "folder": "test" | |||
| }, | |||
| "Himp.TaskScheduling.Domain.Tests": { | |||
| "path": "test/Himp.TaskScheduling.Domain.Tests/Himp.TaskScheduling.Domain.Tests.abppkg", | |||
| "folder": "test" | |||
| }, | |||
| "Himp.TaskScheduling.Application.Tests": { | |||
| "path": "test/Himp.TaskScheduling.Application.Tests/Himp.TaskScheduling.Application.Tests.abppkg", | |||
| "folder": "test" | |||
| }, | |||
| "Himp.TaskScheduling.HttpApi.Host": { | |||
| "path": "host/Himp.TaskScheduling.HttpApi.Host/Himp.TaskScheduling.HttpApi.Host.abppkg", | |||
| "folder": "host" | |||
| }, | |||
| "Himp.TaskScheduling.Web": { | |||
| "path": "src/Himp.TaskScheduling.Web/Himp.TaskScheduling.Web.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.HttpApi.Client.ConsoleTestApp": { | |||
| "path": "test/Himp.TaskScheduling.HttpApi.Client.ConsoleTestApp/Himp.TaskScheduling.HttpApi.Client.ConsoleTestApp.abppkg", | |||
| "folder": "test" | |||
| }, | |||
| "Himp.TaskScheduling.Web.Host": { | |||
| "path": "host/Himp.TaskScheduling.Web.Host/Himp.TaskScheduling.Web.Host.abppkg", | |||
| "folder": "host" | |||
| }, | |||
| "Himp.TaskScheduling.AuthServer": { | |||
| "path": "host/Himp.TaskScheduling.AuthServer/Himp.TaskScheduling.AuthServer.abppkg", | |||
| "folder": "host" | |||
| }, | |||
| "Himp.TaskScheduling.Host.Shared": { | |||
| "path": "host/Himp.TaskScheduling.Host.Shared/Himp.TaskScheduling.Host.Shared.abppkg", | |||
| "folder": "host" | |||
| }, | |||
| "Himp.TaskScheduling.Web.Unified": { | |||
| "path": "host/Himp.TaskScheduling.Web.Unified/Himp.TaskScheduling.Web.Unified.abppkg", | |||
| "folder": "host" | |||
| }, | |||
| "Himp.TaskScheduling.Blazor": { | |||
| "path": "src/Himp.TaskScheduling.Blazor/Himp.TaskScheduling.Blazor.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.Blazor.Host": { | |||
| "path": "host/Himp.TaskScheduling.Blazor.Host/Himp.TaskScheduling.Blazor.Host.abppkg", | |||
| "folder": "host" | |||
| }, | |||
| "Himp.TaskScheduling.Blazor.Server": { | |||
| "path": "src/Himp.TaskScheduling.Blazor.Server/Himp.TaskScheduling.Blazor.Server.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.Blazor.WebAssembly": { | |||
| "path": "src/Himp.TaskScheduling.Blazor.WebAssembly/Himp.TaskScheduling.Blazor.WebAssembly.abppkg", | |||
| "folder": "src" | |||
| }, | |||
| "Himp.TaskScheduling.Blazor.Server.Host": { | |||
| "path": "host/Himp.TaskScheduling.Blazor.Server.Host/Himp.TaskScheduling.Blazor.Server.Host.abppkg", | |||
| "folder": "host" | |||
| } | |||
| } | |||
| } | |||
| @@ -0,0 +1,7 @@ | |||
| { | |||
| "modules": { | |||
| "Himp.TaskScheduling": { | |||
| "path": "Himp.TaskScheduling.abpmdl" | |||
| } | |||
| } | |||
| } | |||
| @@ -0,0 +1,146 @@ | |||
| | |||
| Microsoft Visual Studio Solution File, Format Version 12.00 | |||
| # Visual Studio Version 17 | |||
| VisualStudioVersion = 17.8.34330.188 | |||
| MinimumVisualStudioVersion = 10.0.40219.1 | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.Domain.Shared", "src\Himp.TaskScheduling.Domain.Shared\Himp.TaskScheduling.Domain.Shared.csproj", "{D64C1577-4929-4B60-939E-96DE1534891A}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.Domain", "src\Himp.TaskScheduling.Domain\Himp.TaskScheduling.Domain.csproj", "{F2840BC7-0188-4606-9126-DADD0F5ABF7A}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.Application.Contracts", "src\Himp.TaskScheduling.Application.Contracts\Himp.TaskScheduling.Application.Contracts.csproj", "{BD65D04F-08D5-40C1-8C24-77CA0BACB877}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.Application", "src\Himp.TaskScheduling.Application\Himp.TaskScheduling.Application.csproj", "{78040F9E-3501-4A40-82DF-00A597710F35}" | |||
| EndProject | |||
| Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{649A3FFA-182F-4E56-9717-E6A9A2BEC545}" | |||
| EndProject | |||
| Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{CCD2960C-23CC-4AB4-B84D-60C7AAA52F4D}" | |||
| EndProject | |||
| Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "host", "host", "{E400416D-2895-4512-9D17-90681EEC7E0A}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.EntityFrameworkCore", "src\Himp.TaskScheduling.EntityFrameworkCore\Himp.TaskScheduling.EntityFrameworkCore.csproj", "{0CE86223-D31D-4315-A1F5-87BA3EE1B844}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.MongoDB", "src\Himp.TaskScheduling.MongoDB\Himp.TaskScheduling.MongoDB.csproj", "{F1C58097-4C08-4D88-8976-6B3389391481}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.HttpApi", "src\Himp.TaskScheduling.HttpApi\Himp.TaskScheduling.HttpApi.csproj", "{077AA5F8-8B61-420C-A6B5-0150A66FDB34}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.HttpApi.Client", "src\Himp.TaskScheduling.HttpApi.Client\Himp.TaskScheduling.HttpApi.Client.csproj", "{36E2735F-CEAB-44C8-A6D1-2CDAFF399751}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.TestBase", "test\Himp.TaskScheduling.TestBase\Himp.TaskScheduling.TestBase.csproj", "{C5BB573D-3030-4BCB-88B7-F6A85C32766C}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.EntityFrameworkCore.Tests", "test\Himp.TaskScheduling.EntityFrameworkCore.Tests\Himp.TaskScheduling.EntityFrameworkCore.Tests.csproj", "{527F645C-C1FC-406E-8479-81386C8ECF13}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.MongoDB.Tests", "test\Himp.TaskScheduling.MongoDB.Tests\Himp.TaskScheduling.MongoDB.Tests.csproj", "{D0AD9179-125C-40B2-A8EE-CD4C1EE24BB6}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.Domain.Tests", "test\Himp.TaskScheduling.Domain.Tests\Himp.TaskScheduling.Domain.Tests.csproj", "{E60895E5-79C4-447D-88B7-85CB5BA336A4}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.Application.Tests", "test\Himp.TaskScheduling.Application.Tests\Himp.TaskScheduling.Application.Tests.csproj", "{90CB5DC4-C040-45C7-8900-9688B26405BC}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.HttpApi.Host", "host\Himp.TaskScheduling.HttpApi.Host\Himp.TaskScheduling.HttpApi.Host.csproj", "{37B135B0-DAFE-4616-B25C-1BDF32FC44A2}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.HttpApi.Client.ConsoleTestApp", "test\Himp.TaskScheduling.HttpApi.Client.ConsoleTestApp\Himp.TaskScheduling.HttpApi.Client.ConsoleTestApp.csproj", "{1EDCD6D4-DF3A-4E3B-ABB6-C0D0B373EAB8}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.Host.Shared", "host\Himp.TaskScheduling.Host.Shared\Himp.TaskScheduling.Host.Shared.csproj", "{F6AC8D4A-EDD7-4514-8E8A-5BCB019864DB}" | |||
| EndProject | |||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Himp.TaskScheduling.Installer", "src\Himp.TaskScheduling.Installer\Himp.TaskScheduling.Installer.csproj", "{BE39FD00-745B-4049-8161-FC129817CBE4}" | |||
| EndProject | |||
| Global | |||
| GlobalSection(SolutionConfigurationPlatforms) = preSolution | |||
| Debug|Any CPU = Debug|Any CPU | |||
| Release|Any CPU = Release|Any CPU | |||
| EndGlobalSection | |||
| GlobalSection(ProjectConfigurationPlatforms) = postSolution | |||
| {D64C1577-4929-4B60-939E-96DE1534891A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {D64C1577-4929-4B60-939E-96DE1534891A}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {D64C1577-4929-4B60-939E-96DE1534891A}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {D64C1577-4929-4B60-939E-96DE1534891A}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {F2840BC7-0188-4606-9126-DADD0F5ABF7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {F2840BC7-0188-4606-9126-DADD0F5ABF7A}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {F2840BC7-0188-4606-9126-DADD0F5ABF7A}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {F2840BC7-0188-4606-9126-DADD0F5ABF7A}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {BD65D04F-08D5-40C1-8C24-77CA0BACB877}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {BD65D04F-08D5-40C1-8C24-77CA0BACB877}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {BD65D04F-08D5-40C1-8C24-77CA0BACB877}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {BD65D04F-08D5-40C1-8C24-77CA0BACB877}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {78040F9E-3501-4A40-82DF-00A597710F35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {78040F9E-3501-4A40-82DF-00A597710F35}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {78040F9E-3501-4A40-82DF-00A597710F35}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {78040F9E-3501-4A40-82DF-00A597710F35}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {0CE86223-D31D-4315-A1F5-87BA3EE1B844}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {0CE86223-D31D-4315-A1F5-87BA3EE1B844}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {0CE86223-D31D-4315-A1F5-87BA3EE1B844}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {0CE86223-D31D-4315-A1F5-87BA3EE1B844}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {F1C58097-4C08-4D88-8976-6B3389391481}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {F1C58097-4C08-4D88-8976-6B3389391481}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {F1C58097-4C08-4D88-8976-6B3389391481}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {F1C58097-4C08-4D88-8976-6B3389391481}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {077AA5F8-8B61-420C-A6B5-0150A66FDB34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {077AA5F8-8B61-420C-A6B5-0150A66FDB34}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {077AA5F8-8B61-420C-A6B5-0150A66FDB34}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {077AA5F8-8B61-420C-A6B5-0150A66FDB34}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {36E2735F-CEAB-44C8-A6D1-2CDAFF399751}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {36E2735F-CEAB-44C8-A6D1-2CDAFF399751}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {36E2735F-CEAB-44C8-A6D1-2CDAFF399751}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {36E2735F-CEAB-44C8-A6D1-2CDAFF399751}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {C5BB573D-3030-4BCB-88B7-F6A85C32766C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {C5BB573D-3030-4BCB-88B7-F6A85C32766C}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {C5BB573D-3030-4BCB-88B7-F6A85C32766C}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {C5BB573D-3030-4BCB-88B7-F6A85C32766C}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {527F645C-C1FC-406E-8479-81386C8ECF13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {527F645C-C1FC-406E-8479-81386C8ECF13}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {527F645C-C1FC-406E-8479-81386C8ECF13}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {527F645C-C1FC-406E-8479-81386C8ECF13}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {D0AD9179-125C-40B2-A8EE-CD4C1EE24BB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {D0AD9179-125C-40B2-A8EE-CD4C1EE24BB6}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {D0AD9179-125C-40B2-A8EE-CD4C1EE24BB6}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {D0AD9179-125C-40B2-A8EE-CD4C1EE24BB6}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {E60895E5-79C4-447D-88B7-85CB5BA336A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {E60895E5-79C4-447D-88B7-85CB5BA336A4}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {E60895E5-79C4-447D-88B7-85CB5BA336A4}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {E60895E5-79C4-447D-88B7-85CB5BA336A4}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {90CB5DC4-C040-45C7-8900-9688B26405BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {90CB5DC4-C040-45C7-8900-9688B26405BC}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {90CB5DC4-C040-45C7-8900-9688B26405BC}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {90CB5DC4-C040-45C7-8900-9688B26405BC}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {37B135B0-DAFE-4616-B25C-1BDF32FC44A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {37B135B0-DAFE-4616-B25C-1BDF32FC44A2}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {37B135B0-DAFE-4616-B25C-1BDF32FC44A2}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {37B135B0-DAFE-4616-B25C-1BDF32FC44A2}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {1EDCD6D4-DF3A-4E3B-ABB6-C0D0B373EAB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {1EDCD6D4-DF3A-4E3B-ABB6-C0D0B373EAB8}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {1EDCD6D4-DF3A-4E3B-ABB6-C0D0B373EAB8}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {1EDCD6D4-DF3A-4E3B-ABB6-C0D0B373EAB8}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {F6AC8D4A-EDD7-4514-8E8A-5BCB019864DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {F6AC8D4A-EDD7-4514-8E8A-5BCB019864DB}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {F6AC8D4A-EDD7-4514-8E8A-5BCB019864DB}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {F6AC8D4A-EDD7-4514-8E8A-5BCB019864DB}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| {BE39FD00-745B-4049-8161-FC129817CBE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||
| {BE39FD00-745B-4049-8161-FC129817CBE4}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||
| {BE39FD00-745B-4049-8161-FC129817CBE4}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||
| {BE39FD00-745B-4049-8161-FC129817CBE4}.Release|Any CPU.Build.0 = Release|Any CPU | |||
| EndGlobalSection | |||
| GlobalSection(SolutionProperties) = preSolution | |||
| HideSolutionNode = FALSE | |||
| EndGlobalSection | |||
| GlobalSection(NestedProjects) = preSolution | |||
| {D64C1577-4929-4B60-939E-96DE1534891A} = {649A3FFA-182F-4E56-9717-E6A9A2BEC545} | |||
| {F2840BC7-0188-4606-9126-DADD0F5ABF7A} = {649A3FFA-182F-4E56-9717-E6A9A2BEC545} | |||
| {BD65D04F-08D5-40C1-8C24-77CA0BACB877} = {649A3FFA-182F-4E56-9717-E6A9A2BEC545} | |||
| {78040F9E-3501-4A40-82DF-00A597710F35} = {649A3FFA-182F-4E56-9717-E6A9A2BEC545} | |||
| {0CE86223-D31D-4315-A1F5-87BA3EE1B844} = {649A3FFA-182F-4E56-9717-E6A9A2BEC545} | |||
| {F1C58097-4C08-4D88-8976-6B3389391481} = {649A3FFA-182F-4E56-9717-E6A9A2BEC545} | |||
| {077AA5F8-8B61-420C-A6B5-0150A66FDB34} = {649A3FFA-182F-4E56-9717-E6A9A2BEC545} | |||
| {36E2735F-CEAB-44C8-A6D1-2CDAFF399751} = {649A3FFA-182F-4E56-9717-E6A9A2BEC545} | |||
| {C5BB573D-3030-4BCB-88B7-F6A85C32766C} = {CCD2960C-23CC-4AB4-B84D-60C7AAA52F4D} | |||
| {527F645C-C1FC-406E-8479-81386C8ECF13} = {CCD2960C-23CC-4AB4-B84D-60C7AAA52F4D} | |||
| {D0AD9179-125C-40B2-A8EE-CD4C1EE24BB6} = {CCD2960C-23CC-4AB4-B84D-60C7AAA52F4D} | |||
| {E60895E5-79C4-447D-88B7-85CB5BA336A4} = {CCD2960C-23CC-4AB4-B84D-60C7AAA52F4D} | |||
| {90CB5DC4-C040-45C7-8900-9688B26405BC} = {CCD2960C-23CC-4AB4-B84D-60C7AAA52F4D} | |||
| {37B135B0-DAFE-4616-B25C-1BDF32FC44A2} = {E400416D-2895-4512-9D17-90681EEC7E0A} | |||
| {1EDCD6D4-DF3A-4E3B-ABB6-C0D0B373EAB8} = {CCD2960C-23CC-4AB4-B84D-60C7AAA52F4D} | |||
| {F6AC8D4A-EDD7-4514-8E8A-5BCB019864DB} = {E400416D-2895-4512-9D17-90681EEC7E0A} | |||
| {BE39FD00-745B-4049-8161-FC129817CBE4} = {649A3FFA-182F-4E56-9717-E6A9A2BEC545} | |||
| EndGlobalSection | |||
| GlobalSection(ExtensibilityGlobals) = postSolution | |||
| SolutionGuid = {4324B3B4-B60B-4E3C-91D8-59576B4E26DD} | |||
| EndGlobalSection | |||
| EndGlobal | |||
| @@ -0,0 +1,23 @@ | |||
| <wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |||
| <s:Boolean x:Key="/Default/CodeEditing/Intellisense/CodeCompletion/IntelliSenseCompletingCharacters/CSharpCompletingCharacters/UpgradedFromVSSettings/@EntryValue">True</s:Boolean> | |||
| <s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceDoWhileStatementBraces/@EntryIndexedValue">WARNING</s:String> | |||
| <s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceFixedStatementBraces/@EntryIndexedValue">WARNING</s:String> | |||
| <s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceForeachStatementBraces/@EntryIndexedValue">WARNING</s:String> | |||
| <s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceForStatementBraces/@EntryIndexedValue">WARNING</s:String> | |||
| <s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceIfStatementBraces/@EntryIndexedValue">WARNING</s:String> | |||
| <s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceLockStatementBraces/@EntryIndexedValue">WARNING</s:String> | |||
| <s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceUsingStatementBraces/@EntryIndexedValue">WARNING</s:String> | |||
| <s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceWhileStatementBraces/@EntryIndexedValue">WARNING</s:String> | |||
| <s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_FOR/@EntryValue">Required</s:String> | |||
| <s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_FOREACH/@EntryValue">Required</s:String> | |||
| <s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_IFELSE/@EntryValue">Required</s:String> | |||
| <s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_WHILE/@EntryValue">Required</s:String> | |||
| <s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_REDUNDANT/@EntryValue">False</s:Boolean> | |||
| <s:Boolean x:Key="/Default/CodeStyle/Generate/=Implementations/@KeyIndexDefined">True</s:Boolean> | |||
| <s:String x:Key="/Default/CodeStyle/Generate/=Implementations/Options/=Async/@EntryIndexedValue">False</s:String> | |||
| <s:String x:Key="/Default/CodeStyle/Generate/=Implementations/Options/=Mutable/@EntryIndexedValue">False</s:String> | |||
| <s:Boolean x:Key="/Default/CodeStyle/Generate/=Overrides/@KeyIndexDefined">True</s:Boolean> | |||
| <s:String x:Key="/Default/CodeStyle/Generate/=Overrides/Options/=Async/@EntryIndexedValue">False</s:String> | |||
| <s:String x:Key="/Default/CodeStyle/Generate/=Overrides/Options/=Mutable/@EntryIndexedValue">False</s:String> | |||
| <s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=SQL/@EntryIndexedValue">SQL</s:String> | |||
| </wpf:ResourceDictionary> | |||
| @@ -0,0 +1,5 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <configuration> | |||
| <packageSources> | |||
| </packageSources> | |||
| </configuration> | |||
| @@ -0,0 +1,24 @@ | |||
| <Project> | |||
| <PropertyGroup> | |||
| <LangVersion>latest</LangVersion> | |||
| <Version>0.1.0</Version> | |||
| <NoWarn>$(NoWarn);CS1591</NoWarn> | |||
| <AbpProjectType>module</AbpProjectType> | |||
| </PropertyGroup> | |||
| <ItemGroup> | |||
| <PackageReference Include="ConfigureAwait.Fody" Version="3.3.1" PrivateAssets="All" /> | |||
| <PackageReference Include="Fody" Version="6.5.3"> | |||
| <PrivateAssets>All</PrivateAssets> | |||
| <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> | |||
| </PackageReference> | |||
| </ItemGroup> | |||
| <Target Name="NoWarnOnRazorViewImportedTypeConflicts" BeforeTargets="RazorCoreCompile"> | |||
| <PropertyGroup> | |||
| <NoWarn>$(NoWarn);0436</NoWarn> | |||
| </PropertyGroup> | |||
| </Target> | |||
| </Project> | |||
| @@ -0,0 +1,20 @@ | |||
| FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build | |||
| COPY . . | |||
| WORKDIR /templates/service/host/IdentityServerHost | |||
| RUN dotnet restore | |||
| RUN dotnet ef migrations script -i -o migrations-IdentityServerHost.sql | |||
| WORKDIR /templates/service/host/Himp.TaskScheduling.Host | |||
| RUN dotnet restore | |||
| RUN dotnet ef migrations script -i -o migrations-TaskScheduling.sql | |||
| FROM mcr.microsoft.com/mssql-tools AS final | |||
| WORKDIR /src | |||
| COPY --from=build /templates/service/host/IdentityServerHost/migrations-IdentityServerHost.sql migrations-IdentityServerHost.sql | |||
| COPY --from=build /templates/service/host/Himp.TaskScheduling.Host/migrations-TaskScheduling.sql migrations-TaskScheduling.sql | |||
| COPY --from=build /templates/service/database/entrypoint.sh . | |||
| RUN /bin/bash -c "sed -i $'s/\r$//' entrypoint.sh" | |||
| RUN chmod +x ./entrypoint.sh | |||
| ENTRYPOINT ["./entrypoint.sh"] | |||
| @@ -0,0 +1,12 @@ | |||
| #!/bin/bash | |||
| until /opt/mssql-tools/bin/sqlcmd -S sqlserver -U SA -P $SA_PASSWORD -Q 'SELECT name FROM master.sys.databases'; do | |||
| >&2 echo "SQL Server is starting up" | |||
| sleep 1 | |||
| done | |||
| /opt/mssql-tools/bin/sqlcmd -S sqlserver -U SA -P $SA_PASSWORD -Q "CREATE DATABASE [$IdentityServer_DB]" | |||
| /opt/mssql-tools/bin/sqlcmd -S sqlserver -U SA -P $SA_PASSWORD -Q "CREATE DATABASE [$TaskScheduling_DB]" | |||
| /opt/mssql-tools/bin/sqlcmd -d $IdentityServer_DB -S sqlserver -U sa -P $SA_PASSWORD -i migrations-IdentityServerHost.sql | |||
| /opt/mssql-tools/bin/sqlcmd -d $TaskScheduling_DB -S sqlserver -U sa -P $SA_PASSWORD -i migrations-TaskScheduling.sql | |||
| @@ -0,0 +1,13 @@ | |||
| version: '3.4' | |||
| services: | |||
| migrations: | |||
| build: | |||
| context: ../../ | |||
| dockerfile: templates/service/database/Dockerfile | |||
| depends_on: | |||
| - sqlserver | |||
| environment: | |||
| - IdentityServer_DB=TaskScheduling_Identity | |||
| - TaskScheduling_DB=TaskScheduling_ModuleDb | |||
| - SA_PASSWORD=yourStrong(!)Password | |||
| @@ -0,0 +1,29 @@ | |||
| version: '3.4' | |||
| services: | |||
| sqlserver: | |||
| environment: | |||
| - SA_PASSWORD=yourStrong(!)Password | |||
| - ACCEPT_EULA=Y | |||
| ports: | |||
| - "51599:1433" | |||
| identity-server: | |||
| environment: | |||
| - ASPNETCORE_URLS=http://0.0.0.0:80 | |||
| - ConnectionStrings__Default=Server=sqlserver;Database=TaskScheduling_Identity;Trusted_Connection=True;User=sa;Password=yourStrong(!)Password;Integrated Security=false | |||
| - ConnectionStrings__SqlServerCache=Server=sqlserver;Database=TaskScheduling_Cache;Trusted_Connection=True;User=sa;Password=yourStrong(!)Password;Integrated Security=false | |||
| ports: | |||
| - "51600:80" | |||
| task-scheduling: | |||
| environment: | |||
| - ASPNETCORE_URLS=http://0.0.0.0:80 | |||
| - ConnectionStrings__Default=Server=sqlserver;Database=TaskScheduling_ModuleDb;Trusted_Connection=True;User=sa;Password=yourStrong(!)Password;Integrated Security=false | |||
| - ConnectionStrings__AbpSettingManagement=Server=sqlserver;Database=TaskScheduling_Identity;Trusted_Connection=True;User=sa;Password=yourStrong(!)Password;Integrated Security=false | |||
| - ConnectionStrings__AbpPermissionManagement=Server=sqlserver;Database=TaskScheduling_Identity;Trusted_Connection=True;User=sa;Password=yourStrong(!)Password;Integrated Security=false | |||
| - ConnectionStrings__AbpAuditLogging=Server=sqlserver;Database=TaskScheduling_Identity;Trusted_Connection=True;User=sa;Password=yourStrong(!)Password;Integrated Security=false | |||
| - ConnectionStrings__SqlServerCache=Server=sqlserver;Database=TaskScheduling_Cache;Trusted_Connection=True;User=sa;Password=yourStrong(!)Password;Integrated Security=false | |||
| - AuthServer__Authority=http://identity-server | |||
| ports: | |||
| - "51601:80" | |||
| @@ -0,0 +1,25 @@ | |||
| version: '3.4' | |||
| services: | |||
| sqlserver: | |||
| image: mcr.microsoft.com/mssql/server | |||
| volumes: | |||
| - dbdata:/var/opt/mssql | |||
| identity-server: | |||
| build: | |||
| context: ../../ | |||
| dockerfile: templates/service/host/IdentityServerHost/Dockerfile | |||
| depends_on: | |||
| - sqlserver | |||
| task-scheduling: | |||
| build: | |||
| context: ../../ | |||
| dockerfile: templates/service/host/Himp.TaskScheduling.Host/Dockerfile | |||
| depends_on: | |||
| - sqlserver | |||
| - identity-server | |||
| volumes: | |||
| dbdata: | |||
| @@ -0,0 +1,3 @@ | |||
| <Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd"> | |||
| <ConfigureAwait ContinueOnCapturedContext="false" /> | |||
| </Weavers> | |||
| @@ -0,0 +1,30 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |||
| <!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. --> | |||
| <xs:element name="Weavers"> | |||
| <xs:complexType> | |||
| <xs:all> | |||
| <xs:element name="ConfigureAwait" minOccurs="0" maxOccurs="1"> | |||
| <xs:complexType> | |||
| <xs:attribute name="ContinueOnCapturedContext" type="xs:boolean" /> | |||
| </xs:complexType> | |||
| </xs:element> | |||
| </xs:all> | |||
| <xs:attribute name="VerifyAssembly" type="xs:boolean"> | |||
| <xs:annotation> | |||
| <xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation> | |||
| </xs:annotation> | |||
| </xs:attribute> | |||
| <xs:attribute name="VerifyIgnoreCodes" type="xs:string"> | |||
| <xs:annotation> | |||
| <xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation> | |||
| </xs:annotation> | |||
| </xs:attribute> | |||
| <xs:attribute name="GenerateXsd" type="xs:boolean"> | |||
| <xs:annotation> | |||
| <xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation> | |||
| </xs:annotation> | |||
| </xs:attribute> | |||
| </xs:complexType> | |||
| </xs:element> | |||
| </xs:schema> | |||
| @@ -0,0 +1,3 @@ | |||
| { | |||
| "role": "lib.application-contracts" | |||
| } | |||
| @@ -0,0 +1,17 @@ | |||
| <Project Sdk="Microsoft.NET.Sdk"> | |||
| <Import Project="..\..\common.props" /> | |||
| <PropertyGroup> | |||
| <TargetFramework>net8.0</TargetFramework> | |||
| <Nullable>enable</Nullable> | |||
| <RootNamespace></RootNamespace> | |||
| </PropertyGroup> | |||
| <ItemGroup> | |||
| <PackageReference Include="Volo.Abp.Ddd.Application.Contracts" Version="8.2.0" /> | |||
| <PackageReference Include="Volo.Abp.Authorization" Version="8.2.0" /> | |||
| <ProjectReference Include="..\Himp.TaskScheduling.Domain.Shared\Himp.TaskScheduling.Domain.Shared.csproj" /> | |||
| </ItemGroup> | |||
| </Project> | |||
| @@ -0,0 +1,40 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class CodeConversionDto : EntityDto<long> | |||
| { | |||
| /// <summary> | |||
| /// 原始码 | |||
| /// </summary> | |||
| public string SorcCode { get; set; } | |||
| /// <summary> | |||
| /// 目标码 | |||
| /// </summary> | |||
| public string TargetCode { get; set; } | |||
| /// <summary> | |||
| /// 1 规批码转制样码 | |||
| /// 2 制样码准化验码 | |||
| /// 3 化验码转瓶底码 | |||
| /// </summary> | |||
| public int ConversionType { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public DateTime ConversionTime { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string OperName { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,22 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class CodeConversionInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| /// <summary> | |||
| /// 1 规批码转制样码 | |||
| /// 2 制样码转化验码 | |||
| /// 3 制样码转瓶底码 | |||
| /// </summary> | |||
| public int? ConversionType { get; set; } | |||
| public DateTime? Begntime { get; set; } | |||
| public DateTime? Endtime { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface ICodeConversionService : IApplicationService | |||
| { | |||
| Task<PagedResultDto<CodeConversionDto>> GetListAsync(CodeConversionInput input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface IParamConfigService : ICrudAppService<ParamConfigDto, ParamConfigDto, long, ParamConfigInput, ParamConfigCreateOrUpdateDto, ParamConfigCreateOrUpdateDto> | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,27 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface IParamConfigTaskService : IApplicationService | |||
| { | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| /// <param name="input"></param> | |||
| /// <returns></returns> | |||
| Task<ParamConfigTaskDto> PostAsync(ParamConfigTaskCreateDto input); | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| /// <param name="input"></param> | |||
| /// <returns></returns> | |||
| Task<PagedResultDto<ParamConfigTaskDto>> GetListAsync(ParamConfigTaskInput input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,16 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface IParamConfigValueService : IApplicationService | |||
| { | |||
| Task<Dictionary<string, object>> GetListAsync(ParamConfigValueInput input); | |||
| Task<List<string>> GetKeyListAsync(); | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using Himp.TaskScheduling.Configs; | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface IQsCodeService | |||
| { | |||
| Task<string> PostAsync(QsCodeInput input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,64 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ParamConfigCreateOrUpdateDto | |||
| { | |||
| /// <summary> | |||
| /// 参数类别 | |||
| /// 类 | |||
| /// 对象 | |||
| /// 属性 | |||
| /// </summary> | |||
| public EnumParamType ParamType { get; set; } | |||
| /// <summary> | |||
| /// 参数编码 | |||
| /// </summary> | |||
| public string ParamCodg { get; set; } | |||
| /// <summary> | |||
| /// 参数名称 | |||
| /// </summary> | |||
| public string ParamName { get; set; } | |||
| /// <summary> | |||
| /// 属性Key | |||
| /// </summary> | |||
| public string? PropertyKey { get; set; } | |||
| /// <summary> | |||
| /// 属性类别 | |||
| /// </summary> | |||
| public int? PropertyType { get; set; } | |||
| /// <summary> | |||
| /// 参数值 | |||
| /// </summary> | |||
| public string? ParamValue { get; set; } | |||
| /// <summary> | |||
| /// 默认值 | |||
| /// </summary> | |||
| public string? DefValue { get; set; } | |||
| /// <summary> | |||
| /// 有效标识 | |||
| /// </summary> | |||
| public bool ValiFlag { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string? KeyPath { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public long? ParentId { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,70 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ParamConfigDto : EntityDto<long> | |||
| { | |||
| /// <summary> | |||
| /// 参数类别 | |||
| /// 类 | |||
| /// 对象 | |||
| /// 属性 | |||
| /// </summary> | |||
| public EnumParamType ParamType { get; set; } | |||
| /// <summary> | |||
| /// 参数编码 | |||
| /// </summary> | |||
| public string ParamCodg { get; set; } | |||
| /// <summary> | |||
| /// 参数名称 | |||
| /// </summary> | |||
| public string ParamName { get; set; } | |||
| /// <summary> | |||
| /// 属性ID | |||
| /// </summary> | |||
| public string? PropertyKey { get; set; } | |||
| /// <summary> | |||
| /// 属性类别 | |||
| /// </summary> | |||
| public int? PropertyType { get; set; } | |||
| /// <summary> | |||
| /// 参数值 | |||
| /// </summary> | |||
| public string? ParamValue { get; set; } | |||
| /// <summary> | |||
| /// 默认值 | |||
| /// </summary> | |||
| public string? DefValue { get; set; } | |||
| /// <summary> | |||
| /// 有效标识 | |||
| /// </summary> | |||
| public bool ValiFlag { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public long? ParentId { get; set; } | |||
| /// <summary> | |||
| /// Topic 路径 | |||
| /// </summary> | |||
| public string? KeyPath { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public List<ParamConfigDto> Children { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ParamConfigInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,32 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ParamConfigTaskCreateDto | |||
| { | |||
| /// <summary> | |||
| /// 参数编码 | |||
| /// </summary> | |||
| public string ParamCodg { get; set; } | |||
| /// <summary> | |||
| /// 属性值 | |||
| /// </summary> | |||
| public string PropertyValue { get; set; } | |||
| /// <summary> | |||
| /// 任务类别 | |||
| /// </summary> | |||
| public int TaskType { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string OperatorName { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,57 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ParamConfigTaskDto : EntityDto<long> | |||
| { | |||
| /// <summary> | |||
| /// 任务内容描述 | |||
| /// </summary> | |||
| public string TaskContdesc { get; set; } | |||
| /// <summary> | |||
| /// 属性Key | |||
| /// </summary> | |||
| public string PropertyKey { get; set; } | |||
| /// <summary> | |||
| /// 属性值 | |||
| /// </summary> | |||
| public string PropertyValue { get; set; } | |||
| /// <summary> | |||
| /// 参数 | |||
| /// </summary> | |||
| public int TaskType { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string OperatorName { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public int TaskStas { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string TaskMsg { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public DateTime OperationTime { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public DateTime? ExecTime { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ParamConfigTaskInput: PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,21 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ParamConfigTaskUpdateDto | |||
| { | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string OperatorName { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public int TaskStas { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ParamConfigValueDto : EntityDto<string> | |||
| { | |||
| public object Value { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ParamConfigValueInput | |||
| { | |||
| public List<string>? Keys { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling.Configs | |||
| { | |||
| public class QsCodeDto | |||
| { | |||
| public string QsCode { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling.Configs | |||
| { | |||
| public class QsCodeInput | |||
| { | |||
| public string Code { get; set; } | |||
| public string Oper { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public class AutoSamplingConditionDto | |||
| { | |||
| public string TipCont { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public class AutoSamplingConditionInput | |||
| { | |||
| public string Key { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,17 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public class DataStatisticDto | |||
| { | |||
| public string Tit { get; set; } | |||
| public int Type { get; set; } | |||
| public decimal Cont { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,17 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class FullWaterCompCreateOrUpdateDto | |||
| { | |||
| public string Type { get; set; } | |||
| public string Index { get; set; } | |||
| public decimal Value { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,18 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class FullWaterCompDto : EntityDto<long> | |||
| { | |||
| public string Type { get; set; } | |||
| public string Index { get; set; } | |||
| public decimal Value { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class FullWaterCompInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public interface IAutoSamplingConditionService : IApplicationService | |||
| { | |||
| Task<AutoSamplingConditionDto> GetAsync(AutoSamplingConditionInput input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public interface IDataStatisticService : IApplicationService | |||
| { | |||
| Task<PagedResultDto<DataStatisticDto>> GetAsync(); | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public interface IDataVService : IApplicationService | |||
| { | |||
| Task<PagedResultDto<DataStatisticDto>> GetAsync(); | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface IFullWaterCompService : ICrudAppService<FullWaterCompDto, FullWaterCompDto, long, FullWaterCompInput, FullWaterCompCreateOrUpdateDto, FullWaterCompCreateOrUpdateDto> | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public interface IManualTestingJobRecService : IApplicationService | |||
| { | |||
| Task<PagedResultDto<ManualTestingJobRecDto>> GetListAsync(ManualTestingJobRecInput input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public interface ISamplePreparationDatavService : IApplicationService | |||
| { | |||
| Task<SamplePreparationDatavDto> GetSampleData(); | |||
| } | |||
| } | |||
| @@ -0,0 +1,16 @@ | |||
| using Himp.TaskScheduling.Datas; | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface IZYOperateRecordService : IApplicationService | |||
| { | |||
| Task<PagedResultDto<ZYOperateRecordDto>> GetListAsync(ZYOperateRecordInput input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,20 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ManualTestingJobRecDto : EntityDto<long> | |||
| { | |||
| public string TestingCode { get; set; } | |||
| public string TestingProject { get; set; } | |||
| public DateTime TestingDate { get; set; } | |||
| public string Operator { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ManualTestingJobRecInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| public DateTime? BegnDate { get; set; } | |||
| public DateTime? EndDate { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,38 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public class SamplePreparationDatavDto | |||
| { | |||
| public int Tar6 { get; set; } | |||
| public int Tar3 { get; set; } | |||
| public int Tar2 { get; set; } | |||
| public List<int[]> CurWeight6 { get; set; } | |||
| public List<int[]> CurWeight3 { get; set; } | |||
| public List<int[]> CurWeight2 { get; set; } | |||
| public int SampleEfficiencyCur { get; set; } | |||
| public int SampleEfficiencyTotal { get; set; } | |||
| public int FinishRateCur { get; set; } | |||
| public int FinishRateTotal { get; set; } | |||
| public SamplePreparationDatavDto() | |||
| { | |||
| CurWeight6 = new List<int[]>(); | |||
| CurWeight3 = new List<int[]>(); | |||
| CurWeight2 = new List<int[]>(); | |||
| } | |||
| } | |||
| } | |||
| @@ -0,0 +1,37 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public class SamplePreparationRecDto : EntityDto<Guid> | |||
| { | |||
| public string MachineCode { get; set; } | |||
| public int AtuoSmapleFlag { get; set; } | |||
| public string SampleID { get; set; } | |||
| public string PackCode { get; set; } | |||
| public int ZYWeight { get; set; } | |||
| public int ZYType { get; set; } | |||
| public int SampleType { get; set; } | |||
| public int Size { get; set; } | |||
| public int Water { get; set; } | |||
| public DateTime StartTime { get; set; } | |||
| public DateTime EndTime { get; set; } | |||
| public int SampleWeight { get; set; } | |||
| public string UserName { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,19 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public class SamplingOperRecDto | |||
| { | |||
| public DateTime Time { get; set; } | |||
| public string EqpName { get; set; } | |||
| public string OperDescr { get; set; } | |||
| public string OperName { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public class SamplingOperRecInput: PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| public DateTime? BegnDate { get; set; } | |||
| public DateTime? EndDate { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,22 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling.Datas | |||
| { | |||
| public class ZYOperateRecordDto : EntityDto<long> | |||
| { | |||
| public string Record { get; set; } | |||
| public string MachineCode { get; set; } | |||
| public string PersonId { get; set; } | |||
| public string Name { get; set; } | |||
| public DateTime DateTime { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ZYOperateRecordInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| public DateTime? BegnTime { get; set; } | |||
| public DateTime? EndTime { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,24 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Text; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class EventMsgRecCreateDto | |||
| { | |||
| /// <summary> | |||
| /// 消息类型 | |||
| /// </summary> | |||
| public string MsgTopicName { get; set; } | |||
| /// <summary> | |||
| /// 全路径 | |||
| /// </summary> | |||
| public string TopicFullPath { get; set; } | |||
| /// <summary> | |||
| /// 消息内容 | |||
| /// </summary> | |||
| public string MsgCont { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,31 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.ComponentModel.DataAnnotations.Schema; | |||
| using System.Text; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class EventMsgRecDto : EntityDto<Guid> | |||
| { | |||
| /// <summary> | |||
| /// 消息类型 | |||
| /// </summary> | |||
| public string MsgTopicName { get; set; } | |||
| /// <summary> | |||
| /// 全路径 | |||
| /// </summary> | |||
| public string TopicFullPath { get; set; } | |||
| /// <summary> | |||
| /// 消息内容 | |||
| /// </summary> | |||
| public string MsgCont { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public virtual DateTime CreationTime { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Text; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class EventMsgRecInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| /// <summary> | |||
| /// 全路径 | |||
| /// </summary> | |||
| public string[] TopicFullPath { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,44 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Text; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class EventMsgTopicCreateDto | |||
| { | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string EventMsgTopicCodg { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string EventMsgTopicName { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string TopicFullPath { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public int Srtno { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public int LvIndex { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public bool DefaultFlag { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public Guid? ParentId { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,46 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.ComponentModel.DataAnnotations.Schema; | |||
| using System.Text; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class EventMsgTopicDto : EntityDto<Guid> | |||
| { | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string EventMsgTopicCodg { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string EventMsgTopicName { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string TopicFullPath { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public int Srtno { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public int LvIndex { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public bool DefaultFlag { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public Guid? ParentId { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,11 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Text; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class EventMsgTopicInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,44 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Text; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class EventMsgTopicUpdateDto | |||
| { | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string EventMsgTopicCodg { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string EventMsgTopicName { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string TopicFullPath { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public int Srtno { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public int LvIndex { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public bool DefaultFlag { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public Guid? ParentId { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface IEventMsgRecService : IApplicationService | |||
| { | |||
| Task<PagedResultDto<EventMsgRecDto>> GetListAsync(EventMsgRecInput input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface IEventMsgTopicService : IApplicationService | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,41 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class CmDeviceControlDto | |||
| { | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string Device { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public int Enable { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public DateTime? Betime { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public DateTime? Totime { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string? Remark { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public DateTime Uptime { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class CmDeviceControlUpdateDto | |||
| { | |||
| public int Enable { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,16 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface ICmDeviceControlService : IApplicationService | |||
| { | |||
| Task<CmDeviceControlDto> GetAsync(int id); | |||
| Task<CmDeviceControlDto> PutAsync(int id, CmDeviceControlUpdateDto input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface IManualSamplingTaskService : IApplicationService | |||
| { | |||
| Task<SampleTestTaskDto> PostAsync(ManualSamplingTaskCreateDto input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface ISampleDiscardedTaskService : IApplicationService | |||
| { | |||
| Task<SampleTestTaskDto> Post(SampleDiscardedTaskCreateDto input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface ISampleObtainTaskService : IApplicationService | |||
| { | |||
| Task PostAsync(SampleObtainTaskCreateDto input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface ISamplePreparationResultService : IApplicationService | |||
| { | |||
| Task<PagedResultDto<SamplePreparationResultDto>> GetListAsync(SamplePreparationResultInput input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,21 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| using Volo.Abp.Application.Services; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface ISamplePreparationTaskService : IApplicationService | |||
| { | |||
| Task<PagedResultDto<SamplePreparationTaskDto>> GetListAsync(SamplePreparationTaskInput input); | |||
| Task<SamplePreparationTaskDto> PostAsync(SamplePreparationTaskCreateOrUpdateDto input); | |||
| Task<SamplePreparationTaskDto> PutAsync(string id, SamplePreparationTaskCreateOrUpdateDto input); | |||
| Task<List<SamplePreparationPlanDto>> GetPlanListAsync(string samplePreparationTaskId); | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface ISampleTestTaskService | |||
| { | |||
| Task<PagedResultDto<SampleTestTaskDto>> GetListAsync(SampleTestTaskInput input); | |||
| } | |||
| } | |||
| @@ -0,0 +1,20 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public interface IStandardTestTaskService | |||
| { | |||
| Task<PagedResultDto<StandardTestTaskDto>> GetListAsync(StandardTestTaskInput input); | |||
| Task<List<StandardTestItemDto>> GetItemListAsync(); | |||
| Task PostAuditAsync(StandardTestTaskAuditDto input); | |||
| Task PutItemValiAsync(long id, bool valiFlag); | |||
| } | |||
| } | |||
| @@ -0,0 +1,34 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class ManualSamplingTaskCreateDto | |||
| { | |||
| /// <summary> | |||
| /// 制样码 | |||
| /// </summary> | |||
| public string SampleCode { get; set; } | |||
| /// <summary> | |||
| /// 化验码 | |||
| /// </summary> | |||
| public string TestCode { get; set; } | |||
| //瓶底码 | |||
| public string BottomCode { get; set; } | |||
| /// <summary> | |||
| /// 煤样类型 | |||
| /// </summary> | |||
| public string Sampletype { get; set; } | |||
| /// <summary> | |||
| /// 化验项目 | |||
| /// </summary> | |||
| public string TestItems { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SampleDiscardedTaskCreateDto | |||
| { | |||
| public string BottomCode { get; set; } | |||
| public int ManualFlag { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SampleObtainTaskCreateDto | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,100 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SampleObtainTaskDto : EntityDto<long> | |||
| { | |||
| /// <summary> | |||
| /// 任务类型 | |||
| /// 1.人工化验 | |||
| /// 2.抽查取样 | |||
| /// </summary> | |||
| public int TaskType { get; set; } | |||
| /// <summary> | |||
| /// 煤样入场时间 | |||
| /// </summary> | |||
| public DateTime CoalTime { get; set; } | |||
| /// <summary> | |||
| /// 任务状态 | |||
| /// </summary> | |||
| public int TaskState { get; set; } | |||
| /// <summary> | |||
| /// 结束状态 | |||
| /// </summary> | |||
| public bool TaskEndFlag { get; set; } | |||
| /// <summary> | |||
| /// 任务开始时间 | |||
| /// </summary> | |||
| public DateTime TaskStartTime { get; set; } | |||
| /// <summary> | |||
| /// 任务结束时间 | |||
| /// </summary> | |||
| public DateTime TaskEndTime { get; set; } | |||
| /// <summary> | |||
| /// 供应商编码 | |||
| /// </summary> | |||
| public string CustCode { get; set; } | |||
| /// <summary> | |||
| /// 采样码 | |||
| /// </summary> | |||
| public string SampleCode { get; set; } | |||
| /// <summary> | |||
| /// 制样码 | |||
| /// </summary> | |||
| public string SamplePreparationCode { get; set; } | |||
| /// <summary> | |||
| /// 化验码 | |||
| /// </summary> | |||
| public string AssayCode { get; set; } | |||
| /// <summary> | |||
| /// 抽样码 | |||
| /// </summary> | |||
| public string ExtractCode { get; set; } | |||
| /// <summary> | |||
| /// 分样码 | |||
| /// </summary> | |||
| public string SeparateCode { get; set; } | |||
| /// <summary> | |||
| /// 煤样类型 | |||
| /// 1:0.2mm1(分析样) | |||
| /// </summary> | |||
| public int CoalType { get; set; } | |||
| /// <summary> | |||
| /// 化验项目 | |||
| /// </summary> | |||
| public string[] TestItemCode { get; set; } | |||
| /// <summary> | |||
| /// 操作人编码 | |||
| /// </summary> | |||
| public string Opercode { get; set; } | |||
| /// <summary> | |||
| /// 操作人名称 | |||
| /// </summary> | |||
| public string Opername { get; set; } | |||
| /// <summary> | |||
| /// 备注 | |||
| /// </summary> | |||
| public string task_remark { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SampleObtainTaskInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,17 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SamplePreparationPlanDto | |||
| { | |||
| public string Id { get; set; } | |||
| public string ParName { get; set; } | |||
| public string ParValue { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,13 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SamplePreparationPlanInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| public string SamplePreparationTaskId { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,81 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SamplePreparationResultDto : EntityDto<string> | |||
| { | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string SampeWay { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string SampeEqp { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public DateTime Begtime { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public DateTime? Endtime { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string? BottomCode61 { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public float Weight61Bottles { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public string? BottomCode62 { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public float Weight62Bottles { get; set; } | |||
| public string? BottomCode31 { get; set; } | |||
| public float Weight31Bottles { get; set; } | |||
| public string? BottomCode21 { get; set; } | |||
| public float Weight21Bottles { get; set; } | |||
| public string? BottomCode22 { get; set; } | |||
| public float Weight22Bottles { get; set; } | |||
| public float TotalCoalSampleWeight { get; set; } | |||
| /// <summary> | |||
| /// 3 弃料重量 | |||
| /// </summary> | |||
| public float Weight6Rejects { get; set; } | |||
| /// <summary> | |||
| /// 2 弃料重量 | |||
| /// </summary> | |||
| public float Weight3Rejects { get; set; } | |||
| /// <summary> | |||
| /// 2 弃料重量 | |||
| /// </summary> | |||
| public float Weight2Rejects { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SamplePreparationResultInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| public DateTime? Begntime { get; set; } | |||
| public DateTime? Endtime { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,18 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SamplePreparationTaskCreateOrUpdateDto | |||
| { | |||
| public string Id { get; set; } | |||
| /// <summary> | |||
| /// 制样码 | |||
| /// </summary> | |||
| public string SampleCode { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,42 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SamplePreparationTaskDto : EntityDto<string> | |||
| { | |||
| /// <summary> | |||
| /// 制样码 | |||
| /// </summary> | |||
| public string SampleCode { get; set; } | |||
| /// <summary> | |||
| /// 任务下达时间 | |||
| /// </summary> | |||
| public DateTime TaskAssgnTime { get; set; } | |||
| /// <summary> | |||
| /// 制样方式 | |||
| /// </summary> | |||
| public string SampeWay { get; set; } | |||
| /// <summary> | |||
| /// 任务接收时间 | |||
| /// </summary> | |||
| public DateTime? TaskRecptTime { get; set; } | |||
| /// <summary> | |||
| /// 最后操作时间 | |||
| /// </summary> | |||
| public DateTime LastOperTime { get; set; } | |||
| /// <summary> | |||
| /// 任务状态 | |||
| /// </summary> | |||
| public string ExecStas { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,17 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SamplePreparationTaskInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| public DateTime? Begntime { get; set; } | |||
| public DateTime? Endtime { get; set; } | |||
| public string? ExecStas { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SampleTestItemDto : EntityDto<long> | |||
| { | |||
| public string TestItem { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,16 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public class SampleTestTaskCreateDto | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,62 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SampleTestTaskDto : EntityDto<long> | |||
| { | |||
| /// <summary> | |||
| /// 制样码 | |||
| /// </summary> | |||
| public string SampleCode { get; set; } | |||
| /// <summary> | |||
| /// 化验码 | |||
| /// </summary> | |||
| public string TestCode { get; set; } | |||
| /// <summary> | |||
| /// 瓶底码 | |||
| /// </summary> | |||
| public string BottomCode { get; set; } | |||
| /// <summary> | |||
| /// 煤样类型 | |||
| /// </summary> | |||
| public string SampleType { get; set; } | |||
| /// <summary> | |||
| /// 测定次数 | |||
| /// </summary> | |||
| public int TestCnt { get; set; } | |||
| /// <summary> | |||
| /// 任务下达时间 | |||
| /// </summary> | |||
| public DateTime TaskAssgnTime { get; set; } | |||
| /// <summary> | |||
| /// 任务接收时间 | |||
| /// </summary> | |||
| public DateTime? TaskRecptTime { get; set; } | |||
| /// <summary> | |||
| /// 最后操作时间 | |||
| /// </summary> | |||
| public DateTime LastOperTime { get; set; } | |||
| /// <summary> | |||
| /// 化验项目 | |||
| /// </summary> | |||
| public string TestItems { get; set; } | |||
| /// <summary> | |||
| /// 任务状态 | |||
| /// </summary> | |||
| public string ExecStas { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,19 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class SampleTestTaskInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| public DateTime? Begntime { get; set; } | |||
| public DateTime? Endtime { get; set; } | |||
| public string? SampleCode { get; set; } | |||
| public string? SampleType { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,18 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class StandardTestItemDto : EntityDto<long> | |||
| { | |||
| public string TestItems { get; set; } | |||
| public string SampleType { get; set; } | |||
| public bool ValiFlag { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,21 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class StandardTestTaskAuditDto | |||
| { | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public long[] StandardTestTaskId { get; set; } | |||
| /// <summary> | |||
| /// 审核人 | |||
| /// </summary> | |||
| public string Aduitor { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,79 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class StandardTestTaskDto : EntityDto<long> | |||
| { | |||
| /// <summary> | |||
| /// 制样码 | |||
| /// </summary> | |||
| public string SampleCode { get; set; } | |||
| /// <summary> | |||
| /// 化验码 | |||
| /// </summary> | |||
| public string TestCode { get; set; } | |||
| /// <summary> | |||
| /// 瓶底码 | |||
| /// </summary> | |||
| public string BottomCode { get; set; } | |||
| /// <summary> | |||
| /// 煤样类型 | |||
| /// </summary> | |||
| public string Sampletype { get; set; } | |||
| /// <summary> | |||
| /// 任务类别 | |||
| /// </summary> | |||
| public EnumTaskType TaskType { get; set; } | |||
| /// <summary> | |||
| /// 制样方式 | |||
| /// 手工 | |||
| /// 自动 | |||
| /// </summary> | |||
| public string SampeWay { get; set; } | |||
| /// <summary> | |||
| /// 测定次数 | |||
| /// </summary> | |||
| public int TestCnt { get; set; } | |||
| /// <summary> | |||
| /// 任务下达时间 | |||
| /// </summary> | |||
| public DateTime TaskAssgnTime { get; set; } | |||
| /// <summary> | |||
| /// 最后操作时间 | |||
| /// </summary> | |||
| public DateTime LastOperTime { get; set; } | |||
| /// <summary> | |||
| /// 审核人 | |||
| /// </summary> | |||
| public string? Auditor { get; set; } | |||
| /// <summary> | |||
| /// 审核时间 | |||
| /// </summary> | |||
| public DateTime? AuditTime { get; set; } | |||
| /// <summary> | |||
| /// 任务状态 | |||
| /// </summary> | |||
| public string ExecStas { get; set; } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public List<SampleTestItemDto> SampleTestItems { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,15 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Linq; | |||
| using System.Text; | |||
| using System.Threading.Tasks; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class StandardTestTaskInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| public DateTime? Begntime { get; set; } | |||
| public DateTime? Endtime { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,12 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Text; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class BizflowConfigCreateDto : BizflowConfigCreateOrUpdateDto | |||
| { | |||
| } | |||
| } | |||
| @@ -0,0 +1,45 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Text; | |||
| using Volo.Abp.Application.Dtos; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class BizflowConfigCreateOrUpdateDto | |||
| { | |||
| /// <summary> | |||
| /// 工作流模型Key | |||
| /// </summary> | |||
| public string WorkflowModelKey { get; set; } | |||
| /// <summary> | |||
| /// 工作流模型名称 | |||
| /// </summary> | |||
| public string WorkflowModelName { get; set; } | |||
| /// <summary> | |||
| /// 工作流授权提供器 | |||
| /// </summary> | |||
| public int WorkflowTypeProvider { get; set; } | |||
| /// <summary> | |||
| /// 提供值 | |||
| /// </summary> | |||
| public string? ProviderKey { get; set; } | |||
| /// <summary> | |||
| /// 业务流程代码 | |||
| /// </summary> | |||
| public string BizflowCode { get; set; } | |||
| /// <summary> | |||
| /// 业务流程名称 | |||
| /// </summary> | |||
| public string BizflowName { get; set; } | |||
| /// <summary> | |||
| /// 有效标识 | |||
| /// </summary> | |||
| public bool ValiFlag { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,63 @@ | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Text; | |||
| using Volo.Abp.Application.Dtos; | |||
| using Volo.Abp.Data; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class BizflowConfigDto : EntityDto<Guid> | |||
| { | |||
| /// <summary> | |||
| /// 工作流模型名称 | |||
| /// </summary> | |||
| public string WorkflowModelName { get; set; } | |||
| /// <summary> | |||
| /// 工作流模型Key | |||
| /// </summary> | |||
| public string WorkflowModelKey { get; set; } | |||
| /// <summary> | |||
| /// 工作流授权提供器 | |||
| /// </summary> | |||
| public EnumWorkflowTypeProvider WorkflowTypeProvider { get; set; } | |||
| /// <summary> | |||
| /// 提供值 | |||
| /// </summary> | |||
| public string? ProviderKey { get; set; } | |||
| /// <summary> | |||
| /// 业务流程代码 | |||
| /// </summary> | |||
| public string BizflowCode { get; set; } | |||
| /// <summary> | |||
| /// 业务流程名称 | |||
| /// </summary> | |||
| public string BizflowName { get; set; } | |||
| /// <summary> | |||
| /// 有效标识 | |||
| /// </summary> | |||
| public bool ValiFlag { get; set; } | |||
| /// <summary> | |||
| /// 工作流授权提供器 | |||
| /// </summary> | |||
| public string WorkflowTypeProviderName | |||
| { | |||
| get | |||
| { | |||
| return WorkflowTypeProvider.ToString(); | |||
| } | |||
| } | |||
| /// <summary> | |||
| /// | |||
| /// </summary> | |||
| public List<BizflowNodeDto> BizflowNodes { get; set; } | |||
| } | |||
| } | |||
| @@ -0,0 +1,12 @@ | |||
| using Himp.TaskScheduling; | |||
| using System; | |||
| using System.Collections.Generic; | |||
| using System.Text; | |||
| namespace Himp.TaskScheduling | |||
| { | |||
| public class BizflowConfigInput : PagedAndSortedResultRequestDtoExtend | |||
| { | |||
| } | |||
| } | |||