5 changed files with 53 additions and 146 deletions
-
4src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs
-
84src/Shentun.Peis.HttpApi.Host/Schedulers/ChargeRequestInterfaceQueryWorker.cs
-
58src/Shentun.Peis.HttpApi.Host/Schedulers/ImportLisResultInterfaceWorker.cs
-
36src/Shentun.Peis.HttpApi.Host/Schedulers/ImportPacsResultInterfaceWorker.cs
-
13src/Shentun.Peis.HttpApi.Host/Schedulers/ThirdInterfaceWorkerBase.cs
@ -0,0 +1,36 @@ |
|||||
|
using Microsoft.Extensions.Configuration; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using Shentun.Utilities; |
||||
|
using System; |
||||
|
using System.IO; |
||||
|
using System.Linq; |
||||
|
using System.Threading; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.BackgroundWorkers.Hangfire; |
||||
|
|
||||
|
namespace Shentun.Peis.Schedulers |
||||
|
{ |
||||
|
public interface IImportPacsResultInterfaceWorker |
||||
|
{ |
||||
|
public void DoWork(Guid interfaceId); |
||||
|
public void DoWork(); |
||||
|
} |
||||
|
public class ImportPacsResultInterfaceWorker : ThirdInterfaceWorkerBase, IImportPacsResultInterfaceWorker |
||||
|
{ |
||||
|
private string isActive = "N"; |
||||
|
private static long i; |
||||
|
private static bool _isRunning = false; |
||||
|
private static readonly object lockObject = new object(); |
||||
|
|
||||
|
|
||||
|
public void DoWork() |
||||
|
{ |
||||
|
throw new NotImplementedException(); |
||||
|
} |
||||
|
|
||||
|
public override Task DoWorkAsync(CancellationToken cancellationToken = default) |
||||
|
{ |
||||
|
throw new NotImplementedException(); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue