C# Class ASCOM.cam85_v03.Camera

Inheritance: ICameraV2
Afficher le fichier Open project: vakulenko/CAM8_software

Private Properties

Свойство Type Description
CheckConnected void
ReadProfile void
RegUnregASCOM void
RegisterASCOM void
UnregisterASCOM void
WriteProfile void
cameraConnect bool
cameraDisconnect bool
cameraGetCameraState int
cameraGetError int
cameraGetImage uint
cameraGetImageReady bool
cameraIsConnected bool
cameraSetBaudrate bool
cameraSetGain bool
cameraSetOffset bool
cameraStartExposure bool
cameraStopExposure bool
slowCoolingTimerTick void

Méthodes publiques

Méthode Description
AbortExposure ( ) : void
Action ( string actionName, string actionParameters ) : string
Camera ( ) : System

Initializes a new instance of the cam85_v03 class. Must be public for COM registration.

CommandBlind ( string command, bool raw ) : void
CommandBool ( string command, bool raw ) : bool
CommandString ( string command, bool raw ) : string
Dispose ( ) : void
PulseGuide ( GuideDirections Direction, int Duration ) : void
SetupDialog ( ) : void

Displays the Setup Dialog form. If the user clicks the OK button to dismiss the form, then the new settings are saved, otherwise the old values are reloaded. THIS IS THE ONLY PLACE WHERE SHOWING USER INTERFACE IS ALLOWED!

StartExposure ( double Duration, bool Light ) : void
StopExposure ( ) : void

Private Methods

Méthode Description
CheckConnected ( string message ) : void

Use this function to throw an exception if we aren't connected to the hardware

ReadProfile ( ) : void

Read the device configuration from the ASCOM Profile store

RegUnregASCOM ( bool bRegister ) : void

Register or unregister the driver with the ASCOM Platform. This is harmless if the driver is already registered/unregistered.

RegisterASCOM ( Type t ) : void
UnregisterASCOM ( Type t ) : void
WriteProfile ( ) : void

Write the device configuration to the ASCOM Profile store

cameraConnect ( ) : bool
cameraDisconnect ( ) : bool
cameraGetCameraState ( ) : int
cameraGetError ( ) : int
cameraGetImage ( ) : uint
cameraGetImageReady ( ) : bool
cameraIsConnected ( ) : bool
cameraSetBaudrate ( int val ) : bool
cameraSetGain ( int val ) : bool
cameraSetOffset ( int val ) : bool
cameraStartExposure ( int Bin, int StartX, int StartY, int NumX, int NumY, double Duration, bool light ) : bool
cameraStopExposure ( ) : bool
slowCoolingTimerTick ( Object source, ElapsedEventArgs e ) : void

Method Details

AbortExposure() public méthode

public AbortExposure ( ) : void
Résultat void

Action() public méthode

public Action ( string actionName, string actionParameters ) : string
actionName string
actionParameters string
Résultat string

Camera() public méthode

Initializes a new instance of the cam85_v03 class. Must be public for COM registration.
public Camera ( ) : System
Résultat System

CommandBlind() public méthode

public CommandBlind ( string command, bool raw ) : void
command string
raw bool
Résultat void

CommandBool() public méthode

public CommandBool ( string command, bool raw ) : bool
command string
raw bool
Résultat bool

CommandString() public méthode

public CommandString ( string command, bool raw ) : string
command string
raw bool
Résultat string

Dispose() public méthode

public Dispose ( ) : void
Résultat void

PulseGuide() public méthode

public PulseGuide ( GuideDirections Direction, int Duration ) : void
Direction GuideDirections
Duration int
Résultat void

SetupDialog() public méthode

Displays the Setup Dialog form. If the user clicks the OK button to dismiss the form, then the new settings are saved, otherwise the old values are reloaded. THIS IS THE ONLY PLACE WHERE SHOWING USER INTERFACE IS ALLOWED!
public SetupDialog ( ) : void
Résultat void

StartExposure() public méthode

public StartExposure ( double Duration, bool Light ) : void
Duration double
Light bool
Résultat void

StopExposure() public méthode

public StopExposure ( ) : void
Résultat void