Property | Type | Description | |
---|---|---|---|
chartDetailList | List |
||
default_comfort_zone_of_chart | List |
||
deviceInfoForSavingToXML | List |
||
enthalpyDataGridView | double | ||
humDataGridValue | double | ||
indexForWhichChartIsSelected | int | ||
indexOfChartSelected | int | ||
latValueFromDB | double | ||
lb_simulation_mode_display | System.Windows.Forms.Label | ||
lineInfoForSavingToXML | List |
||
lineInfoFromXMLfile | List |
||
listComfortZoneDetail | List |
||
listchartComfortZoneInfoSingle | List |
||
longValueFromDB | double | ||
menuStripNodeInfoValues | List |
||
menuStripNodeLineInfoValues | List |
||
nodeInfoForSavingToXML | List |
||
nodeInfoFromXMLfile | List |
||
y_coord_value | double |
Method | Description | |
---|---|---|
AddOrUpdateNewRecord ( string name, DataGridViewCellEventArgs e ) : void | ||
AsyncMethod1ForPullingData ( ) : Task | ||
CalculateYFromXandHumidity ( double xVal, double humidity ) : double | ||
CheckDeviceOnlineOffline ( int deviceID, int Parent_SerialNum ) : bool | ||
CheckSelectedBuilding ( ) : void | ||
ClearComfortZone ( double Tmin, double Tmax, double Hmin, double Hmax ) : void | ||
CountNumberOfItem ( string chartId ) : int | ||
CountingDB_Item ( string db_name ) : int | ||
CreateRequireTableIfNotPresent ( string buildingName ) : void | ||
DataGridView_Show_Data ( ) : void | ||
DeleteChart ( string chartID ) : void | ||
DeleteComfortZoneData ( string id ) : void | ||
DeleteComfortZoneSettingForChart ( string chartID ) : void | ||
DeleteLine ( string lineID ) : void | ||
DeleteNode ( string nodeID ) : void | ||
DeleteNodeDeviceInfo ( string nodeID ) : void | ||
FindPathOfBuildingDB ( ) : void | ||
GetDataFromWeb ( double latValue, double longValue ) : void |
This return the different values such as temperatue ,humidity and other parameters.
|
|
GetGUID ( ) : string | ||
HumTempCalcByCoordinate ( ) : void | ||
InfoForComfortZoneOfChart ( string chartID ) : 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.
|
|
InsertLineInfoToDB ( string id, string prevNodeId, string nextNodeId, Color lineColor, 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 | ||
LoadComfortZone ( string chartid ) : void |
load the comfort zone when chart is selected
|
|
LoadComfortZoneIfOn ( string chartid ) : void | ||
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.
|
|
PlotComfortZone ( double Tmin, double Tmax, double Hmin, double Hmax, Color c, string name ) : void | ||
PullChartList ( string buildingName ) : void | ||
PullComfortZoneData ( ) : void | ||
PullDataFromDB ( ) : void | ||
PullDataFromHardware ( string device_instance_id, string param1id, string param2id, string param1info, string param2info ) : void | ||
PullLongitudeAndLatitude ( string dbName ) : void | ||
ReDrawLines ( string id, string prevNodeID, string nextNodeID, Series lineSeriesID, Color c, int thickness_value ) : void | ||
ReDrawPoints ( Series s1, double x, double y, Color c, string source1, string name1, string label1x, string labelValueText, int marker_size_value ) : void | ||
ReDrawPointsForHardware ( Series s1, double x, double y, Color c, string source1, string name1, string label1x, string labelValueText, int marker_size_value ) : void |
This function helps to draw the points before loading
|
|
ReDrawingLineAndNode ( ) : void | ||
ReDrawingLineAndNodeForScanHardware ( ) : 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
|
|
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 | ||
ResettingLines ( ) : void | ||
SaveConfiguration ( ) : void | ||
SetNodeForDeviceUsingTempAndHum ( string source, string name, string label, Color c1, string comboboxItemText1, int marker_size, string deviceInstance, string IP, string param1ID, string param2ID, string param1_info, string param2_info, string param1_value, string param2_value, string object_identifier_type_param1, string object_identifier_type_param2 ) : void | ||
SetNodeForWeb ( string source, string name, string label, Color c1, string comboboxItemText1, int marker_size ) : void | ||
SetNodeWithValuesXYCoord ( string source, string name, string label, Color c1, string comboboxItemText1, double xvalue, double yvalue ) : void | ||
ShowOrHideForComfortZone ( ) : void | ||
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, Series lineSeriesVal, int lineThicknessValue ) : void |
This value is edited just now bbk305
|
|
UpdateLineInfoToDBWithouSeriesID ( string id, string prevNodeId, string nextNodeId, Color lineColor, int lineThicknessValue ) : void | ||
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 | ||
addCursorFunctionForLineDisconnectConnect ( MouseEventArgs e ) : void | ||
addTemporarySeries ( ) : void | ||
add_t_pg ( ) : void | ||
buildingChartSetting ( |
||
deleteDatabaseTable ( string tableName ) : void | ||
enthalpyHumidityCalculatorForXYvalue ( double xVal, double yVal ) : void | ||
insertNewDataFromDGV ( string name ) : void | ||
insertOrUpdateComfortChartSetting ( string chartID, string comfortzone_ID ) : void | ||
loadXMLDoc ( ) : void | ||
plot_by_DBT_Enthalpy ( double dbt, double enthalpy ) : int | ||
plot_by_DBT_HR_process_diagram ( double DBT, double HR ) : int | ||
plot_new_graph ( ) : void | ||
plot_on_graph_values_process_diagram ( double xval, double yval ) : void |
plot using x coord(=temp) and y coord (=hum ratio)
|
|
pullComfortZoneInfoSingle ( string comfortzoneid ) : 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
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
CalculateHumidityEnthalpy ( double xVal, double yVal ) : void | ||
ClearChart ( ) : void | ||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
LineDeterctOnMouseMove ( MouseEventArgs e ) : void | ||
NodeSelectionAndRelease ( MouseEventArgs e ) : void | ||
ProcessDiagramMouseMoveFunction ( MouseEventArgs e ) : void | ||
btn_pull_data_Click ( object sender, EventArgs e ) : void |
This is pulling the data from the hardware and putting it in the table
|
|
btn_reset_graph_Click ( object sender, EventArgs e ) : void | ||
buildingChartSetting_FormClosing ( object sender, FormClosingEventArgs e ) : void | ||
buildingChartSetting_Load ( object sender, EventArgs e ) : void | ||
button1_Click ( object sender, EventArgs e ) : void | ||
button2_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 | ||
dataGridView1_CellBeginEdit ( object sender, DataGridViewCellCancelEventArgs e ) : void | ||
dataGridView1_CellClick_1 ( object sender, DataGridViewCellEventArgs e ) : void | ||
dataGridView1_CellDoubleClick ( object sender, DataGridViewCellEventArgs e ) : void | ||
dataGridView1_CellEndEdit_1 ( object sender, DataGridViewCellEventArgs e ) : void | ||
dataGridView1_CellMouseClick ( object sender, DataGridViewCellMouseEventArgs e ) : void | ||
deleteHandlerToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
disconnectLineToolStripMenuItem_Click_1 ( object sender, EventArgs e ) : void | ||
enableToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
fillDataGridView ( ) : void | ||
insertNodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
insertNodeToolStripMenuItem_Click_1 ( object sender, EventArgs e ) : void | ||
loadSettingToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
saveSettingsToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
settingsToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
showComfortZoneToolStripMenuItem_Click ( object sender, EventArgs e ) : void |
public AddOrUpdateNewRecord ( string name, DataGridViewCellEventArgs e ) : void | ||
name | string | |
e | DataGridViewCellEventArgs | |
return | void |
public CalculateYFromXandHumidity ( double xVal, double humidity ) : double | ||
xVal | double | |
humidity | double | |
return | double |
public CheckDeviceOnlineOffline ( int deviceID, int Parent_SerialNum ) : bool | ||
deviceID | int | |
Parent_SerialNum | int | |
return | bool |
public ClearComfortZone ( double Tmin, double Tmax, double Hmin, double Hmax ) : void | ||
Tmin | double | |
Tmax | double | |
Hmin | double | |
Hmax | double | |
return | void |
public CountNumberOfItem ( string chartId ) : int | ||
chartId | string | |
return | int |
public CountingDB_Item ( string db_name ) : int | ||
db_name | string | |
return | int |
public CreateRequireTableIfNotPresent ( string buildingName ) : void | ||
buildingName | string | |
return | void |
public DeleteComfortZoneData ( string id ) : void | ||
id | string | |
return | void |
public DeleteComfortZoneSettingForChart ( string chartID ) : void | ||
chartID | string | |
return | void |
public DeleteNodeDeviceInfo ( string nodeID ) : void | ||
nodeID | string | |
return | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public GetDataFromWeb ( double latValue, double longValue ) : void | ||
latValue | double | Latitude |
longValue | double | Longitude |
return | void |
public InfoForComfortZoneOfChart ( string chartID ) : void | ||
chartID | string | |
return | void |
public InsertChartComfortzoneInfo ( string chartid, string comfortzone_id ) : void | ||
chartid | string | |
comfortzone_id | string | |
return | void |
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 |
public InsertLineInfoToDB ( string id, string prevNodeId, string nextNodeId, Color lineColor, Series lineSeriesVal, int linethickness ) : void | ||
id | string | |
prevNodeId | string | |
nextNodeId | string | |
lineColor | Color | |
lineSeriesVal | Series | |
linethickness | int | |
return | void |
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 |
public LoadComfortZone ( string chartid ) : void | ||
chartid | string | |
return | void |
public LoadComfortZoneIfOn ( string chartid ) : void | ||
chartid | string | |
return | void |
public LoadNodeAndLineFromDB ( int indexValue ) : void | ||
indexValue | int | |
return | void |
public LoadNode_LineAndDeviceInfoFromDB ( int indexValue ) : void | ||
indexValue | int | index of the chart selected |
return | void |
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 |
public PullChartList ( string buildingName ) : void | ||
buildingName | string | |
return | void |
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 |
public PullLongitudeAndLatitude ( string dbName ) : void | ||
dbName | string | |
return | void |
public ReDrawLines ( string id, string prevNodeID, string nextNodeID, Series lineSeriesID, Color c, int thickness_value ) : void | ||
id | string | |
prevNodeID | string | |
nextNodeID | string | |
lineSeriesID | Series | |
c | Color | |
thickness_value | int | |
return | void |
public ReDrawPoints ( Series s1, double x, double y, Color c, string source1, string name1, string label1x, string labelValueText, int marker_size_value ) : void | ||
s1 | Series | |
x | double | |
y | double | |
c | Color | |
source1 | string | |
name1 | string | |
label1x | string | |
labelValueText | string | |
marker_size_value | int | |
return | void |
public ReDrawPointsForHardware ( Series s1, double x, double y, Color c, string source1, string name1, string label1x, string labelValueText, int marker_size_value ) : void | ||
s1 | Series | |
x | double | |
y | double | |
c | Color | |
source1 | string | |
name1 | string | |
label1x | string | |
labelValueText | string | |
marker_size_value | int | |
return | void |
public ReDrawingLineAndNodeForScanHardware ( ) : void | ||
return | void |
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 |
public ReadDeviceInfoForNode ( string nodeID1 ) : void | ||
nodeID1 | string | the node id selected to search for |
return | void |
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 |
public ReadNodeInfoToDelete ( string chartNodeID ) : void | ||
chartNodeID | string | |
return | void |
public RefreshDataFromDeviceAndWeb ( ) : void | ||
return | void |
public SetNodeForDeviceUsingTempAndHum ( string source, string name, string label, Color c1, string comboboxItemText1, int marker_size, string deviceInstance, string IP, string param1ID, string param2ID, string param1_info, string param2_info, string param1_value, string param2_value, string object_identifier_type_param1, string object_identifier_type_param2 ) : void | ||
source | string | |
name | string | |
label | string | |
c1 | Color | |
comboboxItemText1 | string | |
marker_size | int | |
deviceInstance | string | |
IP | string | |
param1ID | string | |
param2ID | string | |
param1_info | string | |
param2_info | string | |
param1_value | string | |
param2_value | string | |
object_identifier_type_param1 | string | |
object_identifier_type_param2 | string | |
return | void |
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 |
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 |
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 |
public UpdateLineInfoToDB ( string id, string prevNodeId, string nextNodeId, Color lineColor, Series lineSeriesVal, int lineThicknessValue ) : void | ||
id | string | |
prevNodeId | string | |
nextNodeId | string | |
lineColor | Color | |
lineSeriesVal | Series | |
lineThicknessValue | int | |
return | void |
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 |
public UpdateNewDataFromDGV ( string name, string chartID ) : void | ||
name | string | |
chartID | string | |
return | void |
public UpdateNodeInfoToDB ( string id, double xVal, double yVal, string source, string name, string label, Color colorValue, string showItemText, int nodeSizeValue ) : void | ||
id | string | |
xVal | double | |
yVal | double | |
source | string | |
name | string | |
label | string | |
colorValue | Color | |
showItemText | string | |
nodeSizeValue | int | |
return | void |
public addCursorFunctionForLineDisconnectConnect ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
public buildingChartSetting ( |
||
f | ||
return | System |
public deleteDatabaseTable ( string tableName ) : void | ||
tableName | string | |
return | void |
public enthalpyHumidityCalculatorForXYvalue ( double xVal, double yVal ) : void | ||
xVal | double | |
yVal | double | |
return | void |
public insertNewDataFromDGV ( string name ) : void | ||
name | string | |
return | void |
public insertOrUpdateComfortChartSetting ( string chartID, string comfortzone_ID ) : void | ||
chartID | string | |
comfortzone_ID | string | |
return | void |
public plot_by_DBT_Enthalpy ( double dbt, double enthalpy ) : int | ||
dbt | double | |
enthalpy | double | |
return | int |
public plot_by_DBT_HR_process_diagram ( double DBT, double HR ) : int | ||
DBT | double | |
HR | double | |
return | int |
public plot_on_graph_values_process_diagram ( double xval, double yval ) : void | ||
xval | double | Temperature(x-axis) |
yval | double | humidity ratio(y-axis) |
return | void |
public pullComfortZoneInfoSingle ( string comfortzoneid ) : void | ||
comfortzoneid | string | |
return | void |
public timer1_Tick_For_Device ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
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 |
public List |
||
return | List |
public System.Windows.Forms.Label lb_simulation_mode_display | ||
return | System.Windows.Forms.Label |
public List |
||
return | List |