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

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

Private Properties

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

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

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

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

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

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

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 cam85_v03 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