24 lines
625 B
C#
24 lines
625 B
C#
using MP.Core.Objects;
|
|
using MP.Data.DbModels.Mtc;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MP.Data.Services.Mtc
|
|
{
|
|
public interface IMtcSetupService
|
|
{
|
|
|
|
/// <summary>
|
|
/// Replace the data set for the specified machine.
|
|
/// Deletes existing record then inserts new one.
|
|
/// </summary>
|
|
Task<bool> ReplaceMachineDataAsync(string idxMacchina, List<MachDataItem> items);
|
|
|
|
|
|
/// <summary>
|
|
/// Retrieve all data for a given machine.
|
|
/// </summary>
|
|
Task<MtcSetupModel> GetMachineDataAsync(string idxMacchina);
|
|
}
|
|
}
|