增加报警
This commit is contained in:
20
CapMachine.Wpf/MapperProfile/HistoryAlarmProfile.cs
Normal file
20
CapMachine.Wpf/MapperProfile/HistoryAlarmProfile.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using AutoMapper;
|
||||
using CapMachine.Model;
|
||||
using CapMachine.Model.Alarm;
|
||||
using CapMachine.Wpf.Dtos;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.MapperProfile
|
||||
{
|
||||
public class HistoryAlarmProfile : Profile
|
||||
{
|
||||
public HistoryAlarmProfile()
|
||||
{
|
||||
CreateMap<HistoryAlarm, HistoryAlarmDto>().ReverseMap();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user