38 lines
958 B
C#
38 lines
958 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using com.itac.mes.imsapi;
|
|
|
|
namespace com.itac.mes.imsapi.data
|
|
{
|
|
public class MaterialBinBooking
|
|
{
|
|
public static string[] MAXIMAL_INFORMATION = new string[] { "ERROR_CODE", "MATERIAL_BIN_NUMBER", "MATERIAL_BIN_QTY_ACTUAL", "QUANTITY", "TRANSACTION_CODE" };
|
|
|
|
[ImsApiKey(Key = "MATERIAL_BIN_NUMBER")]
|
|
public string materialBinNumber;
|
|
|
|
[ImsApiKey(Key = "MATERIAL_BIN_QTY_ACTUAL")]
|
|
public int materialBinQuantityActual = 0;
|
|
|
|
[ImsApiKey(Key = "QUANTITY")]
|
|
public int quantity = 0;
|
|
|
|
[ImsApiKey(Key = "TRANSACTION_CODE")]
|
|
public string transactionCode;
|
|
|
|
[ImsApiKey(Key = "ERROR_CODE")]
|
|
public int errorCode = 0;
|
|
|
|
|
|
|
|
public int CompareTo(MaterialBinBooking obj)
|
|
{
|
|
if (materialBinNumber == null) return -1;
|
|
if (obj == null) return 1;
|
|
return materialBinNumber.CompareTo(obj.materialBinNumber);
|
|
}
|
|
}
|
|
}
|