卫生纸巾自动包装机(用于纸巾定型、捆扎、包边、胶贴、封口和整理的设备。()
卫生纸巾自动包装机(用于纸巾定型、捆扎、包边、胶贴、封口和整理的设备。()
相关考题:
试题五(共15分)阅读下列说明和C++代码,将应填入(n)处的字句写在答题纸的对应栏内。【说明】某大型商场内安装了多个简易的纸巾售卖机,自动出售2元钱一包的纸巾,且每次仅售出一包纸巾。纸巾售卖机的状态图如图5-1所示。采用状态( State)模式来实现该纸巾售卖机,得到如图5-2所示的类图。其中类State为抽象类,定义了投币、退币、出纸巾等方法接口。类SoldState、SoldOutState、NoQuarterState和HasQuarterState分别对应图5-1中纸巾售卖机的4种状态:售出纸巾、纸巾售完、没有投币、有2元钱。【C++代码】includeiostreamusing namespace std;∥以下为类的定义部分class TissueMachine; //类的提前引用class State{public:virtual void insertQuarter()=0; //投币virtual void ejectQuarter()=0; //退币virtual void turnCrank()=0; //按下“出纸巾”按钮virtual void dispense()=0; //出纸巾};/*类SoldOutState. NoQuarterState. HasQuarterState. SoldState的定义省略,每个类中均定义了私有数据成员TissueMachine* tissueMachine;*/class TissueMachine{private:(1) *soldOutState, *noQuarterState, *hasQuarterState,*soldState, *state;int count, //纸巾数public:TissueMachine(int numbers);void setState(State* state);State* getHasQuarterState();State* getNoQuarterState();State* getSoldState();State* getSoldOutState();int getCount();//其余代码省略};//以下为类的实现部分void NoQuarterState::insertQuarter(){tissueMachine-setState( (2) );}void HasQuarterState::ejectQuarter(){tissueMachine-setState( (3) );}void SoldState::dispense(){if(tissueMachine-getCount()0){tissueMachine-setState ( (4) );}else{tissueMachine-setState( (5) );}}//其余代码省略
试题六(共15分)阅读下列说明和Java代码,将应填入(n)处的字句写在答题纸的对应栏内。【说明】某大型商场内安装了多个简易的纸巾售卖机,自动出售2元钱一包的纸巾,且每次仅售出一包纸巾。纸巾售卖机的状态图如图6-1所示。采用状态( State)模式来实现该纸巾售卖机,得到如图6-2所示的类图。其中类State为抽象类,定义了投币、退币、出纸巾等方法接口。类SoldState、SoldOutState、NoQuarterState和HasQuarterState分别对应图6-1中纸巾售卖机的4种状态:售出纸巾、纸巾售完、没有投币、有2元钱。【Java代码】import j ava.util.*;interface State{public void insertQuarter(); //投币public void ejectQuarter(); //退币public void turnCrank();腑安下“出纸巾”按钮public void dispense(); //出纸巾}class TissueMachine {( 1 ) soldOutState, noQuarterState, hasQuarterState, soldState, state;state = soldOutState;int count = 0; //纸巾数public TissueMachine(intnumbers) { /*实现代码省略 */}public StategetHasQuarterState() { returnhasQuarterState; }public StategetNoQuarterState() { returnnoQuarterState, }public State getSoldState() { return soldState; }public State getSoldOutState() { return soldOutState; }public int getCount() { return count, }//其余代码省略}class NoQuarterState implements State {TissueMachine tissueMachine;public void insertQuarter() {tissueMachine.setState( (2));}//构造方法以及其余代码省略}class HasQuarterState implements State {TissueMachine tissueMachine;public void ejectQuarter() {tissueMachine.setState ((3));}//构造方法以及其余代码省略}class SoldState implements State {TissueMachine tissueMachine;public void dispense() {if(tissueMachine.getCount() 0) {tissueMachine.setState ((4));} else {tissueMachine.setState ((5)); }}}
()是完成全部或部分包装过程的机器。包装过程包括成型、充填、封口、裹包等主要包装工序,以及清洗、干操、杀菌、贴标、捆扎、集装、拆卸等包装前后工序和输送、选别等包装辅助工序。A、包装机械B、包装材料制造机械C、多功能包装机D、全自动包装机
问答题简述立式连续制袋三边封口包装机的包装原理