[8958] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.ComponentModel.DataAnnotations;
|
---|
| 4 | using System.Globalization;
|
---|
| 5 | using System.Web.Mvc;
|
---|
| 6 | using System.Web.Security;
|
---|
| 7 | using System.Web;
|
---|
| 8 |
|
---|
| 9 | namespace HeuristicLab.Services.Optimization.Web.Models {
|
---|
| 10 | public class UploadScenario {
|
---|
| 11 | private HttpPostedFileBase scenarioMapper;
|
---|
| 12 |
|
---|
| 13 | public HttpPostedFileBase ScenarioMapper {
|
---|
| 14 | get { return scenarioMapper; }
|
---|
| 15 | set { scenarioMapper = value; }
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | private HttpPostedFileBase scenarioXml;
|
---|
| 19 |
|
---|
| 20 | public HttpPostedFileBase ScenarioXml {
|
---|
| 21 | get { return scenarioXml; }
|
---|
| 22 | set { scenarioXml = value; }
|
---|
| 23 | }
|
---|
| 24 |
|
---|
[9362] | 25 | private HttpPostedFileBase scenarioJs;
|
---|
| 26 |
|
---|
| 27 | public HttpPostedFileBase ScenarioJs {
|
---|
| 28 | get { return scenarioJs; }
|
---|
| 29 | set { scenarioJs = value; }
|
---|
| 30 | }
|
---|
[9395] | 31 | }
|
---|
[9362] | 32 |
|
---|
[9395] | 33 | public class ScenarioModel {
|
---|
| 34 | public string Scenario { get; set; }
|
---|
| 35 | public bool Exists { get; set; }
|
---|
[8958] | 36 | }
|
---|
[9395] | 37 |
|
---|
| 38 | public class UploadVisualExtension {
|
---|
| 39 |
|
---|
| 40 | private string scenarioId;
|
---|
| 41 |
|
---|
| 42 | public string ScenarioId {
|
---|
| 43 | get { return scenarioId; }
|
---|
| 44 | set { scenarioId = value; }
|
---|
| 45 | }
|
---|
| 46 |
|
---|
| 47 |
|
---|
| 48 | private HttpPostedFileBase scenarioJs;
|
---|
| 49 |
|
---|
| 50 | public HttpPostedFileBase ScenarioJs {
|
---|
| 51 | get { return scenarioJs; }
|
---|
| 52 | set { scenarioJs = value; }
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | }
|
---|
[8958] | 56 | } |
---|