samplestatecontroller.java

来自「SUnRDIS网络应用平台,可以在该平台上开发RFID应用,系统.」· Java 代码 · 共 30 行

JAVA
30
字号
/* * 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 + =
减小字号Ctrl + -
显示快捷键?