C# 클래스 ScanMaster.Controller

The controller is the heart of ScanMaster. The application is built around this controller, which gets the execution thread early on in application startup (look at the Main method in Runner). The controller is a singleton (there is only ever one controller). And I really mean only one - as in there is only ever one running on the machine. There are two ways to get hold of a reference to the controller object. If you are in the same (local) context that the Controller was instantiated in (which means, almost certainly, that you are writing code that is part of ScanMaster) then you should use the static factory method Controller.GetController(). If you are outside the Controller's context (which means you are probably writing another application that wants to use ScanMaster's services) then you should get hold of an object reference through the remoting system. You might well do this by registering the Controller type as well known within your application and then using new to to get a reference, but you shouldn't forget that you're actually dealing with a singleton ! The controller is published at "tcp://localhost:1170/controller.rem". The controller inherits from MarshalByRefObject so that references to it can be passed around by the remoting system.
상속: System.MarshalByRefObject
파일 보기 프로젝트 열기: ColdMatter/EDMSuite 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
appState AppState
serializer Data.Scans.ScanSerializer

공개 메소드들

메소드 설명
AcquireAndWait ( int numberOfScans ) : void
AcquireStart ( int numberOfScans ) : void
AcquireStop ( ) : void
AdjustProfileParameter ( String plugin, String parameter, String newValue, bool groupMode ) : void
CaptureRemote ( ) : void
GetController ( ) : Controller
GetOutputSetting ( String key ) : object
GetPGSetting ( String key ) : object
GetPGSettings ( ) : PluginSettings
GetShotSetting ( String key ) : object
InitializeLifetimeService ( ) : Object
LoadData ( ) : void
LoadData ( String path ) : void
LoadProfileSet ( ) : void
OutputPattern ( ) : void
ReleaseRemote ( ) : void
SaveAverageData ( ) : void
SaveAverageData ( String filePath ) : void
SaveAverageData ( System fs ) : void
SaveData ( ) : void
SaveData ( string filename ) : void
SaveProfileSet ( ) : void
SelectProfile ( String profile ) : void
StartApplication ( ) : void
StopApplication ( ) : void
StopPatternOutput ( ) : void

비공개 메소드들

메소드 설명
DataHandler ( object sender, DataEventArgs e ) : void
LoadProfileSet ( string path ) : void
ScanFinishedHandler ( object sender, EventArgs e ) : void
UpdateWindowTitle ( string path ) : void
WriteScanSettings ( Scan scan ) : void

메소드 상세

AcquireAndWait() 공개 메소드

public AcquireAndWait ( int numberOfScans ) : void
numberOfScans int
리턴 void

AcquireStart() 공개 메소드

public AcquireStart ( int numberOfScans ) : void
numberOfScans int
리턴 void

AcquireStop() 공개 메소드

public AcquireStop ( ) : void
리턴 void

AdjustProfileParameter() 공개 메소드

public AdjustProfileParameter ( String plugin, String parameter, String newValue, bool groupMode ) : void
plugin String
parameter String
newValue String
groupMode bool
리턴 void

CaptureRemote() 공개 메소드

public CaptureRemote ( ) : void
리턴 void

GetController() 공개 정적인 메소드

public static GetController ( ) : Controller
리턴 Controller

GetOutputSetting() 공개 메소드

public GetOutputSetting ( String key ) : object
key String
리턴 object

GetPGSetting() 공개 메소드

public GetPGSetting ( String key ) : object
key String
리턴 object

GetPGSettings() 공개 메소드

public GetPGSettings ( ) : PluginSettings
리턴 ScanMaster.Acquire.Plugin.PluginSettings

GetShotSetting() 공개 메소드

public GetShotSetting ( String key ) : object
key String
리턴 object

InitializeLifetimeService() 공개 메소드

public InitializeLifetimeService ( ) : Object
리턴 Object

LoadData() 공개 메소드

public LoadData ( ) : void
리턴 void

LoadData() 공개 메소드

public LoadData ( String path ) : void
path String
리턴 void

LoadProfileSet() 공개 메소드

public LoadProfileSet ( ) : void
리턴 void

OutputPattern() 공개 메소드

public OutputPattern ( ) : void
리턴 void

ReleaseRemote() 공개 메소드

public ReleaseRemote ( ) : void
리턴 void

SaveAverageData() 공개 메소드

public SaveAverageData ( ) : void
리턴 void

SaveAverageData() 공개 메소드

public SaveAverageData ( String filePath ) : void
filePath String
리턴 void

SaveAverageData() 공개 메소드

public SaveAverageData ( System fs ) : void
fs System
리턴 void

SaveData() 공개 메소드

public SaveData ( ) : void
리턴 void

SaveData() 공개 메소드

public SaveData ( string filename ) : void
filename string
리턴 void

SaveProfileSet() 공개 메소드

public SaveProfileSet ( ) : void
리턴 void

SelectProfile() 공개 메소드

public SelectProfile ( String profile ) : void
profile String
리턴 void

StartApplication() 공개 메소드

public StartApplication ( ) : void
리턴 void

StopApplication() 공개 메소드

public StopApplication ( ) : void
리턴 void

StopPatternOutput() 공개 메소드

public StopPatternOutput ( ) : void
리턴 void

프로퍼티 상세

appState 공개적으로 프로퍼티

public AppState appState
리턴 AppState

serializer 공개적으로 프로퍼티

public ScanSerializer,Data.Scans serializer
리턴 Data.Scans.ScanSerializer