类 InventoryConfig.Builder

  • 封闭类:
    InventoryConfig

    public static class InventoryConfig.Builder
    extends java.lang.Object
    The type Builder.
    • 构造器详细资料

      • Builder

        public Builder()
    • 方法详细资料

      • setPassword

        public InventoryConfig.Builder setPassword​(java.lang.String password)
        访问密码(默认:00000000)
        参数:
        password - the password
        返回:
        password password
      • setBank

        public InventoryConfig.Builder setBank​(Bank bank)
        盘点区域(默认:TID)
        参数:
        bank - the bank
        返回:
        bank bank
      • setWordAddress

        public InventoryConfig.Builder setWordAddress​(int wordAddress)
        起始地址(默认:0)
        参数:
        wordAddress - (单位:word)
        返回:
        word address
      • setWordLength

        public InventoryConfig.Builder setWordLength​(int wordLength)
        读取长度(默认:6)
        参数:
        wordLength - (单位:word)
        返回:
        word length
      • build

        public InventoryConfig build()
        Build inventory config.
        返回:
        the inventory config