Last change
on this file since 17405 was
17405,
checked in by dpiringe, 4 years ago
|
#3026:
- added a new way to setup the targeted result types
- added new ui controls: NumericRangeControl, JsonItemArrayControl, JsonItemDefaultControl
- redesigned export dialog -> now the user can navigate with a tree view
- enhanced JsonItemVM
|
File size:
891 bytes
|
Rev | Line | |
---|
[17287] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using System.Threading.Tasks;
|
---|
| 6 |
|
---|
| 7 | namespace HeuristicLab.JsonInterface {
|
---|
[17353] | 8 | /// <summary>
|
---|
| 9 | /// Constants for reading/writing templates.
|
---|
| 10 | /// </summary>
|
---|
[17287] | 11 | internal class Constants {
|
---|
| 12 |
|
---|
[17330] | 13 | internal const string Metadata = "Metadata";
|
---|
[17395] | 14 | internal const string Optimizer = "Optimizer";
|
---|
[17330] | 15 | internal const string Problem = "Problem";
|
---|
[17379] | 16 | internal const string HLFileLocation = "HLFileLocation";
|
---|
| 17 | internal const string Parameters = "Parameters";
|
---|
[17405] | 18 | internal const string ActivatedResults = "ActivatedResults";
|
---|
[17287] | 19 |
|
---|
[17330] | 20 | internal const string Template = @"{
|
---|
[17379] | 21 | '" + Metadata + @"': {
|
---|
[17395] | 22 | '" + Optimizer + @"':'',
|
---|
[17379] | 23 | '" + Problem + @"':'',
|
---|
| 24 | '" + HLFileLocation + @"':''
|
---|
[17287] | 25 | },
|
---|
[17405] | 26 | '" + Parameters + @"': [],
|
---|
| 27 | '" + ActivatedResults + @"': []
|
---|
[17287] | 28 | }";
|
---|
| 29 | }
|
---|
| 30 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.