Notes for using quick-cocos2d-x3.2 sched3.2, cocos2dx3.2

Source: Internet
Author: User

Notes for using quick-cocos2d-x3.2 sched3.2, cocos2dx3.2

Recently, scheduler found the following problems:

Call:

local scheduler = require(cc.PACKAGE_NAME .. ".scheduler")function MainScene:ctor()        self.player_:pos(self.player_:getContentSize().width / 2 , display.height / 2)           scheduler.scheduleGlobal(self.addMonster,1)    endfunction MainScene:addMonster()    local monster = display.newSprite("monster.png"):addTo(self)  end

Error:

stack traceback:[string "framework/shortcodes.lua"]:62: in function 'addTo'[string "/Users/tokou/Documents/work_cocos/firstapp/src/app/scenes/MainScene.lua"]:30: in function <[string "/Users/tokou/Documents/work_cocos/firstapp/src/app/scenes/MainScene.lua"]:28>cocos2d: ----------------------------------------

Solution


local scheduler = require(cc.PACKAGE_NAME .. ".scheduler")function MainScene:ctor()        self.player_:pos(self.player_:getContentSize().width / 2 , display.height / 2)          scheduler.scheduleGlobal(function()        self:addMonster()    end,1)endfunction MainScene:addMonster()    local monster = display.newSprite("monster.png"):addTo(self)  end



Hello, can you tell me in detail the storage methods and precautions of X-GAL and X-gluc
What are the basic operating procedures and precautions for the Xray machine?

Daily Operation Sequence
1. Power ON: the x-ray machine operator places the main power switch ON the side of the machine in the ON file, the X-ray ON/OFF switch in the ON file, and the "ANRITSU" icon appears ON the operation interface, the basic interface will be displayed 2 minutes after device self-check.
2. The operator presses the START key, the conveyor belt starts to run, and the device enters the running status. Press the stop key to stop the conveyor belt.
3. When the inspected product passes the conveyor belt and is determined as a qualified product, the screen displays "OK". When it is determined as unqualified, the screen displays "NG "; the screen statistics show the total number of inspected products, the number of qualified products, and the number of NG. However, when the inspected Products pass through disorganized items (with no fixed interval), the displayed values do not match the actual values.
4. New Product registration: when registering a new product, you need to perform basic settings and automatic settings. This device can register the parameters of 100 products.
A. Basic settings:
1) Change product number: The operator presses the product key on the basic interface, selects the product number to be set from the vertical scroll bar, and presses the change product button; if the operation is terminated, presses the return button, return to the basic interface;
2) The operator presses the menu key on the basic interface → product logon → Basic settings → input the product name (when setting the product name, tap the text box and enter the text after the keyboard appears) → select the judgment form (usually the judgment form is "Foreign Body mixing") → display (the display interface is set to "before processing the image", and the basic form is set to "valid ") → shipping (the usage of the optical splitter is set to "use", the working status is set to "packaging", and the input conveyor speed is generally set to "30 ~ 40 m/minute) → register → "hut" key. The above steps are completed and the logon is complete.
B. Automatic settings:
On the Basic interface, the operator presses the menu key → product registration → Foreign Body Detection conditions → sets the Foreign Body Detection Algorithm (the detection algorithm can be set between 1 and 4, generally set to 3, you can also set it to 4 according to the product shape. If the product requires detection of small metallic foreign body, you can also use 1, 2, but the sensitivity of the detection of foreign body such as bone is low) → register → return → automatic settings (display preparation interface, then the interface is changed, and more than three bags of inspected Products pass through one by one, showing the xguang tube voltage and current. Because of the different types of inspected products, the product must pass 5-12 times. The number of inspection times and the recommended detection level will change with each passing of the inspected product. When the product passes 12 times, click "yes" on the display page to return to the basic page after the settings are completed ).
5. Sensitivity Adjustment
1) when the machine is used, the operator adjusts the sensitivity of the detector every 4 hours (ensure that no item is included in the transfer belt during adjustment; the operator shall attach a test sheet to calibrate the machine's sensitivity every hour and during product replacement );
2) The operator presses the sensitivity correction key on the basic interface → next → displays the interface for sensitivity adjustment in progress → returns to the basic interface, and the sensitivity adjustment is complete.
Reference: www.sldyl.com/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.