增加公共操作的方法,过热度和过冷度的配置弹窗设置

This commit is contained in:
2025-01-06 17:55:01 +08:00
parent ff07461818
commit 82ee066300
18 changed files with 673 additions and 43 deletions

View File

@@ -16,11 +16,12 @@ namespace CapMachine.Wpf.ViewModels
/// </summary>
public class DialogExpInfoViewModel : DialogViewModel
{
public DialogExpInfoViewModel(ConfigService configService, IFreeSql freeSql, IMapper mapper, MachineRtDataService machineRtDataService)
public DialogExpInfoViewModel(ConfigService configService, IFreeSql freeSql,PPCService pPCService, IMapper mapper, MachineRtDataService machineRtDataService)
{
this.Title = "试验信息拓展设置";
ConfigService = configService;
FreeSql = freeSql;
PPCService = pPCService;
this.Mapper = mapper;
MachineRtDataService = machineRtDataService;
@@ -37,6 +38,7 @@ namespace CapMachine.Wpf.ViewModels
/// FreeSql
/// </summary>
public IFreeSql FreeSql { get; }
public PPCService PPCService { get; }
/// <summary>
/// AutoMap映射
@@ -140,7 +142,7 @@ namespace CapMachine.Wpf.ViewModels
{
ExpInfoDtoItems.Add(new ExpInfoDto()
{
RfNo = PPCService.SuperHeatCoolConfig.Cryogen,
});
}