C# Class WFA_psychometric_chart.Form1_main

Inheritance: System.Windows.Forms.Form
Show file Open project: temcocontrols/T3000_Building_Automation_System Class Usage Examples

Public Properties

Property Type Description
AirPressureFromDB double
BuildingSelected List
ComfortZonesDetailForSaving List
ComfortZonesDetailForSaving_For_Load List
CurrentSelectedBuilding string
PathToT3000BuildingDB string
SpecificVolumeReturn double
buildingList List
chartDetailList List
chartInfoPulledForSaving List
chartInfoPulledForSaving_For_Load List
city_name_pulled string
colorValue Color
comboboxItemText string
comfortZoneInforForEachChartForSaving List
comfortZoneInforForEachChartForSaving_For_Load List
country_name_pulled string
dataGridView1 System.Windows.Forms.DataGridView
default_comfort_zone_of_chart List
deleteNodeDetailList List
deviceIP string
deviceInfoForSavingToXML List
deviceInfoPulledForSaving List
deviceInfoPulledForSaving_For_Load List
deviceInstanceValue string
deviceParam1ID string
deviceParam2ID string
device_param1_info_for_node string
device_param2_info_for_node string
direction_pulled string
enthalpyCalculated double
enthalpyDataGridView double
humDataGridValue double
hum_pulled string
humidityCalculated double
humidityValue double
humidity_sourceGlobal string
indexForWhichChartIsSelected int
indexOfChartSelected int
last_update_pulled string
latValueFromDB double
lat_pulled string
lat_val double
lb_title_display System.Windows.Forms.Label
lineBorderThickness int
lineInfoForSavingToXML List
lineInfoFromXMLfile List
lineInfoPulledForSaving List
lineInfoPulledForSaving_For_Load List
lineName string
lineStatus_ON_OFF int
listComfortZoneDetail List
listForInputFromPsychoDB List
listForInputFromT3000 List
listchartComfortZoneInfoSingle List
lng_val double
longValueFromDB double
long_pulled string
markerSize int
medium_device_or_web_value string
menuStripNodeInfoValues List
menuStripNodeLineInfoValues List
mixCorrespondingNodeValuesList List
mixNodeInfoList List
mixNodeInfoListForSaveConfiguration List
mixNodeList_For_Load List
nodeInfoContainingDevice List
nodeInfoForSavingToXML List
nodeInfoFromXMLfile List
nodeInfoPulledForSaving List
nodeInfoPulledForSaving_For_Load List
object_param1_identifier_type string
object_param2_identifier_type string
pressure_pulled string
previousNodeIndexForLineInput int
selectedBuildingList List
series1 Series
tbLabel string
tbName string
tbSource string
temp_pulled string
temp_pulled_from_web double
temperatureValue double
temperature_sourceGlobal string
temporaryMixNodeList List
wind_speed_pulled string
yCoord int
y_coord_value double

Public Methods

Method Description
AddMixNodeBetweenTwoNodes ( ) : void
AddOrUpdateNewRecord ( string name, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
AsyncMethod1ForPullingData ( ) : System.Threading.Tasks.Task
CalculateHumidityEnthalpy ( double xVal, double yVal ) : void

Calculates humidity , enthalpy and specific volume form temperature and humidity ratio

CalculateSpecificVolume ( double xVal, double yVal ) : double
CalculateYFromXandEnthalpy ( double dbt, double enthalpy ) : double
CalculateYFromXandHumidity ( double xVal, double humidity ) : double
CheckDeviceOnlineOffline ( int deviceID, int Parent_SerialNum ) : bool
CheckLatLongAvailable ( ) : bool
CheckSelectedBuilding ( ) : void
ClearComfortZone ( double Tmin, double Tmax, double Hmin, double Hmax ) : void

Clears the comfortzone that was created based on the min and max temperature and min and max humidity

ClearSeriesInChart ( string seriesName ) : void
ComfortZonePlot ( ) : void
CountNumberOfItem ( string chartId ) : int

This counts the number of items in ...chart_comfrotzone_setting is there any comfortzone item associated with a chart or not

CreateRequireTableIfNotPresent ( string buildingName ) : void
CreateTableForSavingConfiguration ( string filePathWithName ) : void
CursorFunctionForComfortZoneEditMode ( MouseEventArgs e ) : void

This function helps to add the cursor function while single series is selected

DBUpdateMixPointOnNodeValueChange ( string NodeIDOfChangedNode ) : void

Function for making changes in mix nodes value

DataGridView_Show_Data ( ) : void
DeleteAllDataFromTable ( string db_path, string tableName ) : void
DeleteChart ( string chartID ) : void
DeleteChartContent ( string chartID, string chart_resp_nodeID, string chart_resp_lineID ) : void

This helps to delete node,line and device info for node,form db to clear the chart,does not delete chart only content

DeleteChartInfoFromChartDetailTable ( string chartID ) : void
DeleteComfortZoneData ( string id ) : void
DeleteComfortZoneSettingForChart ( string chartID ) : void
DeleteLine ( string lineID ) : void
DeleteLineUsingNodeID ( string nodeID ) : void
DeleteMixNodeInfo ( string chartID ) : void
DeleteNode ( string nodeID ) : void
DeleteNodeDeviceInfo ( string nodeID ) : void
DeleteNodeUsingNodeID ( string nodeID ) : void
DeleteSingleNodeAndAssociatedLinesInDB ( string nodeID ) : void
DisableChart ( string chartID ) : void
EditComfortZoneGraphicalWay ( ) : void

Helps to edit the comfort one when click raises four lines which can be dragged based on temperature along x axis and humidity along y axis

FillLatLongValueAutomatically ( ) : void
FindPathOfBuildingDB ( ) : void
FindPathOfBuildingDBNewVersion ( ) : void
Form1_Load ( object sender, EventArgs e ) : void
Form1_main ( ) : System
GetDataFromWeb ( double latValue, double longValue ) : void

This return the different values such as temperatue ,humidity and other parameters.

GetGUID ( ) : string
HumTempCalcByCoordinate ( ) : void
IndexOfPreviousNodeForLineFunction ( ) : int
InfoForComfortZoneOfChart ( string chartID ) : void

This gets the information of comfortzone such as status , comfortzoneid, chartid etc

InitTimer ( ) : void
InitTimerForDevice ( ) : void
InsertChartComfortzoneInfo ( string chartid, string comfortzone_id ) : void
InsertComfortZoneValue ( string name, double min_temp, double max_temp, double min_hum, double max_hum, Color color ) : void

This function helps to insert the comfort zone setting in the database.

InsertForSavingConfiguration ( string fileWithPath, string chartTableName, string nodeTableName, string lineTableName, string tableNameDevice, string tableForComfortZoneSetting, string tableForCF_Detail, string tableForMixNode ) : void

This helps in insertion of the data to db

InsertForSavingConfiguration_For_Load ( string fileWithPath, string chartTableName, string nodeTableName, string lineTableName, string tableNameDevice, string tableForComfortZoneSetting, string tableForCF_Detail, string tableMixNode ) : void

This helps in insertion of the data to db

InsertIntoDeviceInfoDB ( string nodeid, string deviceinstance, string deviceip, string param1id, string param2id, string param1info, string param2info, string param1type, string param2type ) : void
InsertLineInfoToDB ( string id, string prevNodeId, string nextNodeId, Color lineColor, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesVal, int linethickness ) : void
InsertNodeInfoToDB ( string id, double xVal, double yVal, string source, string name, string label, Color colorValue, string showItemText, int nodeSizeValue, string deviceinstance, string deviceip, string param1id, string param2id, string param1info, string param2info, string param1type, string param2type ) : void
InsertUpdateFromHumidityDeviceSelectionToDBOnlyTempertureUpdate ( string nodeid, string Humidity_deviceInstanceID, string Humidity_ip, string Humidity_param1id, string Humidity_param1info, string Humidity_param1type ) : void

For humidity values

InsertUpdateFromTemperatureDeviceSelectionToDBOnlyTempertureUpdate ( string nodeid, string temp_deviceInstanceID, string temp_ip, string temp_param1id, string temp_param1info, string temp_param1type ) : void
InsertingInputDataOfT3000ToPsychroDB ( string panelID, string inputIndex, string inputDesc, string inputAM, string inputValue, string inputUnit, string inputRange, string inputCalibration, string inputCalSign, string inputFilter, string inputDecon, string inputJumper, string inputLabel ) : void
LoadComfortZone ( string chartid ) : void

load the comfort zone when chart is selected

LoadComfortZoneIfOn ( string chartid ) : void
LoadDataFromFileToDBConfiguration ( ) : void
LoadFunctionForTrash ( ) : void

This function is used by trash section and helps in refreshing everything

LoadNodeAndLineFromDB ( int indexValue ) : void

We need have three parameters

LoadNode_LineAndDeviceInfoFromDB ( int indexValue ) : void

This function is for getting node info , correspoing device info for particular node,and line info this is required for saving in xml formate.

LockAndUnlock ( ) : void

This function helps to lock and unlock the when click is performed in picture box one click = lock and another = unlock

PlotComfortZone ( double Tmin, double Tmax, double Hmin, double Hmax, Color c, string name ) : void
PlotComfortZoneForBackGroundWorker ( double Tmin, double Tmax, double Hmin, double Hmax, Color c, string name ) : void
PlotOuterBorderForComfortZone ( double Tmin, double Tmax, double Hmin, double Hmax, Color c ) : void

it plots outer border lines for editing comfort zone normaly 2 lines vertical and 2 spline horizontal are drawn vertical line represent temperature and horizontal line runs through in humidity line

ProcessResponse ( XmlDocument locationsResponse ) : void
PullChartList ( string buildingName ) : void
PullComfortZoneData ( ) : void
PullDataAndPlot ( ) : void

THIS HELPS To retrive data from psychometric db and plot in db

PullDataFromHardware ( string device_instance_id, string param1id, string param2id, string param1info, string param2info ) : void
PullLongitudeAndLatitude ( string dbName ) : void
PullingDataFromPsychrometricDB ( string tableName ) : void
PullingDataFromT3000BuildingDB ( string databaseFileWithPath ) : void
ReDrawLines ( string id, string prevNodeID, string nextNodeID, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesID, Color c, int thickness_value, string name, int status ) : void
ReDrawLinesForXML ( string id, string prevNodeID, string nextNodeID, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesID, Color c ) : void
ReDrawPoints ( System.Windows.Forms.DataVisualization.Charting.Series s1, double x, double y, Color c, string source_temperature, string source_humidity, string name1, string labelValueText, int marker_size_value ) : void
ReDrawPointsForXML ( System.Windows.Forms.DataVisualization.Charting.Series s1, double x, double y, Color c, string source1, string name1, string label1x, string labelValueText ) : void
ReDrawingLineAndNode ( ) : void
ReDrawingLineAndNodeForLoadXML ( ) : void
ReadDataForSavingConfiguration ( string path, string chartTableName, string nodeTableName, string lineTableName, string tableNameDevice, string tableForComfortZoneSetting, string tableForCF_Detail, string mixnodeInfoTable ) : void

Read data form db to save as SQLite file

ReadDataForSavingConfiguration_For_Load ( string DB_String_path, string chartTableName, string nodeTableName, string lineTableName, string tableNameDevice, string tableForComfortZoneSetting, string tableForCF_Detail, string tableForMixNode ) : void
ReadDataFromDevice ( int deviceID, uint temp_panID, uint hum_panID, string param1_identifier_type, string param2_identifier_type ) : void

helps to pull the data from the hardware of the device

ReadDataFromDeviceForHumidity ( int deviceID, uint hum_panID, string param2_identifier_type ) : void
ReadDataFromDeviceForTemperature ( int deviceID, uint temp_panID, string param1_identifier_type ) : void
ReadDeviceInfoForNode ( string nodeID1 ) : void

This get the device info values form the database

ReadNodeAndLineDetails ( string chart_respective_node_id, string chart_respective_line_id, string buildingName ) : void

Getting the values of the database on the chartID

ReadNodeInfoToDelete ( string chartNodeID ) : void

help in reading all the node info for a particular chart

RefreshDataFromDeviceAndWeb ( ) : void
RefreshGraph ( ) : void
RefreshingEverythingChartAndContent ( object sender ) : void
ReloadComfortZoneForBackGroundWorker ( ) : void
ResettingLines ( ) : void
SQLiteSaveConfigurationSetting ( ) : void

this fxn helps to create a sqlite file and write it value to db

SaveConfiguration ( ) : void
SaveConfigurationForBuildingSetting ( ) : void

New setting for saving into xml file formate.

SetNode ( string temperature_sourceVal, string humidity_sourceVal, string name, Color c1, int markerSize1, string lineNameVal, int lineStatusVal, int airflow ) : void
SetNodeForWeb ( string source, string name, string label, Color c1, string comboboxItemText1, int marker_size ) : void
SetNodeWithValues ( string source, string name, string label, Color c1, string comboboxItemText1, double temperature, double humidity ) : void
SetNodeWithValuesXYCoord ( string source, string name, string label, Color c1, string comboboxItemText1, double xvalue, double yvalue ) : void
ShowOrHideForComfortZone ( ) : void
StartHardwareScan ( ) : void
Test ( string path ) : void
UniqueMixName ( ) : string
UpdateComfortZoneValue ( string id, string name, double min_temp, double max_temp, double min_hum, double max_hum, Color color ) : void
UpdateLineInfoToDB ( string id, string prevNodeId, string nextNodeId, Color lineColor, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesVal, int lineThicknessValue, string line_name, int line_status ) : void

This value is edited just now bbk305

UpdateLineInfoToDBWithouSeriesID ( string id, string prevNodeId, string nextNodeId, Color lineColor, int lineThicknessValue ) : void
UpdateMixNodeValuesToDB ( string NodeID, double xValue, double yValue, int AirFlowValue ) : void
UpdateMixPointOnNodeMovement ( ) : void

Function update the mix values and helps in movement when the mouse movement is done related values Function helps in updating the mix point x and y value when other node are moved

UpdateNewDataFromDGV ( string name, string chartID ) : void
UpdateNodeInfoToDB ( string id, double xVal, double yVal, string source, string name, string label, Color colorValue, string showItemText, int nodeSizeValue ) : void

This information updates the node information

UpdateNodeInfoToDBForHumidityFromHardware ( string id, double yVal ) : void
UpdateNodeInfoToDBForTemeperatureFromHardware ( string id, double xVal ) : void
UpdateNodeInfoToDBFromTemperatureDeviceSource ( string id, double xVal, double yVal, string TemperatureSource, string HumiditySource, string name, Color colorValue, int airFlow, int nodeSizeValue ) : void

Updates the node info in db using Temperature Device input value

addCursorFunctionForLineDisconnectConnect ( MouseEventArgs e ) : void

This adds cursor function as dotted cursor which need to be redrawn constantly it updates the value of the dotted cursor

addTemporarySeries ( ) : void
add_t_pg ( ) : void
chart1RefreshCustom ( ) : void
checkForDataInSqlite ( ) : bool
dataGridView1_CellClick ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
elevationProcess ( XmlDocument locationsResponse ) : double
enthalpyHumidityCalculatorForXYvalue ( double xVal, double yVal ) : void
heat_map_button_click ( int index_selected_heat_map, System.DateTime from1, System.DateTime to1 ) : void
insertNewDataFromDGV ( string name ) : void
insertOrUpdateComfortChartSetting ( string chartID, string comfortzone_ID ) : void
loadDataFromIndependentFileAndRefreshData ( ) : void

This function load the data form s3db file to our project

loadXMLDoc ( ) : void
plot_by_DBT_Enthalpy ( double dbt, double enthalpy ) : int
plot_by_DBT_HR ( double DBT1, double HR ) : int
plot_by_DBT_HR_heat_map ( double DBT, double HR ) : int
plot_by_DBT_HR_process_diagram ( double DBT, double HR ) : int
plot_new_graph ( ) : void
plot_on_graph_values ( double dbt, double hr, double xval, double yval ) : void
plot_on_graph_values_heat_map ( double dbt, double hr, double xval, double yval ) : void
plot_on_graph_values_process_diagram ( double xval, double yval ) : void
printHeatMap ( ) : void
pullComfortZoneInfoSingle ( string comfortzoneid ) : void

Pulls the comfortzone parameters such as minTemp,maxTemp,minHum ,maxHum and colorValue

saveAsImageHeatMap ( ) : void
timer1_Tick_For_Device ( object sender, EventArgs e ) : void
update_comfort_zone_for_chart ( string chartid, string comfortzone_id, string status ) : void

updates the chart info for comfort zone

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CalculateHumidityFromXandYCoordinate ( double xVal, double yVal ) : double
ClearChart ( ) : void
ComfortZoneBorderLineDetectForEdit ( MouseEventArgs e ) : void

This function helps to detect the border line when comfort zone is in edit mode so that we can create new comfort zone by modifying it graphically

IndicatorLineForNodeMovement ( int idSelected, double x11, double y11, double x22, double y22 ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LineDetectOnMouseMove ( MouseEventArgs e ) : void

Detects the line which connects the two nodes when hovered over it

NodeSelectionAndRelease ( MouseEventArgs e ) : void
ProcessDiagramMouseMoveFunction ( MouseEventArgs e ) : void
PullLocationInformation ( ) : void
UpdateDataConstantly ( ) : void
addMixNodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
airHandlerToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
airHandlerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
backgroundWorker1_DoWork ( object sender, DoWorkEventArgs e ) : void
backgroundWorker1_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
bg_DoWork ( object sender, DoWorkEventArgs e ) : void
bg_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
buildingChartConfigurationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
buildingChartToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
buildingChartToolStripMenuItem_Click ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button1_Click_1 ( object sender, EventArgs e ) : void
button2_Click_1 ( object sender, EventArgs e ) : void
button5_Click ( object sender, EventArgs e ) : void
button7_Click ( object sender, EventArgs e ) : void
button9_Click ( object sender, EventArgs e ) : void
chart1_MouseClick ( object sender, MouseEventArgs e ) : void
chart1_MouseDown ( object sender, MouseEventArgs e ) : void
chart1_MouseMove ( object sender, MouseEventArgs e ) : void
clearChartToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dataGridView1_CellBeginEdit ( object sender, System.Windows.Forms.DataGridViewCellCancelEventArgs e ) : void
dataGridView1_CellDoubleClick ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
dataGridView1_CellEndEdit ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
dataGridView1_CellEnter ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
dataGridView1_CellMouseClick ( object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
dataGridView1_SelectionChanged_1 ( object sender, EventArgs e ) : void
deleteNodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
deleteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
deleteToolStripMenuItem_Click_1 ( object sender, EventArgs e ) : void
disconnectLineFromAToolStripMenuItem_Click ( object sender, EventArgs e ) : void
disconnectLineFromBToolStripMenuItem_Click ( object sender, EventArgs e ) : void
disconnectLineToolStripMenuItem_Click ( object sender, EventArgs e ) : void
disconnectLineToolStripMenuItem_Click_1 ( object sender, EventArgs e ) : void
editComfortzoneToolStripMenuItem_Click ( object sender, EventArgs e ) : void
editNodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
enableToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exportDataToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
exportDataToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exportDataToolStripMenuItem_Click_1 ( object sender, EventArgs e ) : void
fillDataGridView ( ) : void

it helps to fill the datagridview with its item form db

get_stored_data_about_building ( ) : void

it helps to pull the information of the building stored

helpPsychometricChartToolStripMenuItem_Click ( object sender, EventArgs e ) : void
historyPlotToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
historyPlotToolStripMenuItem_Click ( object sender, EventArgs e ) : void
humiditySensorCalibrationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
insertNodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
insertNodeToolStripMenuItem_Click_1 ( object sender, EventArgs e ) : void
insertNodeWithValuesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
insert_in_db ( string q ) : void
label21_MouseHover ( object sender, EventArgs e ) : void
label23_MouseHover ( object sender, EventArgs e ) : void
label24_MouseHover ( object sender, EventArgs e ) : void
label25_MouseHover ( object sender, EventArgs e ) : void
label26_MouseHover ( object sender, EventArgs e ) : void
label2_DBT_units_MouseHover ( object sender, EventArgs e ) : void
label3_Sp_H_unit_MouseHover ( object sender, EventArgs e ) : void
label4_RH_unit_MouseHover ( object sender, EventArgs e ) : void
label5_H_unit_MouseHover ( object sender, EventArgs e ) : void
label6_DP_Unit_MouseHover ( object sender, EventArgs e ) : void
loadConfigurationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
marker ( ) : void
marker_for_same_min_max_value ( ) : void
nodeAToolStripMenuItem_Click ( object sender, EventArgs e ) : void
nodeBToolStripMenuItem_Click ( object sender, EventArgs e ) : void
nodeGridViewToolStripMenuItem_Click ( object sender, EventArgs e ) : void
nodeViewToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pb_lock_unlock_Click ( object sender, EventArgs e ) : void
printToolStripMenuItem_Click ( object sender, EventArgs e ) : void
processDiagramToolStripMenuItem_Click ( object sender, EventArgs e ) : void
psychometricCalculatorToolStripMenuItem_Click ( object sender, EventArgs e ) : void
psychrometricCalculatorToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pull_data_online ( string country1, string state1, string city1, string street1 ) : void
quickNodeInsertToolStripMenuItem_Click ( object sender, EventArgs e ) : void
rb_OFF_CheckedChanged ( object sender, EventArgs e ) : void
rb_ON_CheckedChanged ( object sender, EventArgs e ) : void
realTimeMode_Click ( object sender, EventArgs e ) : void
realTimePlottingToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveConfigurationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
settingsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
showComfortZoneToolStripMenuItem_Click ( object sender, EventArgs e ) : void
simulationMode_Click ( object sender, EventArgs e ) : void
sqlite_database_creation ( ) : void
timer1_Tick ( object sender, EventArgs e ) : void
trashBoxToolStripMenuItem_Click ( object sender, EventArgs e ) : void
trendLogToolStripMenuItem_Click ( object sender, EventArgs e ) : void
weatherServicesToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
weatherServicesToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

AddMixNodeBetweenTwoNodes() public method

public AddMixNodeBetweenTwoNodes ( ) : void
return void

AddOrUpdateNewRecord() public method

public AddOrUpdateNewRecord ( string name, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
name string
e System.Windows.Forms.DataGridViewCellEventArgs
return void

AsyncMethod1ForPullingData() public method

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

CalculateHumidityEnthalpy() public method

Calculates humidity , enthalpy and specific volume form temperature and humidity ratio
public CalculateHumidityEnthalpy ( double xVal, double yVal ) : void
xVal double Temperature(deg cel)
yVal double Humidity Ratio(unitless)
return void

CalculateSpecificVolume() public method

public CalculateSpecificVolume ( double xVal, double yVal ) : double
xVal double
yVal double
return double

CalculateYFromXandEnthalpy() public method

public CalculateYFromXandEnthalpy ( double dbt, double enthalpy ) : double
dbt double
enthalpy double
return double

CalculateYFromXandHumidity() public method

public CalculateYFromXandHumidity ( double xVal, double humidity ) : double
xVal double
humidity double
return double

CheckDeviceOnlineOffline() public method

public CheckDeviceOnlineOffline ( int deviceID, int Parent_SerialNum ) : bool
deviceID int
Parent_SerialNum int
return bool

CheckLatLongAvailable() public method

public CheckLatLongAvailable ( ) : bool
return bool

CheckSelectedBuilding() public method

public CheckSelectedBuilding ( ) : void
return void

ClearComfortZone() public method

Clears the comfortzone that was created based on the min and max temperature and min and max humidity
public ClearComfortZone ( double Tmin, double Tmax, double Hmin, double Hmax ) : void
Tmin double minimum temperature
Tmax double maximum temperature
Hmin double minimum humidity
Hmax double maximum humidity
return void

ClearSeriesInChart() public method

public ClearSeriesInChart ( string seriesName ) : void
seriesName string
return void

ComfortZonePlot() public method

public ComfortZonePlot ( ) : void
return void

CountNumberOfItem() public method

This counts the number of items in ...chart_comfrotzone_setting is there any comfortzone item associated with a chart or not
public CountNumberOfItem ( string chartId ) : int
chartId string
return int

CreateRequireTableIfNotPresent() public method

public CreateRequireTableIfNotPresent ( string buildingName ) : void
buildingName string
return void

CreateTableForSavingConfiguration() public method

public CreateTableForSavingConfiguration ( string filePathWithName ) : void
filePathWithName string
return void

CursorFunctionForComfortZoneEditMode() public method

This function helps to add the cursor function while single series is selected
public CursorFunctionForComfortZoneEditMode ( MouseEventArgs e ) : void
e MouseEventArgs Mouse Event arguments selected
return void

DBUpdateMixPointOnNodeValueChange() public method

Function for making changes in mix nodes value
public DBUpdateMixPointOnNodeValueChange ( string NodeIDOfChangedNode ) : void
NodeIDOfChangedNode string NodeID of the node changed
return void

DataGridView_Show_Data() public method

public DataGridView_Show_Data ( ) : void
return void

DeleteAllDataFromTable() public method

public DeleteAllDataFromTable ( string db_path, string tableName ) : void
db_path string
tableName string
return void

DeleteChart() public method

public DeleteChart ( string chartID ) : void
chartID string
return void

DeleteChartContent() public method

This helps to delete node,line and device info for node,form db to clear the chart,does not delete chart only content
public DeleteChartContent ( string chartID, string chart_resp_nodeID, string chart_resp_lineID ) : void
chartID string
chart_resp_nodeID string
chart_resp_lineID string
return void

DeleteChartInfoFromChartDetailTable() public method

public DeleteChartInfoFromChartDetailTable ( string chartID ) : void
chartID string
return void

DeleteComfortZoneData() public method

public DeleteComfortZoneData ( string id ) : void
id string
return void

DeleteComfortZoneSettingForChart() public method

public DeleteComfortZoneSettingForChart ( string chartID ) : void
chartID string
return void

DeleteLine() public method

public DeleteLine ( string lineID ) : void
lineID string
return void

DeleteLineUsingNodeID() public method

public DeleteLineUsingNodeID ( string nodeID ) : void
nodeID string
return void

DeleteMixNodeInfo() public method

public DeleteMixNodeInfo ( string chartID ) : void
chartID string
return void

DeleteNode() public method

public DeleteNode ( string nodeID ) : void
nodeID string
return void

DeleteNodeDeviceInfo() public method

public DeleteNodeDeviceInfo ( string nodeID ) : void
nodeID string
return void

DeleteNodeUsingNodeID() public method

public DeleteNodeUsingNodeID ( string nodeID ) : void
nodeID string
return void

DeleteSingleNodeAndAssociatedLinesInDB() public method

public DeleteSingleNodeAndAssociatedLinesInDB ( string nodeID ) : void
nodeID string
return void

DisableChart() public method

public DisableChart ( string chartID ) : void
chartID string
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

EditComfortZoneGraphicalWay() public method

Helps to edit the comfort one when click raises four lines which can be dragged based on temperature along x axis and humidity along y axis
public EditComfortZoneGraphicalWay ( ) : void
return void

FillLatLongValueAutomatically() public method

public FillLatLongValueAutomatically ( ) : void
return void

FindPathOfBuildingDB() public method

public FindPathOfBuildingDB ( ) : void
return void

FindPathOfBuildingDBNewVersion() public method

public FindPathOfBuildingDBNewVersion ( ) : void
return void

Form1_Load() public method

public Form1_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Form1_main() public method

public Form1_main ( ) : System
return System

GetDataFromWeb() public method

This return the different values such as temperatue ,humidity and other parameters.
public GetDataFromWeb ( double latValue, double longValue ) : void
latValue double Latitude
longValue double Longitude
return void

GetGUID() public method

public GetGUID ( ) : string
return string

HumTempCalcByCoordinate() public method

public HumTempCalcByCoordinate ( ) : void
return void

IndexOfPreviousNodeForLineFunction() public method

public IndexOfPreviousNodeForLineFunction ( ) : int
return int

InfoForComfortZoneOfChart() public method

This gets the information of comfortzone such as status , comfortzoneid, chartid etc
public InfoForComfortZoneOfChart ( string chartID ) : void
chartID string
return void

InitTimer() public method

public InitTimer ( ) : void
return void

InitTimerForDevice() public method

public InitTimerForDevice ( ) : void
return void

InsertChartComfortzoneInfo() public method

public InsertChartComfortzoneInfo ( string chartid, string comfortzone_id ) : void
chartid string
comfortzone_id string
return void

InsertComfortZoneValue() public method

This function helps to insert the comfort zone setting in the database.
public InsertComfortZoneValue ( string name, double min_temp, double max_temp, double min_hum, double max_hum, Color color ) : void
name string name of the comfort zone
min_temp double min temperature
max_temp double max temperature
min_hum double min humidity
max_hum double max humidity
color Color color value
return void

InsertForSavingConfiguration() public method

This helps in insertion of the data to db
public InsertForSavingConfiguration ( string fileWithPath, string chartTableName, string nodeTableName, string lineTableName, string tableNameDevice, string tableForComfortZoneSetting, string tableForCF_Detail, string tableForMixNode ) : void
fileWithPath string file name with path
chartTableName string
nodeTableName string
lineTableName string
tableNameDevice string
tableForComfortZoneSetting string
tableForCF_Detail string
tableForMixNode string
return void

InsertForSavingConfiguration_For_Load() public method

This helps in insertion of the data to db
public InsertForSavingConfiguration_For_Load ( string fileWithPath, string chartTableName, string nodeTableName, string lineTableName, string tableNameDevice, string tableForComfortZoneSetting, string tableForCF_Detail, string tableMixNode ) : void
fileWithPath string file name with path
chartTableName string
nodeTableName string
lineTableName string
tableNameDevice string
tableForComfortZoneSetting string
tableForCF_Detail string
tableMixNode string
return void

InsertIntoDeviceInfoDB() public method

public InsertIntoDeviceInfoDB ( string nodeid, string deviceinstance, string deviceip, string param1id, string param2id, string param1info, string param2info, string param1type, string param2type ) : void
nodeid string
deviceinstance string
deviceip string
param1id string
param2id string
param1info string
param2info string
param1type string
param2type string
return void

InsertLineInfoToDB() public method

public InsertLineInfoToDB ( string id, string prevNodeId, string nextNodeId, Color lineColor, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesVal, int linethickness ) : void
id string
prevNodeId string
nextNodeId string
lineColor Color
lineSeriesVal System.Windows.Forms.DataVisualization.Charting.Series
linethickness int
return void

InsertNodeInfoToDB() public method

public InsertNodeInfoToDB ( string id, double xVal, double yVal, string source, string name, string label, Color colorValue, string showItemText, int nodeSizeValue, string deviceinstance, string deviceip, string param1id, string param2id, string param1info, string param2info, string param1type, string param2type ) : void
id string
xVal double
yVal double
source string
name string
label string
colorValue Color
showItemText string
nodeSizeValue int
deviceinstance string
deviceip string
param1id string
param2id string
param1info string
param2info string
param1type string
param2type string
return void

InsertUpdateFromHumidityDeviceSelectionToDBOnlyTempertureUpdate() public method

For humidity values
public InsertUpdateFromHumidityDeviceSelectionToDBOnlyTempertureUpdate ( string nodeid, string Humidity_deviceInstanceID, string Humidity_ip, string Humidity_param1id, string Humidity_param1info, string Humidity_param1type ) : void
nodeid string
Humidity_deviceInstanceID string
Humidity_ip string
Humidity_param1id string
Humidity_param1info string
Humidity_param1type string
return void

InsertUpdateFromTemperatureDeviceSelectionToDBOnlyTempertureUpdate() public method

public InsertUpdateFromTemperatureDeviceSelectionToDBOnlyTempertureUpdate ( string nodeid, string temp_deviceInstanceID, string temp_ip, string temp_param1id, string temp_param1info, string temp_param1type ) : void
nodeid string
temp_deviceInstanceID string
temp_ip string
temp_param1id string
temp_param1info string
temp_param1type string
return void

InsertingInputDataOfT3000ToPsychroDB() public method

public InsertingInputDataOfT3000ToPsychroDB ( string panelID, string inputIndex, string inputDesc, string inputAM, string inputValue, string inputUnit, string inputRange, string inputCalibration, string inputCalSign, string inputFilter, string inputDecon, string inputJumper, string inputLabel ) : void
panelID string
inputIndex string
inputDesc string
inputAM string
inputValue string
inputUnit string
inputRange string
inputCalibration string
inputCalSign string
inputFilter string
inputDecon string
inputJumper string
inputLabel string
return void

LoadComfortZone() public method

load the comfort zone when chart is selected
public LoadComfortZone ( string chartid ) : void
chartid string
return void

LoadComfortZoneIfOn() public method

public LoadComfortZoneIfOn ( string chartid ) : void
chartid string
return void

LoadDataFromFileToDBConfiguration() public method

public LoadDataFromFileToDBConfiguration ( ) : void
return void

LoadFunctionForTrash() public method

This function is used by trash section and helps in refreshing everything
public LoadFunctionForTrash ( ) : void
return void

LoadNodeAndLineFromDB() public method

We need have three parameters
public LoadNodeAndLineFromDB ( int indexValue ) : void
indexValue int
return void

LoadNode_LineAndDeviceInfoFromDB() public method

This function is for getting node info , correspoing device info for particular node,and line info this is required for saving in xml formate.
public LoadNode_LineAndDeviceInfoFromDB ( int indexValue ) : void
indexValue int index of the chart selected
return void

LockAndUnlock() public method

This function helps to lock and unlock the when click is performed in picture box one click = lock and another = unlock
public LockAndUnlock ( ) : void
return void

PlotComfortZone() public method

public PlotComfortZone ( double Tmin, double Tmax, double Hmin, double Hmax, Color c, string name ) : void
Tmin double
Tmax double
Hmin double
Hmax double
c Color
name string
return void

PlotComfortZoneForBackGroundWorker() public method

public PlotComfortZoneForBackGroundWorker ( double Tmin, double Tmax, double Hmin, double Hmax, Color c, string name ) : void
Tmin double
Tmax double
Hmin double
Hmax double
c Color
name string
return void

PlotOuterBorderForComfortZone() public method

it plots outer border lines for editing comfort zone normaly 2 lines vertical and 2 spline horizontal are drawn vertical line represent temperature and horizontal line runs through in humidity line
public PlotOuterBorderForComfortZone ( double Tmin, double Tmax, double Hmin, double Hmax, Color c ) : void
Tmin double minimum temperature in deg Cel
Tmax double maximum temperature in Deg Cel
Hmin double minimum humidity in % like 30%
Hmax double maximum humidity in % like 40%
c Color color value
return void

ProcessResponse() public method

public ProcessResponse ( XmlDocument locationsResponse ) : void
locationsResponse System.Xml.XmlDocument
return void

PullChartList() public method

public PullChartList ( string buildingName ) : void
buildingName string
return void

PullComfortZoneData() public method

public PullComfortZoneData ( ) : void
return void

PullDataAndPlot() public method

THIS HELPS To retrive data from psychometric db and plot in db
public PullDataAndPlot ( ) : void
return void

PullDataFromHardware() public method

public PullDataFromHardware ( string device_instance_id, string param1id, string param2id, string param1info, string param2info ) : void
device_instance_id string
param1id string
param2id string
param1info string
param2info string
return void

PullLongitudeAndLatitude() public method

public PullLongitudeAndLatitude ( string dbName ) : void
dbName string
return void

PullingDataFromPsychrometricDB() public method

public PullingDataFromPsychrometricDB ( string tableName ) : void
tableName string
return void

PullingDataFromT3000BuildingDB() public method

public PullingDataFromT3000BuildingDB ( string databaseFileWithPath ) : void
databaseFileWithPath string
return void

ReDrawLines() public method

public ReDrawLines ( string id, string prevNodeID, string nextNodeID, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesID, Color c, int thickness_value, string name, int status ) : void
id string
prevNodeID string
nextNodeID string
lineSeriesID System.Windows.Forms.DataVisualization.Charting.Series
c Color
thickness_value int
name string
status int
return void

ReDrawLinesForXML() public method

public ReDrawLinesForXML ( string id, string prevNodeID, string nextNodeID, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesID, Color c ) : void
id string
prevNodeID string
nextNodeID string
lineSeriesID System.Windows.Forms.DataVisualization.Charting.Series
c Color
return void

ReDrawPoints() public method

public ReDrawPoints ( System.Windows.Forms.DataVisualization.Charting.Series s1, double x, double y, Color c, string source_temperature, string source_humidity, string name1, string labelValueText, int marker_size_value ) : void
s1 System.Windows.Forms.DataVisualization.Charting.Series
x double
y double
c Color
source_temperature string
source_humidity string
name1 string
labelValueText string
marker_size_value int
return void

ReDrawPointsForXML() public method

public ReDrawPointsForXML ( System.Windows.Forms.DataVisualization.Charting.Series s1, double x, double y, Color c, string source1, string name1, string label1x, string labelValueText ) : void
s1 System.Windows.Forms.DataVisualization.Charting.Series
x double
y double
c Color
source1 string
name1 string
label1x string
labelValueText string
return void

ReDrawingLineAndNode() public method

public ReDrawingLineAndNode ( ) : void
return void

ReDrawingLineAndNodeForLoadXML() public method

public ReDrawingLineAndNodeForLoadXML ( ) : void
return void

ReadDataForSavingConfiguration() public method

Read data form db to save as SQLite file
public ReadDataForSavingConfiguration ( string path, string chartTableName, string nodeTableName, string lineTableName, string tableNameDevice, string tableForComfortZoneSetting, string tableForCF_Detail, string mixnodeInfoTable ) : void
path string
chartTableName string
nodeTableName string
lineTableName string
tableNameDevice string
tableForComfortZoneSetting string
tableForCF_Detail string
mixnodeInfoTable string
return void

ReadDataForSavingConfiguration_For_Load() public method

public ReadDataForSavingConfiguration_For_Load ( string DB_String_path, string chartTableName, string nodeTableName, string lineTableName, string tableNameDevice, string tableForComfortZoneSetting, string tableForCF_Detail, string tableForMixNode ) : void
DB_String_path string
chartTableName string
nodeTableName string
lineTableName string
tableNameDevice string
tableForComfortZoneSetting string
tableForCF_Detail string
tableForMixNode string
return void

ReadDataFromDevice() public method

helps to pull the data from the hardware of the device
public ReadDataFromDevice ( int deviceID, uint temp_panID, uint hum_panID, string param1_identifier_type, string param2_identifier_type ) : void
deviceID int
temp_panID uint
hum_panID uint
param1_identifier_type string
param2_identifier_type string
return void

ReadDataFromDeviceForHumidity() public method

public ReadDataFromDeviceForHumidity ( int deviceID, uint hum_panID, string param2_identifier_type ) : void
deviceID int
hum_panID uint
param2_identifier_type string
return void

ReadDataFromDeviceForTemperature() public method

public ReadDataFromDeviceForTemperature ( int deviceID, uint temp_panID, string param1_identifier_type ) : void
deviceID int
temp_panID uint
param1_identifier_type string
return void

ReadDeviceInfoForNode() public method

This get the device info values form the database
public ReadDeviceInfoForNode ( string nodeID1 ) : void
nodeID1 string the node id selected to search for
return void

ReadNodeAndLineDetails() public method

Getting the values of the database on the chartID
public ReadNodeAndLineDetails ( string chart_respective_node_id, string chart_respective_line_id, string buildingName ) : void
chart_respective_node_id string
chart_respective_line_id string
buildingName string
return void

ReadNodeInfoToDelete() public method

help in reading all the node info for a particular chart
public ReadNodeInfoToDelete ( string chartNodeID ) : void
chartNodeID string
return void

RefreshDataFromDeviceAndWeb() public method

public RefreshDataFromDeviceAndWeb ( ) : void
return void

RefreshGraph() public method

public RefreshGraph ( ) : void
return void

RefreshingEverythingChartAndContent() public method

public RefreshingEverythingChartAndContent ( object sender ) : void
sender object
return void

ReloadComfortZoneForBackGroundWorker() public method

public ReloadComfortZoneForBackGroundWorker ( ) : void
return void

ResettingLines() public method

public ResettingLines ( ) : void
return void

SQLiteSaveConfigurationSetting() public method

this fxn helps to create a sqlite file and write it value to db
public SQLiteSaveConfigurationSetting ( ) : void
return void

SaveConfiguration() public method

public SaveConfiguration ( ) : void
return void

SaveConfigurationForBuildingSetting() public method

New setting for saving into xml file formate.
public SaveConfigurationForBuildingSetting ( ) : void
return void

SetNode() public method

public SetNode ( string temperature_sourceVal, string humidity_sourceVal, string name, Color c1, int markerSize1, string lineNameVal, int lineStatusVal, int airflow ) : void
temperature_sourceVal string
humidity_sourceVal string
name string
c1 Color
markerSize1 int
lineNameVal string
lineStatusVal int
airflow int
return void

SetNodeForWeb() public method

public SetNodeForWeb ( string source, string name, string label, Color c1, string comboboxItemText1, int marker_size ) : void
source string
name string
label string
c1 Color
comboboxItemText1 string
marker_size int
return void

SetNodeWithValues() public method

public SetNodeWithValues ( string source, string name, string label, Color c1, string comboboxItemText1, double temperature, double humidity ) : void
source string
name string
label string
c1 Color
comboboxItemText1 string
temperature double
humidity double
return void

SetNodeWithValuesXYCoord() public method

public SetNodeWithValuesXYCoord ( string source, string name, string label, Color c1, string comboboxItemText1, double xvalue, double yvalue ) : void
source string
name string
label string
c1 Color
comboboxItemText1 string
xvalue double
yvalue double
return void

ShowOrHideForComfortZone() public method

public ShowOrHideForComfortZone ( ) : void
return void

StartHardwareScan() public method

public StartHardwareScan ( ) : void
return void

Test() public method

public Test ( string path ) : void
path string
return void

UniqueMixName() public method

public UniqueMixName ( ) : string
return string

UpdateComfortZoneValue() public method

public UpdateComfortZoneValue ( string id, string name, double min_temp, double max_temp, double min_hum, double max_hum, Color color ) : void
id string
name string
min_temp double
max_temp double
min_hum double
max_hum double
color Color
return void

UpdateLineInfoToDB() public method

This value is edited just now bbk305
public UpdateLineInfoToDB ( string id, string prevNodeId, string nextNodeId, Color lineColor, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesVal, int lineThicknessValue, string line_name, int line_status ) : void
id string
prevNodeId string
nextNodeId string
lineColor Color
lineSeriesVal System.Windows.Forms.DataVisualization.Charting.Series
lineThicknessValue int
line_name string
line_status int
return void

UpdateLineInfoToDBWithouSeriesID() public method

public UpdateLineInfoToDBWithouSeriesID ( string id, string prevNodeId, string nextNodeId, Color lineColor, int lineThicknessValue ) : void
id string
prevNodeId string
nextNodeId string
lineColor Color
lineThicknessValue int
return void

UpdateMixNodeValuesToDB() public method

public UpdateMixNodeValuesToDB ( string NodeID, double xValue, double yValue, int AirFlowValue ) : void
NodeID string
xValue double
yValue double
AirFlowValue int
return void

UpdateMixPointOnNodeMovement() public method

Function update the mix values and helps in movement when the mouse movement is done related values Function helps in updating the mix point x and y value when other node are moved
public UpdateMixPointOnNodeMovement ( ) : void
return void

UpdateNewDataFromDGV() public method

public UpdateNewDataFromDGV ( string name, string chartID ) : void
name string
chartID string
return void

UpdateNodeInfoToDB() public method

This information updates the node information
public UpdateNodeInfoToDB ( string id, double xVal, double yVal, string source, string name, string label, Color colorValue, string showItemText, int nodeSizeValue ) : void
id string Nodeid
xVal double x coordinate
yVal double y coordinate
source string source of node
name string name of the node
label string label of node
colorValue Color color value of node
showItemText string which text to show
nodeSizeValue int node size value
return void

UpdateNodeInfoToDBForHumidityFromHardware() public method

public UpdateNodeInfoToDBForHumidityFromHardware ( string id, double yVal ) : void
id string
yVal double
return void

UpdateNodeInfoToDBForTemeperatureFromHardware() public method

public UpdateNodeInfoToDBForTemeperatureFromHardware ( string id, double xVal ) : void
id string
xVal double
return void

UpdateNodeInfoToDBFromTemperatureDeviceSource() public method

Updates the node info in db using Temperature Device input value
public UpdateNodeInfoToDBFromTemperatureDeviceSource ( string id, double xVal, double yVal, string TemperatureSource, string HumiditySource, string name, Color colorValue, int airFlow, int nodeSizeValue ) : void
id string
xVal double
yVal double
TemperatureSource string
HumiditySource string
name string
colorValue Color
airFlow int
nodeSizeValue int
return void

addCursorFunctionForLineDisconnectConnect() public method

This adds cursor function as dotted cursor which need to be redrawn constantly it updates the value of the dotted cursor
public addCursorFunctionForLineDisconnectConnect ( MouseEventArgs e ) : void
e MouseEventArgs Mouse event argument while performing onMouseMove
return void

addTemporarySeries() public method

public addTemporarySeries ( ) : void
return void

add_t_pg() public method

public add_t_pg ( ) : void
return void

chart1RefreshCustom() public method

public chart1RefreshCustom ( ) : void
return void

checkForDataInSqlite() public method

public checkForDataInSqlite ( ) : bool
return bool

dataGridView1_CellClick() public method

public dataGridView1_CellClick ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
sender object
e System.Windows.Forms.DataGridViewCellEventArgs
return void

elevationProcess() public method

public elevationProcess ( XmlDocument locationsResponse ) : double
locationsResponse System.Xml.XmlDocument
return double

enthalpyHumidityCalculatorForXYvalue() public method

public enthalpyHumidityCalculatorForXYvalue ( double xVal, double yVal ) : void
xVal double
yVal double
return void

heat_map_button_click() public method

public heat_map_button_click ( int index_selected_heat_map, System.DateTime from1, System.DateTime to1 ) : void
index_selected_heat_map int
from1 System.DateTime
to1 System.DateTime
return void

insertNewDataFromDGV() public method

public insertNewDataFromDGV ( string name ) : void
name string
return void

insertOrUpdateComfortChartSetting() public method

public insertOrUpdateComfortChartSetting ( string chartID, string comfortzone_ID ) : void
chartID string
comfortzone_ID string
return void

loadDataFromIndependentFileAndRefreshData() public method

This function load the data form s3db file to our project
public loadDataFromIndependentFileAndRefreshData ( ) : void
return void

loadXMLDoc() public method

public loadXMLDoc ( ) : void
return void

plot_by_DBT_Enthalpy() public method

public plot_by_DBT_Enthalpy ( double dbt, double enthalpy ) : int
dbt double
enthalpy double
return int

plot_by_DBT_HR() public method

public plot_by_DBT_HR ( double DBT1, double HR ) : int
DBT1 double
HR double
return int

plot_by_DBT_HR_heat_map() public method

public plot_by_DBT_HR_heat_map ( double DBT, double HR ) : int
DBT double
HR double
return int

plot_by_DBT_HR_process_diagram() public method

public plot_by_DBT_HR_process_diagram ( double DBT, double HR ) : int
DBT double
HR double
return int

plot_new_graph() public method

public plot_new_graph ( ) : void
return void

plot_on_graph_values() public method

public plot_on_graph_values ( double dbt, double hr, double xval, double yval ) : void
dbt double
hr double
xval double
yval double
return void

plot_on_graph_values_heat_map() public method

public plot_on_graph_values_heat_map ( double dbt, double hr, double xval, double yval ) : void
dbt double
hr double
xval double
yval double
return void

plot_on_graph_values_process_diagram() public method

public plot_on_graph_values_process_diagram ( double xval, double yval ) : void
xval double
yval double
return void

printHeatMap() public method

public printHeatMap ( ) : void
return void

pullComfortZoneInfoSingle() public method

Pulls the comfortzone parameters such as minTemp,maxTemp,minHum ,maxHum and colorValue
public pullComfortZoneInfoSingle ( string comfortzoneid ) : void
comfortzoneid string
return void

saveAsImageHeatMap() public method

public saveAsImageHeatMap ( ) : void
return void

timer1_Tick_For_Device() public method

public timer1_Tick_For_Device ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

update_comfort_zone_for_chart() public method

updates the chart info for comfort zone
public update_comfort_zone_for_chart ( string chartid, string comfortzone_id, string status ) : void
chartid string id of chart selected
comfortzone_id string comfort zone id for each chart
status string
return void

Property Details

AirPressureFromDB public property

This returns air pressure in pascal (pa)
public double AirPressureFromDB
return double

BuildingSelected public property

public List BuildingSelected
return List

ComfortZonesDetailForSaving public property

public List ComfortZonesDetailForSaving
return List

ComfortZonesDetailForSaving_For_Load public property

public List ComfortZonesDetailForSaving_For_Load
return List

CurrentSelectedBuilding public property

public string CurrentSelectedBuilding
return string

PathToT3000BuildingDB public property

public string PathToT3000BuildingDB
return string

SpecificVolumeReturn public property

public double SpecificVolumeReturn
return double

buildingList public property

public List buildingList
return List

chartDetailList public property

public List chartDetailList
return List

chartInfoPulledForSaving public property

public List chartInfoPulledForSaving
return List

chartInfoPulledForSaving_For_Load public property

public List chartInfoPulledForSaving_For_Load
return List

city_name_pulled public property

public string city_name_pulled
return string

colorValue public property

public Color colorValue
return Color

comboboxItemText public property

public string comboboxItemText
return string

comfortZoneInforForEachChartForSaving public property

public List comfortZoneInforForEachChartForSaving
return List

comfortZoneInforForEachChartForSaving_For_Load public property

public List comfortZoneInforForEachChartForSaving_For_Load
return List

country_name_pulled public property

public string country_name_pulled
return string

dataGridView1 public property

public System.Windows.Forms.DataGridView dataGridView1
return System.Windows.Forms.DataGridView

default_comfort_zone_of_chart public property

public List default_comfort_zone_of_chart
return List

deleteNodeDetailList public property

public List deleteNodeDetailList
return List

deviceIP public property

public string deviceIP
return string

deviceInfoForSavingToXML public property

public List deviceInfoForSavingToXML
return List

deviceInfoPulledForSaving public property

public List deviceInfoPulledForSaving
return List

deviceInfoPulledForSaving_For_Load public property

public List deviceInfoPulledForSaving_For_Load
return List

deviceInstanceValue public property

public string deviceInstanceValue
return string

deviceParam1ID public property

public string deviceParam1ID
return string

deviceParam2ID public property

public string deviceParam2ID
return string

device_param1_info_for_node public property

public string device_param1_info_for_node
return string

device_param2_info_for_node public property

public string device_param2_info_for_node
return string

direction_pulled public property

public string direction_pulled
return string

enthalpyCalculated public property

public double enthalpyCalculated
return double

enthalpyDataGridView public property

public double enthalpyDataGridView
return double

humDataGridValue public property

public double humDataGridValue
return double

hum_pulled public property

public string hum_pulled
return string

humidityCalculated public property

public double humidityCalculated
return double

humidityValue public property

public double humidityValue
return double

humidity_sourceGlobal public property

public string humidity_sourceGlobal
return string

indexForWhichChartIsSelected public property

public int indexForWhichChartIsSelected
return int

indexOfChartSelected public property

public int indexOfChartSelected
return int

last_update_pulled public property

public string last_update_pulled
return string

latValueFromDB public property

public double latValueFromDB
return double

lat_pulled public property

public string lat_pulled
return string

lat_val public property

public double lat_val
return double

lb_title_display public property

public System.Windows.Forms.Label lb_title_display
return System.Windows.Forms.Label

lineBorderThickness public property

public int lineBorderThickness
return int

lineInfoForSavingToXML public property

public List lineInfoForSavingToXML
return List

lineInfoFromXMLfile public property

public List lineInfoFromXMLfile
return List

lineInfoPulledForSaving public property

public List lineInfoPulledForSaving
return List

lineInfoPulledForSaving_For_Load public property

public List lineInfoPulledForSaving_For_Load
return List

lineName public property

public string lineName
return string

lineStatus_ON_OFF public property

public int lineStatus_ON_OFF
return int

listComfortZoneDetail public property

public List listComfortZoneDetail
return List

listForInputFromPsychoDB public property

public List listForInputFromPsychoDB
return List

listForInputFromT3000 public property

public List listForInputFromT3000
return List

listchartComfortZoneInfoSingle public property

public List listchartComfortZoneInfoSingle
return List

lng_val public property

public double lng_val
return double

longValueFromDB public property

public double longValueFromDB
return double

long_pulled public property

public string long_pulled
return string

markerSize public property

public int markerSize
return int

medium_device_or_web_value public property

This create a node in the chart
public string medium_device_or_web_value
return string

menuStripNodeInfoValues public property

public List menuStripNodeInfoValues
return List

menuStripNodeLineInfoValues public property

public List menuStripNodeLineInfoValues
return List

mixCorrespondingNodeValuesList public property

Contains node1 and node2 details for mixing
public List mixCorrespondingNodeValuesList
return List

mixNodeInfoList public property

public List mixNodeInfoList
return List

mixNodeInfoListForSaveConfiguration public property

public List mixNodeInfoListForSaveConfiguration
return List

mixNodeList_For_Load public property

public List mixNodeList_For_Load
return List

nodeInfoContainingDevice public property

This list containts the node whose souce = Device
public List nodeInfoContainingDevice
return List

nodeInfoForSavingToXML public property

public List nodeInfoForSavingToXML
return List

nodeInfoFromXMLfile public property

public List nodeInfoFromXMLfile
return List

nodeInfoPulledForSaving public property

public List nodeInfoPulledForSaving
return List

nodeInfoPulledForSaving_For_Load public property

public List nodeInfoPulledForSaving_For_Load
return List

object_param1_identifier_type public property

public string object_param1_identifier_type
return string

object_param2_identifier_type public property

public string object_param2_identifier_type
return string

pressure_pulled public property

public string pressure_pulled
return string

previousNodeIndexForLineInput public property

public int previousNodeIndexForLineInput
return int

selectedBuildingList public property

public List selectedBuildingList
return List

series1 public property

public Series series1
return Series

tbLabel public property

public string tbLabel
return string

tbName public property

public string tbName
return string

tbSource public property

public string tbSource
return string

temp_pulled public property

public string temp_pulled
return string

temp_pulled_from_web public property

public double temp_pulled_from_web
return double

temperatureValue public property

public double temperatureValue
return double

temperature_sourceGlobal public property

public string temperature_sourceGlobal
return string

temporaryMixNodeList public property

public List temporaryMixNodeList
return List

wind_speed_pulled public property

public string wind_speed_pulled
return string

yCoord public property

public int yCoord
return int

y_coord_value public property

public double y_coord_value
return double