/**
 * WsCowSoap_PortType.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package com.izouma.webservice.wsCow;

public interface WsCowSoap_PortType extends java.rmi.Remote {

    /**
     * 查询指定牛号的牛只业务信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getCowExtendInfoByCowID(java.lang.String cowID, int type) throws java.rmi.RemoteException;

    /**
     * 查询指定牛号的牛只基本信息
     */
    public com.izouma.webservice.wsCow.RtnCowInfoReponse getCowInfoByCowID(java.lang.String cowID) throws java.rmi.RemoteException;

    /**
     * 查询指定牛号列表的牛只基本信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getCowInfoByCowIDList(java.lang.String[] cowID) throws java.rmi.RemoteException;

    /**
     * 根据牧场名称、牛舍名称（编号）和在场状态，获取所有牛只信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getAllCowByGroupName(java.lang.String farmName, java.lang.String groupName, boolean isAlive) throws java.rmi.RemoteException;

    /**
     * 根据牧场名称，获取所有牛只信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getAllCowByFarmName(java.lang.String farmName, boolean isAlive) throws java.rmi.RemoteException;

    /**
     * 牛只进场登记
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse addapproachCow(com.izouma.webservice.wsCow.CowInfo ci) throws java.rmi.RemoteException;

    /**
     * 牛只体况评分登记
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse addTk(java.lang.String cowID, float tk, java.lang.String operators) throws java.rmi.RemoteException;

    /**
     * 牛只转场
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse updateCurrFarm(java.lang.String currFarm, java.lang.String cowNO) throws java.rmi.RemoteException;

    /**
     * 牛只离场登记
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse addLeftInfo(java.lang.String cowID, java.lang.String leftClass, java.lang.String leftWhere, java.lang.String reason, java.lang.String remark, boolean isActived, float remainValue, java.lang.String operators) throws java.rmi.RemoteException;

    /**
     * 增加照片信息
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse addPhotoInfo(java.lang.String cowID, byte[] photo, java.lang.String description, java.lang.String operators) throws java.rmi.RemoteException;

    /**
     * 增加照片信息
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse addPhotoInfo(java.lang.String cowID, java.util.Calendar photoDate, java.lang.String description, java.lang.String photoUrl, java.lang.String thumbUrl, int flag, java.lang.String operators) throws java.rmi.RemoteException;

    /**
     * 根据牛号获取指定奶牛照片信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getPhotoInfoByCowID(java.lang.String cowID) throws java.rmi.RemoteException;

    /**
     * 查询指定公牛/冻精的牛只业务信息
     */
    public com.izouma.webservice.wsCow.RtnBullInfoResponse getBullByBullName(java.lang.String bullName) throws java.rmi.RemoteException;

    /**
     * 根据牧场名称和在场状态，获取所有公牛/冻精信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getAllBullByFarmName(java.lang.String farmName, boolean isAlive) throws java.rmi.RemoteException;

    /**
     * 根据牧场名称，获取所有牛舍信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getAllGroupByFarmName(java.lang.String farmName) throws java.rmi.RemoteException;

    /**
     * 获取正在进行中的转舍任务单
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getCgTask(java.lang.String farmName) throws java.rmi.RemoteException;

    /**
     * 获取正在进行中的转舍任务单明细
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getCgTaskDetail(java.lang.String farmName, java.lang.String taskNo) throws java.rmi.RemoteException;

    /**
     * 更新转舍任务单状态
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse updateCgTaskStatus(java.lang.String farmName, java.lang.String taskNo) throws java.rmi.RemoteException;

    /**
     * 牛只转舍
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse changeGroup(java.lang.String cowNO, java.lang.String newGroup, java.lang.String reason, java.lang.String operators) throws java.rmi.RemoteException;

    /**
     * 牛只批量转舍
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse bulkChangeGroup(java.lang.String[] cowNOList, java.lang.String newGroup, java.lang.String reason, java.lang.String operators) throws java.rmi.RemoteException;

    /**
     * 整舍转舍操作
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse bulkChangeGroupByWholeGroup(java.lang.String farmName, java.lang.String oldGroup, java.lang.String newGroup, java.lang.String reason, java.lang.String operators) throws java.rmi.RemoteException;

    /**
     * 提交牛只混舍预警
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse insertMixedGroupInfo(java.lang.String cowID, java.util.Calendar findedTime, java.lang.String findedGroup, java.lang.String source) throws java.rmi.RemoteException;

    /**
     * 按牧场、起止时间获取转舍汇总信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getChangeGroupStat(java.lang.String farmName, java.util.Calendar begin, java.util.Calendar end) throws java.rmi.RemoteException;

    /**
     * 按牧场、起止时间获取转舍汇总中的明细信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getChangeGroupStatDetail(java.lang.String farmName, java.lang.String type, java.lang.String value, java.util.Calendar begin, java.util.Calendar end) throws java.rmi.RemoteException;

    /**
     * 按牛舍查询转群明细记录
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getChangeGroupByCowID(java.lang.String cowID, java.util.Calendar begin, java.util.Calendar end) throws java.rmi.RemoteException;

    /**
     * 获取牧场信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getAllFarm() throws java.rmi.RemoteException;

    /**
     * 根据牧场编号获取牧场信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getFarmByNo(java.lang.String no) throws java.rmi.RemoteException;

    /**
     * 查询所有正在流程中的找牛计划任务单
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getAllProcessFindCowTask() throws java.rmi.RemoteException;

    /**
     * 根据牧场名称，查询所有正在流程中的找牛计划任务单
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getAllProcessFindCowTaskByFarm(java.lang.String farmName) throws java.rmi.RemoteException;

    /**
     * 根据任务单号，更新找牛计划的执行状态
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse updateTaskProcessByTaskNO(java.lang.String taskNo, java.lang.String executor) throws java.rmi.RemoteException;

    /**
     * 根据找牛计划任务单号，查询相应的牛号列表
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getAllCowByFindCowTaskNO(java.lang.String taskNo) throws java.rmi.RemoteException;

    /**
     * 上传耳标更换记录
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse uploadCowTIDInfo(java.lang.String tid, java.lang.String epc, java.util.Calendar confirmTime, java.lang.String operators, boolean isUpdate) throws java.rmi.RemoteException;

    /**
     * 上传盘点记录<u>临时使用，后期删除</u>
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse uploadInventoryInfo(java.lang.String cowID, java.lang.String findedGroup, java.lang.String sysGroup, java.util.Calendar findedTime, java.lang.String currCategory, java.lang.String epc, int tagCount, int scanCount) throws java.rmi.RemoteException;

    /**
     * 上传盘点记录
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse uploadInventoryRecord(java.lang.String cowID, java.lang.String farmNO, java.lang.String carNO, java.lang.String operators, java.lang.String findedGroup, java.lang.String sysGroup, java.util.Calendar findedTime, java.lang.String currCategory, java.lang.String epc, int tagCount, int scanCount) throws java.rmi.RemoteException;

    /**
     * 获取牛只盘点信息<br>目前仅提供最近一周的盘点明细信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getInventoryInfoByCowID(java.lang.String cowID) throws java.rmi.RemoteException;

    /**
     * 上传手持机操作记录日志
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse uploadOperateLogInfo(java.lang.String farmNO, java.lang.String module, java.util.Calendar begin, java.util.Calendar end, int duration, boolean isError, java.lang.String errorMsg, java.util.Calendar logTime, java.lang.String operators) throws java.rmi.RemoteException;

    /**
     * 上传手持机鉴定率记录
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse uploadIdenRateRecord(java.lang.String farmNO, java.lang.String cowID, java.lang.String module, java.util.Calendar time, boolean isScan, java.lang.String operators) throws java.rmi.RemoteException;

    /**
     * 获取业务字典信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getUserDict(com.izouma.webservice.wsCow.DictType type) throws java.rmi.RemoteException;

    /**
     * 根据应用名称获取业务模块配置信息
     * 应用名称为项目名称
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getBusinessModule(java.lang.String application) throws java.rmi.RemoteException;

    /**
     * 根据牧场名称查询牧场相关参数设置
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getParamsByFarmName(java.lang.String farmName) throws java.rmi.RemoteException;

    /**
     * 根据疾病名称，获取相应的标准处方信息
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getDiseasePreInfo(java.lang.String diseaseName) throws java.rmi.RemoteException;

    /**
     * 根据标签号，进行标签确认操作
     */
    public com.izouma.webservice.wsCow.RtnInfoOpeateResponse checkTag(org.apache.axis.types.UnsignedByte type, java.lang.String tagCode, java.lang.String farmNO) throws java.rmi.RemoteException;

    /**
     * 获取转舍任务列表
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getChangeGroupTask(java.lang.String type, java.lang.String farmName, java.lang.String groupNO) throws java.rmi.RemoteException;

    /**
     * 获取手持机功率
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getAntPower(java.lang.String farmName) throws java.rmi.RemoteException;

    /**
     * <b>查询牛号</b>
     */
    public com.izouma.webservice.wsCow.RtnDataTableResponse getLiveCows(java.lang.String farmName, java.lang.String cowID) throws java.rmi.RemoteException;
}
