public int CheckEquipmentData(string workOder, int processLayer)
        {
            int    errorCode = 0;
            string errorMsg  = "";

            string[] equipmentResultKeys   = new string[] { "EQUIPMENT_CHECKSTATE", "EQUIPMENT_NUMBER", "PART_NUMBER" };
            string[] equipmentResultValues = new string[] { };
            errorCode = imsapi.equCheckEquipmentData(sessionContext, init.configHandler.StationNumber, workOder, "-1", "-1", processLayer, 0, equipmentResultKeys, out equipmentResultValues);
            LogHelper.Info("Api equCheckEquipmentData: work order  =" + workOder + ",error code =" + errorCode);
            if (errorCode == 0)
            {
                List <EquipmentEntity> entityList = new List <EquipmentEntity>();
                int loop  = equipmentResultKeys.Length;
                int count = equipmentResultValues.Length;
                for (int i = 0; i < count; i += loop)
                {
                    EquipmentEntity entity = new EquipmentEntity();
                    entity.EQUIPMENT_CHECKSTATE = equipmentResultValues[i + 0];
                    entity.EQUIPMENT_NUMBER     = equipmentResultValues[i + 1];
                    entity.PART_NUMBER          = equipmentResultValues[i + 2];
                    entityList.Add(entity);
                }
                view.errorHandler(0, init.lang.ERROR_API_CALL_ERROR + " equCheckEquipmentData " + errorCode, "");
            }
            else
            {
                //imsapi.imsapiGetErrorText(sessionContext, errorCode, out errorMsg);
                errorMsg = UtilityFunction.GetZHSErrorString(errorCode, init, sessionContext);
                view.errorHandler(2, init.lang.ERROR_API_CALL_ERROR + " equCheckEquipmentData " + errorCode + "," + errorMsg, "");
            }
            return(errorCode);
        }