Newer
Older
RbFreqStand / RbFreqStandMeasure / R_DataBase / Service / DeviceService.cs
yangqianqian on 10 Apr 2021 1 KB export
using Casic.Birmm.RbFreqStandMeasure.R_DataBase.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Casic.Birmm.RbFreqStandMeasure.R_DataBase.Service
{
    interface DeviceService
    {
        long add(string devName, string devCode, string devTypeId, string devModel, string custometDev, string customerName, string channel);

        int update(long id, string devName, string devCode, string devTypeId, string devModel, string custometDev, string customerName, string channel);

        int updateStatus(long id, string status, string channel);

        int delete(long id);

        List<DeviceDto> search(string devName, string devCode, string devModel, string suctomerDev, string customerName, string statusId);

        List<DeviceDto> searchPage(string devName, string devCode, string devModel,
                                   string customDev, string customName, string statusId,
                                   int page, int limit);

        int getTotalCount(string devName, string devCode, string devModel,
                          string customDev, string customerName, string statusId);

        List<DeviceView> getDeviceByChannel();

        List<DeviceDto> getAllCounter();


    }

}