From 9277bbd2fa070c69b83904f8fe5628fab2b947b8 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 25 Nov 2018 17:52:49 +0200 Subject: Working on job export import to storage. --- .../Models/StorageNavigationIntent.cs | 14 ++++++++++++ .../Models/StorageNavigationRequest.cs | 26 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/Models/StorageNavigationIntent.cs create mode 100644 Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/Models/StorageNavigationRequest.cs (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/Models') diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/Models/StorageNavigationIntent.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/Models/StorageNavigationIntent.cs new file mode 100644 index 000000000..2c2a7f10d --- /dev/null +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/Models/StorageNavigationIntent.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.PPC.Storage.Models +{ + public enum StorageNavigationIntent + { + LoadFile, + SaveFile + } +} diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/Models/StorageNavigationRequest.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/Models/StorageNavigationRequest.cs new file mode 100644 index 000000000..32a546f4f --- /dev/null +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/Models/StorageNavigationRequest.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.PPC.Storage.Models +{ + public class StorageNavigationRequest + { + /// + /// Gets or sets the request intent. + /// + public StorageNavigationIntent Intent { get; set; } + + /// + /// Gets or sets the file display filter (e.g .tup|.job|.ccp). + /// + public String Filter { get; set; } + + /// + /// Gets or sets the default file name when saving a file. + /// + public String DefaultFileName { get; set; } + } +} -- cgit v1.3.1