From dfad3f70f68503524d3ad1bee87edbba783350b2 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 19 Jan 2021 11:38:42 +0100 Subject: [PATCH] Fix maintenance x gestione parametri filtro --- MConnectSDK/Enums.cs | 4 +-- MConnectSDK/Maintenance.cs | 72 -------------------------------------- 2 files changed, 2 insertions(+), 74 deletions(-) diff --git a/MConnectSDK/Enums.cs b/MConnectSDK/Enums.cs index 3108633..e21fd77 100644 --- a/MConnectSDK/Enums.cs +++ b/MConnectSDK/Enums.cs @@ -20,8 +20,8 @@ namespace MConnectSDK public enum MAINTENANCE_TYPE { EXP_DATE = 0, - MACHINE_INTERVAL = 1, - TIME_INTERVAL = 2 + MACHINE_INTERVAL = 1, //ACTIVE_TIME + TIME_INTERVAL = 2 //HOUR } /// diff --git a/MConnectSDK/Maintenance.cs b/MConnectSDK/Maintenance.cs index 0708dd3..92087e1 100644 --- a/MConnectSDK/Maintenance.cs +++ b/MConnectSDK/Maintenance.cs @@ -180,78 +180,6 @@ namespace MConnectSDK public OP_TYPE Type { get; set; } = OP_TYPE.ORDINARY; #endregion Public Properties - - #region Public Methods - - /// - /// Get list of all operation for current machine - /// - /// - /// - public static SDK_REPLY Download(out List OperationsList) - { - SDK_REPLY currError = SDK_REPLY.NO_ERROR; - OperationsList = new List(); - - return currError; - } - - /// - /// Get operation full details - /// - /// - /// - /// - public static SDK_REPLY GetSingle(string OperationId, out Operation SingleOperation) - { - SDK_REPLY currError = SDK_REPLY.NO_ERROR; - SingleOperation = new Operation(); - - return currError; - } - - /// - /// Update single operation - /// - /// - /// - /// - /// - /// - public static SDK_REPLY Update(string OperationId, int progressPercent, int dueUntilDays, string userId) - { - SDK_REPLY currError = SDK_REPLY.NO_ERROR; - - return currError; - } - - /// - /// Upload list of operations - /// - /// - /// - public static SDK_REPLY Upload(List OperationsList) - { - SDK_REPLY currError = SDK_REPLY.NO_ERROR; - - return currError; - } - - /// - /// Get list of activities for specific operation - /// - /// - /// - /// - public SDK_REPLY GetActivities(string OperationId, out List ActivitiesList) - { - SDK_REPLY currError = SDK_REPLY.NO_ERROR; - ActivitiesList = new List(); - - return currError; - } - - #endregion Public Methods } #endregion Public Classes