using iWareSda_QQJF.SrmTranModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace iWareSda_QQJF.SRMTRAN.SrmTranService
{
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“ISrmTranService”。
[ServiceContract, XmlSerializerFormat(Style = OperationFormatStyle.Rpc)]
public interface ISrmTranService
{
///
/// 获取入口是否有新货
///
[OperationContract]
List HasTranGoods();
///
/// 获取错误信息
///
[OperationContract]
string GetErrorMsg();
///
/// 获取入库错误信息
///
[OperationContract]
string GetInErrorMsg(int tranId);
///
/// 获取入口是否尺寸超标
///
[OperationContract]
List ErrorTranGoods();
/// 获取指定输送线信息
///
///
///
[OperationContract]
string GetSrmConveyorStationInfo(int transPlaceId);
/// 发送尺寸给输送线
///
///
///
///
///
///
///
[OperationContract]
bool SendGoodsSize(int transId, double length, double width, double height);
/// 发送重量是否OK
///
///
///
///
///
[OperationContract]
int SendGoodsReady(int startId, int endId, int taskId,int fatherid);
/// 发送重量是否OK
///
///
///
///
///
[OperationContract]
bool SendWeightOk(int transId, bool isOk);
/// 查询重量
///
///
///
///
[OperationContract]
string GetGoodsWeight(int transId);
/// 根据设备号查询货物条形码
///
///
///
///
[OperationContract]
string GetGoodsBarcode(int transId);
/// 查询外观是否合格
///
///
///
[OperationContract]
int IsPassed(int transId);
/// 急停
///
///
///
[OperationContract]
int SendTranStop(int transId);
/// 删除
///
///
///
[OperationContract]
int SendTranDelete(int transId);
/// 复位
///
///
///
[OperationContract]
int SendTranReset(int transId);
/// 复位入口信号
///
///
[OperationContract]
bool ClearTranGoods(int transId);
/// 获取任务号
///
///
[OperationContract]
int FinishTask(int transId);
///
/// 发送规格检测
///
///
///
///
[OperationContract]
bool SendGoodsType(int transId, int palletType);
/////
///// 关联删除
/////
/////
/////
//[OperationContract]
//int SendTranDeleteAll(int tranID);
///
/// 解锁所有输送线
///
///
///
[OperationContract]
bool UnlockTran(int east);
///
/// 解除中转台占用输送线
///
///
///
[OperationContract]
bool UnFullTran(int east);
}
}