42 lines
1.5 KiB
C#
42 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using WalkingTec.Mvvm.Core;
|
|
using WalkingTec.Mvvm.Core.Extensions;
|
|
using HHWMS.Web.Models;
|
|
|
|
|
|
namespace HHWMS.Web
|
|
{
|
|
public partial class ProcessConfigTemplateVM : BaseTemplateVM
|
|
{
|
|
[Display(Name = "Process.Code")]
|
|
public ExcelPropety Code_Excel = ExcelPropety.CreateProperty<ProcessConfig>(x => x.Code);
|
|
[Display(Name = "Process.Name")]
|
|
public ExcelPropety Name_Excel = ExcelPropety.CreateProperty<ProcessConfig>(x => x.Name);
|
|
[Display(Name = "Process.Zone")]
|
|
public ExcelPropety Zone_Excel = ExcelPropety.CreateProperty<ProcessConfig>(x => x.Zone);
|
|
[Display(Name = "Process.Port")]
|
|
public ExcelPropety Port_Excel = ExcelPropety.CreateProperty<ProcessConfig>(x => x.Port);
|
|
[Display(Name = "Sys.spare")]
|
|
public ExcelPropety Spare1_Excel = ExcelPropety.CreateProperty<ProcessConfig>(x => x.Spare1);
|
|
[Display(Name = "Sys.spare")]
|
|
public ExcelPropety Spare2_Excel = ExcelPropety.CreateProperty<ProcessConfig>(x => x.Spare2);
|
|
[Display(Name = "Sys.spare")]
|
|
public ExcelPropety Spare3_Excel = ExcelPropety.CreateProperty<ProcessConfig>(x => x.Spare3);
|
|
|
|
protected override void InitVM()
|
|
{
|
|
}
|
|
|
|
}
|
|
|
|
public class ProcessConfigImportVM : BaseImportVM<ProcessConfigTemplateVM, ProcessConfig>
|
|
{
|
|
|
|
}
|
|
|
|
}
|