initialize
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user