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

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

Private Properties

Свойство Тип Описание
CheckConnected void
ReadProfile void
RegUnregASCOM void
RegisterASCOM void
UnregisterASCOM void
WriteProfile void
cameraConnect bool
cameraDisconnect bool
cameraGetCameraState int
cameraGetImage uint
cameraGetImageReady bool
cameraIsConnected bool
cameraSetGain bool
cameraSetOffset bool
cameraStartExposure bool
cameraStopExposure bool

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

Метод Описание
AbortExposure ( ) : void
Action ( string actionName, string actionParameters ) : string
Camera ( ) : System

Initializes a new instance of the cam8s_v06 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

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

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

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

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

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

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

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

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

Initializes a new instance of the cam8s_v06 class. Must be public for COM registration.
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 Duration ) : void
Direction GuideDirections
Duration 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