Table of Contents

Class InternalStorageFileMethodScriptLoader

Namespace
PalmSens.Core.Simplified.InternalStorage
Assembly
PalmSens.Core.Simplified.dll

Method script file loader. This will load method script files correctly.

public class InternalStorageFileMethodScriptLoader : InternalStorageFileLoader, IInternalStorageFileLoader
Inheritance
InternalStorageFileMethodScriptLoader
Implements
Inherited Members

Constructors

InternalStorageFileMethodScriptLoader(DeviceFile, ClientConnection)

public InternalStorageFileMethodScriptLoader(DeviceFile rawData, ClientConnection clientConnection)

Parameters

rawData DeviceFile
clientConnection ClientConnection

Methods

LoadMeasurement(Method, ClientConnection, Buffer, MeasType, int)

Load a method script measurement

protected override ActiveMeasurement LoadMeasurement(Method m, ClientConnection connection, Buffer buff, MeasType measType, int muxChannel)

Parameters

m Method
connection ClientConnection
buff Buffer
measType MeasType
muxChannel int

Returns

ActiveMeasurement

LoadMeasurementAsync(Method, ClientConnection, Buffer, MeasType, int)

Load a method script measurement

protected override Task<ActiveMeasurement> LoadMeasurementAsync(Method method, ClientConnection connection, Buffer buff, MeasType measType, int muxChannel)

Parameters

method Method
connection ClientConnection
buff Buffer
measType MeasType
muxChannel int

Returns

Task<ActiveMeasurement>

TryGetData(int, out string)

Override the try get data for additional parsing of the data string.

protected override bool TryGetData(int iEndChar, out string dataStr)

Parameters

iEndChar int
dataStr string

Returns

bool