private string TranslateModelTypeToString(ImportModelType type) { string result = string.Empty; switch (type) { case ImportModelType.None: result = "未定义"; break; case ImportModelType.List: result = "信息序列模式"; break; case ImportModelType.Table: result = "表格模式"; break; } return result; }
public void Assign(ImportExportModel another) { this.Name = another.Name; this.Path = another.Path; this.Description = another.Description; this.Type = another.Type; this.CardProperties.Clear(); this.CardProperties.AddRange(another.CardProperties.ToArray()); }