{
    "label": "库位",
    "order": 5,
    "blocks": [
        {
            "type": "All",
            "name": "BatchSettingSiteBp",
            "label": "批量设置库位",
            "description": "",
            "inputParams": [
                {
                    "name": "siteIds",
                    "type": "JSONArray",
                    "label": "库位Ids",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "groupNames",
                    "type": "JSONArray",
                    "label": "库区集",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "filled",
                    "type": "Boolean",
                    "label": "占用",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "content",
                    "type": "String",
                    "label": "货物",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "type",
                    "type": "Boolean",
                    "label": "是否物理库位",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {},
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 批量设置库位 (BatchSettingSiteBp)\n\n### 描述\n本块用于批量设置库位。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteIds | 非必填    | JSONArray | 库位Ids |\n| groupNames | 非必填    | JSONArray | 库区集 |\n| filled | 必填    | Boolean | 占用 |\n| content | 非必填    | String | 货物 |\n| type | 非必填    | Boolean | 是否物理库位 |\n\n### 输出参数\n无\n"
        },
        {
            "type": "Normal",
            "name": "GetIdleCrowdedSiteBp",
            "label": "获取密集库位",
            "description": "",
            "inputParams": [
                {
                    "name": "groupName",
                    "type": "JSONArray",
                    "label": "库区集",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "filled",
                    "type": "Boolean",
                    "label": "取/放",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "content",
                    "type": "String",
                    "label": "货物(取)",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "lock",
                    "type": "Boolean",
                    "label": "获取库位后是否锁定",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "retry",
                    "type": "Boolean",
                    "label": "是否重试",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "retryPeriod",
                    "type": "Long",
                    "label": "重试时间间隔(ms)",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "retryNum",
                    "type": "Long",
                    "label": "重试次数",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {
                "siteId": {
                    "type": "String",
                    "label": "选出的库位",
                    "description": null
                }
            },
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 获取密集库位 (GetIdleCrowdedSiteBp)\n\n### 描述\n本块用于获取密集库位。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| groupName | 必填    | JSONArray | 库区集 |\n| filled | 必填    | Boolean | 取/放 |\n| content | 非必填    | String | 货物(取) |\n| lock | 非必填    | Boolean | 获取库位后是否锁定 |\n| retry | 必填    | Boolean | 是否重试 |\n| retryPeriod | 非必填    | Long | 重试时间间隔(ms) |\n| retryNum | 非必填    | Long | 重试次数 |\n\n### 输出参数\n\n| 参数名   | 类型 | 描述 |\n\n|---------|------|------|\n| siteId | String | 选出的库位 |\n"
        },
        {
            "type": "Normal",
            "name": "GetIdleSiteBp",
            "label": "获取库位",
            "description": "",
            "inputParams": [
                {
                    "name": "siteId",
                    "type": "String",
                    "label": "库位ID",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "content",
                    "type": "String",
                    "label": "货物",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "filled",
                    "type": "Boolean",
                    "label": "是否有货物",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "locked",
                    "type": "Boolean",
                    "label": "是否已锁定",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "type",
                    "type": "Boolean",
                    "label": "是否物理库位",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "groupName",
                    "type": "String",
                    "label": "库区名",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "lock",
                    "type": "Boolean",
                    "label": "获取库位后是否锁定",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "retryPeriod",
                    "type": "Long",
                    "label": "重试时间间隔(ms)",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "ifFair",
                    "type": "Boolean",
                    "label": "是否为公平锁",
                    "description": "",
                    "required": false,
                    "defaultValue": true,
                    "options": []
                },
                {
                    "name": "orderDesc",
                    "type": "Boolean",
                    "label": "是否为降序",
                    "description": "",
                    "required": false,
                    "defaultValue": false,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {
                "siteId": {
                    "type": "String",
                    "label": "选出的库位",
                    "description": null
                }
            },
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 获取库位 (GetIdleSiteBp)\n\n### 描述\n本块用于获取库位。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteId | 非必填    | String | 库位ID |\n| content | 非必填    | String | 货物 |\n| filled | 非必填    | Boolean | 是否有货物 |\n| locked | 必填    | Boolean | 是否已锁定 |\n| type | 非必填    | Boolean | 是否物理库位 |\n| groupName | 非必填    | String | 库区名 |\n| lock | 非必填    | Boolean | 获取库位后是否锁定 |\n| retryPeriod | 非必填    | Long | 重试时间间隔(ms) |\n| ifFair | 非必填    | Boolean | 是否为公平锁 |\n| orderDesc | 非必填    | Boolean | 是否为降序 |\n\n### 输出参数\n\n| 参数名   | 类型 | 描述 |\n\n|---------|------|------|\n| siteId | String | 选出的库位 |\n"
        },
        {
            "type": "All",
            "name": "GetLockedSitesByTaskRecordIdBp",
            "label": "根据任务实例ID获取所有加锁库位",
            "description": "",
            "inputParams": [
                {
                    "name": "taskRecordId",
                    "type": "String",
                    "label": "任务实例Id",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {
                "lockedSiteIdList": {
                    "type": "String",
                    "label": "该任务实例的所有加锁库位列表",
                    "description": null
                }
            },
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 根据任务实例ID获取所有加锁库位 (GetLockedSitesByTaskRecordIdBp)\n\n### 描述\n本块用于根据任务实例ID获取所有加锁库位。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| taskRecordId | 必填    | String | 任务实例Id |\n\n### 输出参数\n\n| 参数名   | 类型 | 描述 |\n\n|---------|------|------|\n| lockedSiteIdList | String | 该任务实例的所有加锁库位列表 |\n"
        },
        {
            "type": "All",
            "name": "GetSiteAttrBp",
            "label": "获取库位扩展属性值",
            "description": "",
            "inputParams": [
                {
                    "name": "siteId",
                    "type": "String",
                    "label": "库位Id",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "attrName",
                    "type": "String",
                    "label": "属性名称",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {
                "attrValue": {
                    "type": "String",
                    "label": "属性值",
                    "description": null
                }
            },
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 获取库位扩展属性值 (GetSiteAttrBp)\n\n### 描述\n本块用于获取库位扩展属性值。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteId | 必填    | String | 库位Id |\n| attrName | 必填    | String | 属性名称 |\n\n### 输出参数\n\n| 参数名   | 类型 | 描述 |\n\n|---------|------|------|\n| attrValue | String | 属性值 |\n"
        },
        {
            "type": "All",
            "name": "QueryIdleSiteBp",
            "label": "查询库位",
            "description": "",
            "inputParams": [
                {
                    "name": "siteId",
                    "type": "String",
                    "label": "库位ID",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "content",
                    "type": "String",
                    "label": "货物",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "filled",
                    "type": "Boolean",
                    "label": "是否有货物",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "locked",
                    "type": "Boolean",
                    "label": "是否已锁定",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "type",
                    "type": "Boolean",
                    "label": "是否物理库位",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "groupName",
                    "type": "String",
                    "label": "库区名",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "orderDesc",
                    "type": "Boolean",
                    "label": "是否为降序",
                    "description": "",
                    "required": false,
                    "defaultValue": true,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {
                "site": {
                    "type": "Object",
                    "label": "选出的库位",
                    "description": null,
                    "className": "com.seer.rds.model.worksite.WorkSite"
                }
            },
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 查询库位 (QueryIdleSiteBp)\n\n### 描述\n本块用于查询库位。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteId | 非必填    | String | 库位ID |\n| content | 非必填    | String | 货物 |\n| filled | 非必填    | Boolean | 是否有货物 |\n| locked | 必填    | Boolean | 是否已锁定 |\n| type | 非必填    | Boolean | 是否物理库位 |\n| groupName | 非必填    | String | 库区名 |\n| orderDesc | 非必填    | Boolean | 是否为降序 |\n\n### 输出参数\n\n| 参数名   | 类型 | 描述 |\n\n|---------|------|------|\n| site | Object | 选出的库位 |\n"
        },
        {
            "type": "All",
            "name": "SetSiteAttrBp",
            "label": "设置库位扩展属性",
            "description": "",
            "inputParams": [
                {
                    "name": "siteId",
                    "type": "String",
                    "label": "库位Id",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "attrName",
                    "type": "String",
                    "label": "属性名称",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "attrValue",
                    "type": "String",
                    "label": "属性值",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {},
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 设置库位扩展属性 (SetSiteAttrBp)\n\n### 描述\n本块用于设置库位扩展属性。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteId | 必填    | String | 库位Id |\n| attrName | 必填    | String | 属性名称 |\n| attrValue | 非必填    | String | 属性值 |\n\n### 输出参数\n无\n"
        },
        {
            "type": "All",
            "name": "SetSiteContentBp",
            "label": "设置库位货物",
            "description": "",
            "inputParams": [
                {
                    "name": "siteId",
                    "type": "String",
                    "label": "库位Id",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "content",
                    "type": "String",
                    "label": "货物",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {},
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 设置库位货物 (SetSiteContentBp)\n\n### 描述\n本块用于设置库位货物。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteId | 必填    | String | 库位Id |\n| content | 必填    | String | 货物 |\n\n### 输出参数\n无\n"
        },
        {
            "type": "All",
            "name": "SetSiteEmptyBp",
            "label": "设置库位为空",
            "description": "",
            "inputParams": [
                {
                    "name": "siteId",
                    "type": "String",
                    "label": "库位Id",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {},
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 设置库位为空 (SetSiteEmptyBp)\n\n### 描述\n本块用于设置库位为空。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteId | 必填    | String | 库位Id |\n\n### 输出参数\n无\n"
        },
        {
            "type": "All",
            "name": "SetSiteFilledBp",
            "label": "设置库位为占用",
            "description": "",
            "inputParams": [
                {
                    "name": "siteId",
                    "type": "String",
                    "label": "库位Id",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {},
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 设置库位为占用 (SetSiteFilledBp)\n\n### 描述\n本块用于设置库位为占用。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteId | 必填    | String | 库位Id |\n\n### 输出参数\n无\n"
        },
        {
            "type": "All",
            "name": "SetSiteLockedBp",
            "label": "锁定库位",
            "description": "",
            "inputParams": [
                {
                    "name": "siteId",
                    "type": "String",
                    "label": "库位Id",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "ifFair",
                    "type": "Boolean",
                    "label": "是否为公平锁",
                    "description": "",
                    "required": false,
                    "defaultValue": true,
                    "options": []
                },
                {
                    "name": "lockedId",
                    "type": "String",
                    "label": "加锁者",
                    "description": "",
                    "required": false,
                    "defaultValue": true,
                    "options": []
                },
                {
                    "name": "retryTimes",
                    "type": "Integer",
                    "label": "重试次数",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {
                "success": {
                    "type": "Boolean",
                    "label": "锁定成功",
                    "description": null
                }
            },
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 锁定库位 (SetSiteLockedBp)\n\n### 描述\n本块用于锁定库位。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteId | 必填    | String | 库位Id |\n| ifFair | 非必填    | Boolean | 是否为公平锁 |\n| lockedId | 非必填    | String | 加锁者 |\n| retryTimes | 非必填    | Integer | 重试次数 |\n\n### 输出参数\n\n| 参数名   | 类型 | 描述 |\n\n|---------|------|------|\n| success | Boolean | 锁定成功 |\n"
        },
        {
            "type": "All",
            "name": "SetSiteTagsBp",
            "label": "设置库位标签",
            "description": "",
            "inputParams": [
                {
                    "name": "siteId",
                    "type": "String",
                    "label": "库位Id",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "tags",
                    "type": "String",
                    "label": "标签",
                    "description": "",
                    "required": false,
                    "defaultValue": null,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {},
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 设置库位标签 (SetSiteTagsBp)\n\n### 描述\n本块用于设置库位标签。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteId | 必填    | String | 库位Id |\n| tags | 非必填    | String | 标签 |\n\n### 输出参数\n无\n"
        },
        {
            "type": "All",
            "name": "SetSiteUnlockedBp",
            "label": "解锁库位",
            "description": "",
            "inputParams": [
                {
                    "name": "siteId",
                    "type": "String",
                    "label": "库位Id",
                    "description": "",
                    "required": true,
                    "defaultValue": null,
                    "options": []
                },
                {
                    "name": "unLockedId",
                    "type": "String",
                    "label": "解锁者",
                    "description": "",
                    "required": false,
                    "defaultValue": true,
                    "options": []
                }
            ],
            "extraInputParamsFunc": "",
            "outputParams": {},
            "contextVariables": {},
            "children": {},
            "hidden": false,
            "scriptFunction": null,
            "operatingInstructions": "## 解锁库位 (SetSiteUnlockedBp)\n\n### 描述\n本块用于解锁库位。\n\n### 输入参数\n\n| 参数名   | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| siteId | 必填    | String | 库位Id |\n| unLockedId | 非必填    | String | 解锁者 |\n\n### 输出参数\n无\n"
        }
    ]
}