public int UnLockObjects(int objectType, string lockGroupName, string unLockInformation, string materialBinNo) { string[] objectUploadKeys = new string[] { "ERROR_CODE", "MATERIAL_BIN_NUMBER" }; string[] objectUploadValues = new string[] { "0", materialBinNo }; string[] objectResultValues = new string[] { }; int errorCode = imsapi.lockUnlockObjects(sessionContext, init.configHandler.StationNumber, objectType, lockGroupName, unLockInformation, 0, -1, 0, objectUploadKeys, objectUploadValues, out objectResultValues); LogHelper.Info("Api lockUnlockObjects object type =" + objectType + ", lock group name =" + lockGroupName + ", material bin number =" + materialBinNo + ", result code =" + errorCode); return(errorCode); }