体检系统架构
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
865 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DcmToPng.Helper
{
public static class ExecuteHelper
{
public static void Execute()
{
Console.WriteLine($"【开始同步】{DateTime.Now:yyyy-MM-dd HH:mm}");
var reports = DataHelper.GetReports();
if (reports.Count > 0)
{
Console.WriteLine("[下载]"); Console.WriteLine();
DownloadHelper.Down(reports);
Console.WriteLine("[转换]"); Console.WriteLine();
DcmToPngHelper.Convert();
Console.WriteLine("[上传]"); Console.WriteLine();
UploadHelper.Upload();
}
Console.WriteLine("--本次同步完成--"); Console.WriteLine();
}
}
}