C# Class Solar.Database

Database for telemetry, trip events, and commands.
Inheritance: IDataServiceLayer
显示文件 Open project: nusolar/sc6-telemetry-code

Public Properties

Property Type Description
data_lock object

Public Methods

Method Description
Database ( ) : System
Dispose ( ) : void
PushStatus ( Solar data ) : void
PushToDropbox ( ) : System.Threading.Tasks.Task
UnixTimeNow ( ) : double

Returns the current Unix/Epoch time, useful for timestamping.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
to_list ( object obj ) : List

Method Details

Database() public method

public Database ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

PushStatus() public method

public PushStatus ( Solar data ) : void
data Solar
return void

PushToDropbox() public method

public PushToDropbox ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

UnixTimeNow() static public method

Returns the current Unix/Epoch time, useful for timestamping.
static public UnixTimeNow ( ) : double
return double

Property Details

data_lock public_oe property

public object data_lock
return object