Exemplo n.º 1
0
 public ModelDataEntity(Model model)
 {
     _model = model;
 }
 private static Model CreateModel(string modelName="model")
 {
     var model = new Model(modelName);
     model.ModelMaterials.Add(new ModelMaterial("M1"));
     model.ModelMaterials.Add(new ModelMaterial("M2"));
     model.ModelMaterials.Add(new ModelMaterial("M3"));
     model.ModelMaterials.Add(new ModelMaterial("M4"));
     model.ModelParameters.Add(new ModelParameter("P1", 10));
     model.ModelParameters.Add(new ModelParameter("P2", 20));
     model.ModelParameters.Add(new ModelParameter("P3", 30));
     model.ModelParameters.Add(new ModelParameter("P4", 40));
     return model;
 }