diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.FileSystem/Network')
9 files changed, 142 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.FileSystem/Network/FileSystemItemDTO.cs b/Software/Visual_Studio/Tango.FileSystem/Network/FileSystemItemDTO.cs new file mode 100644 index 000000000..900ba0628 --- /dev/null +++ b/Software/Visual_Studio/Tango.FileSystem/Network/FileSystemItemDTO.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FileSystem.Network +{ + public class FileSystemItemDTO + { + public String Path { get; set; } + + public String DriveLabel { get; set; } + + public FileSystemItemType Type { get; set; } + + public DriveType DriveType { get; set; } + + public DateTime DateModified { get; set; } + + public long Size { get; set; } + + public bool IsRoot { get; set; } + + public List<FileSystemItemDTO> Items { get; set; } + + public FileSystemItemDTO() + { + Items = new List<FileSystemItemDTO>(); + } + } +} diff --git a/Software/Visual_Studio/Tango.FileSystem/Network/FileUploadRequest.cs b/Software/Visual_Studio/Tango.FileSystem/Network/FileUploadRequest.cs new file mode 100644 index 000000000..50c35c584 --- /dev/null +++ b/Software/Visual_Studio/Tango.FileSystem/Network/FileUploadRequest.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FileSystem.Network +{ + public class FileUploadRequest + { + public String Path { get; set; } + public byte[] Data { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.FileSystem/Network/FileUploadResponse.cs b/Software/Visual_Studio/Tango.FileSystem/Network/FileUploadResponse.cs new file mode 100644 index 000000000..4f4bc0d52 --- /dev/null +++ b/Software/Visual_Studio/Tango.FileSystem/Network/FileUploadResponse.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FileSystem.Network +{ + public class FileUploadResponse + { + + } +} diff --git a/Software/Visual_Studio/Tango.FileSystem/Network/GetFileSystemItemRequest.cs b/Software/Visual_Studio/Tango.FileSystem/Network/GetFileSystemItemRequest.cs new file mode 100644 index 000000000..f69c7bd98 --- /dev/null +++ b/Software/Visual_Studio/Tango.FileSystem/Network/GetFileSystemItemRequest.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FileSystem.Network +{ + public class GetFileSystemItemRequest + { + public String Path { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.FileSystem/Network/GetFileSystemItemResponse.cs b/Software/Visual_Studio/Tango.FileSystem/Network/GetFileSystemItemResponse.cs new file mode 100644 index 000000000..8b82e41fc --- /dev/null +++ b/Software/Visual_Studio/Tango.FileSystem/Network/GetFileSystemItemResponse.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FileSystem.Network +{ + public class GetFileSystemItemResponse + { + public FileSystemItemDTO FileSystemItem { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.FileSystem/Network/StartFileDownloadRequest.cs b/Software/Visual_Studio/Tango.FileSystem/Network/StartFileDownloadRequest.cs new file mode 100644 index 000000000..aac03af38 --- /dev/null +++ b/Software/Visual_Studio/Tango.FileSystem/Network/StartFileDownloadRequest.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FileSystem.Network +{ + public class StartFileDownloadRequest + { + public String Path { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.FileSystem/Network/StartFileDownloadResponse.cs b/Software/Visual_Studio/Tango.FileSystem/Network/StartFileDownloadResponse.cs new file mode 100644 index 000000000..187d15254 --- /dev/null +++ b/Software/Visual_Studio/Tango.FileSystem/Network/StartFileDownloadResponse.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FileSystem.Network +{ + public class StartFileDownloadResponse + { + public byte[] Data { get; set; } + public long Position { get; set; } + public long Length { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.FileSystem/Network/StartFolderDownloadRequest.cs b/Software/Visual_Studio/Tango.FileSystem/Network/StartFolderDownloadRequest.cs new file mode 100644 index 000000000..e7989bd98 --- /dev/null +++ b/Software/Visual_Studio/Tango.FileSystem/Network/StartFolderDownloadRequest.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FileSystem.Network +{ + public class StartFolderDownloadRequest + { + public String Path { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.FileSystem/Network/StartFolderDownloadResponse.cs b/Software/Visual_Studio/Tango.FileSystem/Network/StartFolderDownloadResponse.cs new file mode 100644 index 000000000..c48d4c04c --- /dev/null +++ b/Software/Visual_Studio/Tango.FileSystem/Network/StartFolderDownloadResponse.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FileSystem.Network +{ + public class StartFolderDownloadResponse + { + public byte[] ZipData { get; set; } + public long Position { get; set; } + public long Length { get; set; } + } +} |
