📄 samplestatecontroller.java
字号:
/* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * */package com.mycompany.adapter.sample;import java.util.logging.*;import java.util.Properties;import com.sun.autoid.adapter.AbstractReaderIO;import com.sun.autoid.adapter.State;import com.sun.autoid.adapter.StateMatrix;public class SampleStateController extends com.sun.autoid.adapter.AbstractStateController { /** * Creates a new instance of the State Controller * @param adapter the SampleAdapter executing the State Machine * @param readerIO the SampleReaderIO instance to use for communication with the reader * @param properties the properties identified in the configuration */ public SampleStateController(SampleAdapter adapter, SampleReaderIO readerIO, Properties properties) { super(adapter, readerIO, properties); setDefaultStateMatrix(); logger.log(Level.INFO, "{0} initialized", "SampleStateController"); } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -