Changeset 13841 for branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials
- Timestamp:
- 05/10/16 16:55:18 (9 years ago)
- Location:
- branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials
- Files:
-
- 8 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/DataMaster.cshtml
r13834 r13841 12 12 @Html.Partial("OpenFilePartials/DataPartials/Bool", Model); 13 13 } 14 else if (Model.Data.ActualValue is BoolArray) 15 { 16 @Html.Partial("OpenFilePartials/DataPartials/BoolArray", Model); 17 } 18 else if (Model.Data.ActualValue is BoolMatrix) 19 { 20 @Html.Partial("OpenFilePartials/DataPartials/BoolMatrix", Model); 21 } 14 22 else if (Model.Data.ActualValue is StringValue) 15 23 { 16 24 @Html.Partial("OpenFilePartials/DataPartials/String", Model); 25 } 26 else if (Model.Data.ActualValue is StringArray) 27 { 28 @Html.Partial("OpenFilePartials/DataPartials/StringArray", Model); 29 } 30 else if (Model.Data.ActualValue is StringMatrix) 31 { 32 @Html.Partial("OpenFilePartials/DataPartials/StringMatrix", Model); 17 33 } 18 34 else if (Model.Data.ActualValue is IntValue) … … 20 36 @Html.Partial("OpenFilePartials/DataPartials/Int", Model); 21 37 } 38 else if (Model.Data.ActualValue is IntArray && !(Model.Data.ActualValue is HeuristicLab.Encodings.PermutationEncoding.Permutation)) 39 { 40 @Html.Partial("OpenFilePartials/DataPartials/IntArray", Model); 41 } 42 else if (Model.Data.ActualValue is IntMatrix) 43 { 44 @Html.Partial("OpenFilePartials/DataPartials/IntMatrix", Model); 45 } 22 46 else if (Model.Data.ActualValue is PercentValue) 23 47 { 24 48 @Html.Partial("OpenFilePartials/DataPartials/Percent", Model); 25 49 } 50 else if (Model.Data.ActualValue is PercentArray) 51 { 52 @Html.Partial("OpenFilePartials/DataPartials/PercentArray", Model); 53 } 54 else if (Model.Data.ActualValue is PercentMatrix) 55 { 56 @Html.Partial("OpenFilePartials/DataPartials/PercentMatrix", Model); 57 } 26 58 else if (Model.Data.ActualValue is DoubleValue) 27 59 { 28 60 @Html.Partial("OpenFilePartials/DataPartials/Double", Model); 29 }30 else if (Model.Data.ActualValue is IntArray)31 {32 @Html.Partial("OpenFilePartials/DataPartials/IntArray", Model);33 61 } 34 62 else if (Model.Data.ActualValue is DoubleArray) … … 42 70 else if (Model.Data.ActualValue is IItem) 43 71 { 44 @Html.Partial("OpenFilePartials/DataPartials/Others ", Model);72 @Html.Partial("OpenFilePartials/DataPartials/OthersClean", Model);//just Others to print the datatype too 45 73 } 46 74 } 47 75 catch(NotSupportedException e) 48 76 { 49 @Html.Partial("OpenFilePartials/DataPartials/Others ", Model)77 @Html.Partial("OpenFilePartials/DataPartials/OthersClean", Model) 50 78 51 79 } -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/DoubleMatrix.cshtml
r13834 r13841 10 10 { 11 11 s += "[ "; 12 s += dat[d,0] + "; " + dat[d,1]; 12 for (var i = 0; i < dat.Columns; i++) 13 { 14 s += dat[d, i]; 15 if (i < dat.Columns - 1) 16 { 17 s += "; "; 18 } 19 20 } 13 21 s += " ] " + Environment.NewLine; 14 22
Note: See TracChangeset
for help on using the changeset viewer.