61 lines
2.4 KiB
Plaintext
61 lines
2.4 KiB
Plaintext
using DTS.Common.Enums;
|
|
using DTS.Common.Enums.Sensors;
|
|
using System;
|
|
|
|
namespace DTS.Common.Interface.Sensors
|
|
{
|
|
public interface ISensorBase
|
|
{
|
|
bool IsDigitalInput();
|
|
bool IsDigitalOutput();
|
|
bool IsSquib();
|
|
bool IsUart();
|
|
bool IsStreamOutput();
|
|
bool CheckOffset { get; set; }
|
|
bool MeasureNoise { get; set; }
|
|
bool MeasureExcitation { get; set; }
|
|
bool Invert { get; set; }
|
|
string Model { get; set; }
|
|
string Manufacturer { get; set; }
|
|
string UserPartNumber { get; set; }
|
|
double Capacity { get; set; }
|
|
double FullScaleCapacity { get; }
|
|
SensorConstants.CouplingModes CouplingMode { get; set; }
|
|
double OffsetToleranceLow { get; set; }
|
|
double OffsetToleranceHigh { get; set; }
|
|
string DisplayUnit { get; set; }
|
|
void SetDisplayUnitNoNotify(string unit);
|
|
double RangeLow { get; set; }
|
|
double RangeMedium { get; set; }
|
|
double RangeHigh { get; set; }
|
|
ExcitationVoltageOptions.ExcitationVoltageOption[] SupportedExcitation { get; set; }
|
|
void SetExcitationsNoNotify(ExcitationVoltageOptions.ExcitationVoltageOption[] excitations);
|
|
ISensorCalibration Calibration { get; set; }
|
|
SensorConstants.BridgeType Bridge { get; set; }
|
|
double BridgeResistance { get; set; }
|
|
string FilterClassIso { get; set; }
|
|
bool UniPolar { get; set; }
|
|
bool IgnoreRange { get; set; }
|
|
string LastUpdatedBy { get; set; }
|
|
int Version { get; set; }
|
|
bool LocalOnly { get; }
|
|
void SetLocalOnly(bool bLocalOnly);
|
|
short AxisNumber { get; set; }
|
|
short NumberOfAxes { get; set; }
|
|
int CalInterval { get; set; }
|
|
string Polarity { get; set; }
|
|
DateTime LastModified { get; set; }
|
|
string UserChannelName { get; set; }
|
|
string UserCode { get; set; }
|
|
string ISOChannelName { get; set; }
|
|
string ISOCode { get; set; }
|
|
string PhysicalDimension { get; set; }
|
|
string Direction { get; set; }
|
|
bool DoNotUse { get; set; }
|
|
bool Broken { get; set; }
|
|
bool OutOfDate { get; set; }
|
|
bool InWarningPeriod { get; set; }
|
|
void CopyValues(ISensorBase copy, bool copyCalibration = true);
|
|
}
|
|
}
|