C# 클래스 ControlSystem.ScriptRunner

Used to run IronPython scripts. Note: Needs IronPython, IronPython.Modules and Microsoft.Scripting assemblies as reference
상속: IScriptRunner
파일 보기 프로젝트 열기: syre/SortingIndustrialRobot 1 사용 예제들

공개 메소드들

메소드 설명
ExecuteScript ( ) : void
clearOutputStream ( ) : void
getInstance ( ) : ScriptRunner

Gets the instance of the ScriptRunner.

readFromOutputStream ( ) : string
setRobotInstance ( IRobot _iroboRobot ) : void
setScriptFromFile ( string _sPath ) : void
setScriptFromString ( string _sScript ) : void

비공개 메소드들

메소드 설명
ScriptRunner ( ) : System

Initializing the python engine.

메소드 상세

ExecuteScript() 공개 메소드

public ExecuteScript ( ) : void
리턴 void

clearOutputStream() 공개 메소드

public clearOutputStream ( ) : void
리턴 void

getInstance() 공개 정적인 메소드

Gets the instance of the ScriptRunner.
public static getInstance ( ) : ScriptRunner
리턴 ScriptRunner

readFromOutputStream() 공개 메소드

public readFromOutputStream ( ) : string
리턴 string

setRobotInstance() 공개 메소드

public setRobotInstance ( IRobot _iroboRobot ) : void
_iroboRobot IRobot
리턴 void

setScriptFromFile() 공개 메소드

public setScriptFromFile ( string _sPath ) : void
_sPath string
리턴 void

setScriptFromString() 공개 메소드

public setScriptFromString ( string _sScript ) : void
_sScript string
리턴 void