mirror of
https://bitbucket.org/cjdskunkworks/lynxastrodewcontroller.git
synced 2026-05-03 17:28:52 +00:00
28 lines
765 B
C#
28 lines
765 B
C#
using System;
|
|
using ASCOM.Utilities.Interfaces;
|
|
|
|
namespace ASCOM.LynxAstro.DewController
|
|
{
|
|
public interface ISharedResourcesWrapper
|
|
{
|
|
ConnectionInfo Connect(string deviceId, string driverId, ITraceLogger traceLogger);
|
|
void Disconnect(string deviceId, string driverId);
|
|
|
|
string FirmwareVersion { get; }
|
|
|
|
void Lock(Action action);
|
|
T Lock<T>(Func<T> func);
|
|
|
|
string SendString(string message);
|
|
void SendBlind(string message);
|
|
string SendChar(string message);
|
|
|
|
string ReadTerminated();
|
|
|
|
ProfileProperties ReadProfile();
|
|
|
|
void SetupDialog();
|
|
void WriteProfile(ProfileProperties profileProperties);
|
|
void ReadCharacters(int throwAwayCharacters);
|
|
}
|
|
} |