完成新建设备的单元 测试包括,添加变量表,和添加菜单
This commit is contained in:
@@ -17,7 +17,7 @@ public class MappingProfile : Profile
|
||||
|
||||
// --- 设备映射 (包含List的父对象) ---
|
||||
// AutoMapper 会自动使用上面的规则来处理 VariableTables 属性
|
||||
CreateMap<DbDevice, Device>()
|
||||
CreateMap<DbDevice, Core.Models.Device>()
|
||||
.ReverseMap();
|
||||
|
||||
// --- 变量表映射 (List中的元素) ---
|
||||
|
||||
Reference in New Issue
Block a user