C# Class ASCOM.cam8_v055.Camera

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

Méthodes publiques

Свойство Type Description
driverID string

Private Properties

Свойство Type Description
CameraConnect bool
CameraDisconnect bool
CameraGetCameraState int
CameraGetImage uint
CameraGetImageReady bool
CameraIsConnected bool
CameraSetGain bool
CameraSetOffset bool
CameraStartExposure bool
CameraStopExposure bool
CheckConnected void
RegUnregASCOM void
RegisterASCOM void
UnregisterASCOM void

Méthodes publiques

Méthode Description
AbortExposure ( ) : void
Action ( string actionName, string actionParameters ) : string
Camera ( ) : System
CommandBlind ( string command, bool raw ) : void
CommandBool ( string command, bool raw ) : bool
CommandString ( string command, bool raw ) : string
Dispose ( ) : void
PulseGuide ( GuideDirections Direction, int Duretion ) : 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
CameraConnect ( ) : bool
CameraDisconnect ( ) : bool
CameraGetCameraState ( ) : int
CameraGetImage ( ) : uint
CameraGetImageReady ( ) : bool
CameraIsConnected ( ) : 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
CheckConnected ( string message ) : void

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

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

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

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 Duretion ) : void
Direction GuideDirections
Duretion 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

Property Details

driverID public_oe static_oe property

public static string driverID
Résultat string