Fix maintenance x gestione parametri filtro
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -180,78 +180,6 @@ namespace MConnectSDK
|
||||
public OP_TYPE Type { get; set; } = OP_TYPE.ORDINARY;
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Get list of all operation for current machine
|
||||
/// </summary>
|
||||
/// <param name="OperationsList"></param>
|
||||
/// <returns></returns>
|
||||
public static SDK_REPLY Download(out List<Operation> OperationsList)
|
||||
{
|
||||
SDK_REPLY currError = SDK_REPLY.NO_ERROR;
|
||||
OperationsList = new List<Operation>();
|
||||
|
||||
return currError;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get operation full details
|
||||
/// </summary>
|
||||
/// <param name="OperationId"></param>
|
||||
/// <param name="SingleOperation"></param>
|
||||
/// <returns></returns>
|
||||
public static SDK_REPLY GetSingle(string OperationId, out Operation SingleOperation)
|
||||
{
|
||||
SDK_REPLY currError = SDK_REPLY.NO_ERROR;
|
||||
SingleOperation = new Operation();
|
||||
|
||||
return currError;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Update single operation
|
||||
/// </summary>
|
||||
/// <param name="OperationId"></param>
|
||||
/// <param name="progressPercent"></param>
|
||||
/// <param name="dueUntilDays"></param>
|
||||
/// <param name="userId"></param>
|
||||
/// <returns></returns>
|
||||
public static SDK_REPLY Update(string OperationId, int progressPercent, int dueUntilDays, string userId)
|
||||
{
|
||||
SDK_REPLY currError = SDK_REPLY.NO_ERROR;
|
||||
|
||||
return currError;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Upload list of operations
|
||||
/// </summary>
|
||||
/// <param name="OperationsList"></param>
|
||||
/// <returns></returns>
|
||||
public static SDK_REPLY Upload(List<Operation> OperationsList)
|
||||
{
|
||||
SDK_REPLY currError = SDK_REPLY.NO_ERROR;
|
||||
|
||||
return currError;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get list of activities for specific operation
|
||||
/// </summary>
|
||||
/// <param name="OperationId"></param>
|
||||
/// <param name="ActivitiesList"></param>
|
||||
/// <returns></returns>
|
||||
public SDK_REPLY GetActivities(string OperationId, out List<Activity> ActivitiesList)
|
||||
{
|
||||
SDK_REPLY currError = SDK_REPLY.NO_ERROR;
|
||||
ActivitiesList = new List<Activity>();
|
||||
|
||||
return currError;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
|
||||
#endregion Public Classes
|
||||
|
||||
Reference in New Issue
Block a user