using System; using System.Linq; using Abp.Localization; using ShwasherSys.BaseSysInfo; using ShwasherSys.EntityFramework; using IwbZero.Setting; using ShwasherSys.Inspection; namespace ShwasherSys.Migrations.SeedData { public class DefaultTemplateCreator { private readonly ShwasherDbContext _context; public DefaultTemplateCreator(ShwasherDbContext context) { _context = context; } public void Create() { #region 检验报告模板 string temp = @"
![]() | ||||||||||
| 产品检验报告 Inspection Report | ||||||||||
| 客户名称 Customer Name | 品名 Product Name | 订单号 Order Number | ||||||||
| 规格 Part Name | 表面处理 Surface Treatment | 批次号 Product Lot | ||||||||
| 材料牌号 Material grade | 材料规格 Material size | 材料炉号 Material Lot No | ||||||||
| 零件号 Part Number | 检测件数 Test Lot | 10件/pcs | 检测日期 Test Date | |||||||
| 内径 Id | 外径 Od | 厚度 Th | 硬度 Hardness | 镀层 Um | 盐雾试验 Salt Spray Test | 氢脆试验 Hydrogen Embrittlement Tests | ||||
| 尺寸范围 Range | 标准要求 Standards | |||||||||
| 1 | ||||||||||
| 2 | ||||||||||
| 3 | ||||||||||
| 4 | ||||||||||
| 5 | ||||||||||
| 6 | ||||||||||
| 7 | ||||||||||
| 8 | ||||||||||
| 9 | ||||||||||
| 10 | ||||||||||
| 检测结果 Inspect Result | 检测人 Inspector | |||||||||
| 材料化学成分(Material chemical composition)% | ||||||||||
| C | Si | Mn | P | S | Cr | Ni | Cu | |||