C# Класс ASCOM.cam8_v05.Camera

Наследование: ICameraV2
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
driverID string

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AbortExposure() публичный метод

public AbortExposure ( ) : void
Результат void

Action() публичный метод

public Action ( string actionName, string actionParameters ) : string
actionName string
actionParameters string
Результат string

Camera() публичный метод

public Camera ( ) : System
Результат System

CommandBlind() публичный метод

public CommandBlind ( string command, bool raw ) : void
command string
raw bool
Результат void

CommandBool() публичный метод

public CommandBool ( string command, bool raw ) : bool
command string
raw bool
Результат bool

CommandString() публичный метод

public CommandString ( string command, bool raw ) : string
command string
raw bool
Результат string

Dispose() публичный метод

public Dispose ( ) : void
Результат void

PulseGuide() публичный метод

public PulseGuide ( GuideDirections Direction, int Duretion ) : void
Direction GuideDirections
Duretion int
Результат void

SetupDialog() публичный метод

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
Результат void

StartExposure() публичный метод

public StartExposure ( double Duration, bool Light ) : void
Duration double
Light bool
Результат void

StopExposure() публичный метод

public StopExposure ( ) : void
Результат void

Описание свойств

driverID публичное статическое свойство

public static string driverID
Результат string