aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Common
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2022-11-03 07:42:14 +0200
committerRoy <Roy.mail.net@gmail.com>2022-11-03 07:42:14 +0200
commitb93d7795c84da2e5317fd12d9a41cdd63fcb6659 (patch)
treefc196de881ab7182912867686e4860eab9ec281b /Software/Visual_Studio/FSE/Tango.FSE.Common
parentb461a5e1eb1f2fb72bcfdac94aa13d3f6485d401 (diff)
downloadTango-b93d7795c84da2e5317fd12d9a41cdd63fcb6659.tar.gz
Tango-b93d7795c84da2e5317fd12d9a41cdd63fcb6659.zip
Hot Folder Outbox View.
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.Common')
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.Common/HotFolder/HotFolderItem.cs14
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.Common/HotFolder/IHotFolderService.cs4
2 files changed, 8 insertions, 10 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/HotFolder/HotFolderItem.cs b/Software/Visual_Studio/FSE/Tango.FSE.Common/HotFolder/HotFolderItem.cs
index 7728c5466..9c8d24d05 100644
--- a/Software/Visual_Studio/FSE/Tango.FSE.Common/HotFolder/HotFolderItem.cs
+++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/HotFolder/HotFolderItem.cs
@@ -22,19 +22,15 @@ namespace Tango.FSE.Common.HotFolder
{
_status = value;
RaisePropertyChangedAuto();
-
- if (_status != HotFolderItemStatus.Failed && _status != HotFolderItemStatus.CompletedWithError)
- {
- FailedMessage = null;
- }
+ Message = Status.ToDescription();
}
}
- private String _failedMessage;
- public String FailedMessage
+ private String _message;
+ public String Message
{
- get { return _failedMessage; }
- set { _failedMessage = value; RaisePropertyChangedAuto(); }
+ get { return _message; }
+ set { _message = value; RaisePropertyChangedAuto(); }
}
public HotFolderItem()
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/HotFolder/IHotFolderService.cs b/Software/Visual_Studio/FSE/Tango.FSE.Common/HotFolder/IHotFolderService.cs
index 1b3444990..c74fa9ac1 100644
--- a/Software/Visual_Studio/FSE/Tango.FSE.Common/HotFolder/IHotFolderService.cs
+++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/HotFolder/IHotFolderService.cs
@@ -4,14 +4,16 @@ using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
+using Tango.Core;
namespace Tango.FSE.Common.HotFolder
{
public interface IHotFolderService
{
- ObservableCollection<HotFolderItem> Items { get; }
+ SynchronizedObservableCollection<HotFolderItem> Items { get; }
bool Enabled { get; set; }
bool IsActive { get; }
String HotFolderPath { get; set; }
+ void RetryFailedItem(HotFolderItem item);
}
}