public static ImageTreatmentVM ImageTreatmentVMFactory(ImageTreatment model)
 {
     if (model is FieldReadout f)
     {
         return(new FieldReadoutVM(f));
     }
     else if (model is NormalReadout n)
     {
         return(new NormalReadoutVM(n));
     }
     return(null);
 }
 public ImageTreatmentVM(ImageTreatment model)
 {
     CurrentModel = model;
 }