代码搜索结果
找到约 10,000 项符合
State Machine 的代码
state.java
package com.javapatterns.state;
public interface State {
void sampleOperation();
/**
* @link
* @shapeType PatternLink
* @pattern State
* @supplierRole
state.cpp
#include"wupus.h"
bool Wupus_World::current(const Object OBJECT)
{
if(world[hunter.pos->x][hunter.pos->y]==OBJECT)
return true;
return false;
}
void Wupus_World::set_percepts()
state.log
Information explain:
Mhost_name=192.168.1.1,Mstate=1
Ahost_name=192.168.1.3,Amain_server=0,Amain_port=8010
Bhost_name=192.168.1.5,Bmain_server=1,Bmain_port=8000
Astate=0,Bstate=1,Sys_main_cpu=2,Sys_
state.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity State is
port(
Clk_20M:in std_logic; --20M时钟,用于分频
Ctrl:in std_logic_vecto
state.h
#include
#ifndef _STATEAA_
#define _STATEAA_
using std::cout;
using std::cin;
using std::endl;
namespace InState
{
class MyState
{
public:
MyState()
{
Hp =
state.h~
#ifndef __STATE_H__
#define __STETE_H__
#define BYTE char
#define STATE_POWER_ON 0x00
#define STATE_STANDBY 0x10
#define STATE_REC 0x20