12345678910111213141516171819202122232425 |
- using AutoMapper;
- using System;
- using System.Collections.Generic;
- using System.Text;
- using Application.ATG_Classic_App.Model;
- using Edge.Core.IndustryStandardInterface.ATG;
- namespace Application.ATG_App
- {
- public class AutoMapperProfile : Profile
- {
- public AutoMapperProfile()
- {
- ShouldMapField = fi => false;
- CreateMap<TankLimitConfig, TankLimit>().ReverseMap();
- CreateMap<ProbeConfig, Probe>().ReverseMap();
- CreateMap<ProductConfig, Product>().ReverseMap();
- CreateMap<Edge.Core.IndustryStandardInterface.ATG.Alarm, ATG_Classic_App.Model.Alarm>().ReverseMap();
- CreateMap<Edge.Core.IndustryStandardInterface.ATG.Inventory, ATG_Classic_App.Model.Inventory>().ReverseMap();
- CreateMap<Edge.Core.IndustryStandardInterface.ATG.Delivery, ATG_Classic_App.Model.Delivery>().ReverseMap();
- }
- }
- }
|