using System;
using System.Collections.Generic;
using CncModels.Entity;

namespace CncRepository.Interface
{
    /// <summary>
    /// cnc_machine_daily_status 机床日状态表 仓储接口
    /// </summary>
    public interface IMachineDailyStatusRepository
    {
        MachineDailyStatus GetByMachineAndDate(int machineId, DateTime date);
        int Upsert(MachineDailyStatus entity);
        List<MachineDailyStatus> GetByDate(DateTime date);
        int CountByDateAndStatus(DateTime date, string dataStatus);
    }
}
