C# Класс WFA_psychometric_chart.DatabaseOperations

Perfoms the database operations used by form1_main
Наследование: Form1_main
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
InsertMixNodeInfo ( string buildingName, string chartID, string node_id, string prevNodeID, string nextNodeID ) : void
InsertNodeInfoToDBWithoutDeviceInfo ( string buildingName, string chart_respective_nodeID, string id, double xVal, double yVal, string temperature_source, string humidity_source, string name, Color colorValue, int nodeSizeValue, string airFlow ) : void

Insert the data to SQLite db stores values of nodes

UpdateNodeInfoToDBWithNewParameters ( string buildingName, string id, double xVal, double yVal, string temperature_source, string humidity_source, string name, Color colorValue, int nodeSizeValue, int airflow ) : void

Helps to update the database values

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

InsertMixNodeInfo() публичный Метод

public InsertMixNodeInfo ( string buildingName, string chartID, string node_id, string prevNodeID, string nextNodeID ) : void
buildingName string
chartID string
node_id string
prevNodeID string
nextNodeID string
Результат void

InsertNodeInfoToDBWithoutDeviceInfo() публичный Метод

Insert the data to SQLite db stores values of nodes
public InsertNodeInfoToDBWithoutDeviceInfo ( string buildingName, string chart_respective_nodeID, string id, double xVal, double yVal, string temperature_source, string humidity_source, string name, Color colorValue, int nodeSizeValue, string airFlow ) : void
buildingName string
chart_respective_nodeID string
id string node id
xVal double x axis value
yVal double y axis value
temperature_source string Temperature source[Manual/Web/Device]
humidity_source string Humidity source[Manual/Web/Device]
name string Node name
colorValue Color Node color
nodeSizeValue int Node Size
airFlow string
Результат void

UpdateNodeInfoToDBWithNewParameters() публичный Метод

Helps to update the database values
public UpdateNodeInfoToDBWithNewParameters ( string buildingName, string id, double xVal, double yVal, string temperature_source, string humidity_source, string name, Color colorValue, int nodeSizeValue, int airflow ) : void
buildingName string
id string Node id
xVal double x value
yVal double y value
temperature_source string temperature source
humidity_source string humidity source
name string node name
colorValue Color node color
nodeSizeValue int node size
airflow int air flow amount
Результат void