C# 클래스 WFA_psychometric_chart.Form1_main

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: temcocontrols/T3000_Building_Automation_System 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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

메소드 상세

AddMixNodeBetweenTwoNodes() 공개 메소드

public AddMixNodeBetweenTwoNodes ( ) : void
리턴 void

AddOrUpdateNewRecord() 공개 메소드

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

AsyncMethod1ForPullingData() 공개 메소드

public AsyncMethod1ForPullingData ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

CalculateHumidityEnthalpy() 공개 메소드

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)
리턴 void

CalculateSpecificVolume() 공개 메소드

public CalculateSpecificVolume ( double xVal, double yVal ) : double
xVal double
yVal double
리턴 double

CalculateYFromXandEnthalpy() 공개 메소드

public CalculateYFromXandEnthalpy ( double dbt, double enthalpy ) : double
dbt double
enthalpy double
리턴 double

CalculateYFromXandHumidity() 공개 메소드

public CalculateYFromXandHumidity ( double xVal, double humidity ) : double
xVal double
humidity double
리턴 double

CheckDeviceOnlineOffline() 공개 메소드

public CheckDeviceOnlineOffline ( int deviceID, int Parent_SerialNum ) : bool
deviceID int
Parent_SerialNum int
리턴 bool

CheckLatLongAvailable() 공개 메소드

public CheckLatLongAvailable ( ) : bool
리턴 bool

CheckSelectedBuilding() 공개 메소드

public CheckSelectedBuilding ( ) : void
리턴 void

ClearComfortZone() 공개 메소드

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
리턴 void

ClearSeriesInChart() 공개 메소드

public ClearSeriesInChart ( string seriesName ) : void
seriesName string
리턴 void

ComfortZonePlot() 공개 메소드

public ComfortZonePlot ( ) : void
리턴 void

CountNumberOfItem() 공개 메소드

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
리턴 int

CreateRequireTableIfNotPresent() 공개 메소드

public CreateRequireTableIfNotPresent ( string buildingName ) : void
buildingName string
리턴 void

CreateTableForSavingConfiguration() 공개 메소드

public CreateTableForSavingConfiguration ( string filePathWithName ) : void
filePathWithName string
리턴 void

CursorFunctionForComfortZoneEditMode() 공개 메소드

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

DBUpdateMixPointOnNodeValueChange() 공개 메소드

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

DataGridView_Show_Data() 공개 메소드

public DataGridView_Show_Data ( ) : void
리턴 void

DeleteAllDataFromTable() 공개 메소드

public DeleteAllDataFromTable ( string db_path, string tableName ) : void
db_path string
tableName string
리턴 void

DeleteChart() 공개 메소드

public DeleteChart ( string chartID ) : void
chartID string
리턴 void

DeleteChartContent() 공개 메소드

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
리턴 void

DeleteChartInfoFromChartDetailTable() 공개 메소드

public DeleteChartInfoFromChartDetailTable ( string chartID ) : void
chartID string
리턴 void

DeleteComfortZoneData() 공개 메소드

public DeleteComfortZoneData ( string id ) : void
id string
리턴 void

DeleteComfortZoneSettingForChart() 공개 메소드

public DeleteComfortZoneSettingForChart ( string chartID ) : void
chartID string
리턴 void

DeleteLine() 공개 메소드

public DeleteLine ( string lineID ) : void
lineID string
리턴 void

DeleteLineUsingNodeID() 공개 메소드

public DeleteLineUsingNodeID ( string nodeID ) : void
nodeID string
리턴 void

DeleteMixNodeInfo() 공개 메소드

public DeleteMixNodeInfo ( string chartID ) : void
chartID string
리턴 void

DeleteNode() 공개 메소드

public DeleteNode ( string nodeID ) : void
nodeID string
리턴 void

DeleteNodeDeviceInfo() 공개 메소드

public DeleteNodeDeviceInfo ( string nodeID ) : void
nodeID string
리턴 void

DeleteNodeUsingNodeID() 공개 메소드

public DeleteNodeUsingNodeID ( string nodeID ) : void
nodeID string
리턴 void

DeleteSingleNodeAndAssociatedLinesInDB() 공개 메소드

public DeleteSingleNodeAndAssociatedLinesInDB ( string nodeID ) : void
nodeID string
리턴 void

DisableChart() 공개 메소드

public DisableChart ( string chartID ) : void
chartID string
리턴 void

Dispose() 보호된 메소드

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

EditComfortZoneGraphicalWay() 공개 메소드

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
리턴 void

FillLatLongValueAutomatically() 공개 메소드

public FillLatLongValueAutomatically ( ) : void
리턴 void

FindPathOfBuildingDB() 공개 메소드

public FindPathOfBuildingDB ( ) : void
리턴 void

FindPathOfBuildingDBNewVersion() 공개 메소드

public FindPathOfBuildingDBNewVersion ( ) : void
리턴 void

Form1_Load() 공개 메소드

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

Form1_main() 공개 메소드

public Form1_main ( ) : System
리턴 System

GetDataFromWeb() 공개 메소드

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
리턴 void

GetGUID() 공개 메소드

public GetGUID ( ) : string
리턴 string

HumTempCalcByCoordinate() 공개 메소드

public HumTempCalcByCoordinate ( ) : void
리턴 void

IndexOfPreviousNodeForLineFunction() 공개 메소드

public IndexOfPreviousNodeForLineFunction ( ) : int
리턴 int

InfoForComfortZoneOfChart() 공개 메소드

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

InitTimer() 공개 메소드

public InitTimer ( ) : void
리턴 void

InitTimerForDevice() 공개 메소드

public InitTimerForDevice ( ) : void
리턴 void

InsertChartComfortzoneInfo() 공개 메소드

public InsertChartComfortzoneInfo ( string chartid, string comfortzone_id ) : void
chartid string
comfortzone_id string
리턴 void

InsertComfortZoneValue() 공개 메소드

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
리턴 void

InsertForSavingConfiguration() 공개 메소드

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
리턴 void

InsertForSavingConfiguration_For_Load() 공개 메소드

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
리턴 void

InsertIntoDeviceInfoDB() 공개 메소드

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
리턴 void

InsertLineInfoToDB() 공개 메소드

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
리턴 void

InsertNodeInfoToDB() 공개 메소드

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
리턴 void

InsertUpdateFromHumidityDeviceSelectionToDBOnlyTempertureUpdate() 공개 메소드

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
리턴 void

InsertUpdateFromTemperatureDeviceSelectionToDBOnlyTempertureUpdate() 공개 메소드

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
리턴 void

InsertingInputDataOfT3000ToPsychroDB() 공개 메소드

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
리턴 void

LoadComfortZone() 공개 메소드

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

LoadComfortZoneIfOn() 공개 메소드

public LoadComfortZoneIfOn ( string chartid ) : void
chartid string
리턴 void

LoadDataFromFileToDBConfiguration() 공개 메소드

public LoadDataFromFileToDBConfiguration ( ) : void
리턴 void

LoadFunctionForTrash() 공개 메소드

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

LoadNodeAndLineFromDB() 공개 메소드

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

LoadNode_LineAndDeviceInfoFromDB() 공개 메소드

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
리턴 void

LockAndUnlock() 공개 메소드

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

PlotComfortZone() 공개 메소드

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
리턴 void

PlotComfortZoneForBackGroundWorker() 공개 메소드

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
리턴 void

PlotOuterBorderForComfortZone() 공개 메소드

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
리턴 void

ProcessResponse() 공개 메소드

public ProcessResponse ( XmlDocument locationsResponse ) : void
locationsResponse System.Xml.XmlDocument
리턴 void

PullChartList() 공개 메소드

public PullChartList ( string buildingName ) : void
buildingName string
리턴 void

PullComfortZoneData() 공개 메소드

public PullComfortZoneData ( ) : void
리턴 void

PullDataAndPlot() 공개 메소드

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

PullDataFromHardware() 공개 메소드

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
리턴 void

PullLongitudeAndLatitude() 공개 메소드

public PullLongitudeAndLatitude ( string dbName ) : void
dbName string
리턴 void

PullingDataFromPsychrometricDB() 공개 메소드

public PullingDataFromPsychrometricDB ( string tableName ) : void
tableName string
리턴 void

PullingDataFromT3000BuildingDB() 공개 메소드

public PullingDataFromT3000BuildingDB ( string databaseFileWithPath ) : void
databaseFileWithPath string
리턴 void

ReDrawLines() 공개 메소드

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
리턴 void

ReDrawLinesForXML() 공개 메소드

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
리턴 void

ReDrawPoints() 공개 메소드

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
리턴 void

ReDrawPointsForXML() 공개 메소드

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
리턴 void

ReDrawingLineAndNode() 공개 메소드

public ReDrawingLineAndNode ( ) : void
리턴 void

ReDrawingLineAndNodeForLoadXML() 공개 메소드

public ReDrawingLineAndNodeForLoadXML ( ) : void
리턴 void

ReadDataForSavingConfiguration() 공개 메소드

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
리턴 void

ReadDataForSavingConfiguration_For_Load() 공개 메소드

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
리턴 void

ReadDataFromDevice() 공개 메소드

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
리턴 void

ReadDataFromDeviceForHumidity() 공개 메소드

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

ReadDataFromDeviceForTemperature() 공개 메소드

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

ReadDeviceInfoForNode() 공개 메소드

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

ReadNodeAndLineDetails() 공개 메소드

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
리턴 void

ReadNodeInfoToDelete() 공개 메소드

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

RefreshDataFromDeviceAndWeb() 공개 메소드

public RefreshDataFromDeviceAndWeb ( ) : void
리턴 void

RefreshGraph() 공개 메소드

public RefreshGraph ( ) : void
리턴 void

RefreshingEverythingChartAndContent() 공개 메소드

public RefreshingEverythingChartAndContent ( object sender ) : void
sender object
리턴 void

ReloadComfortZoneForBackGroundWorker() 공개 메소드

public ReloadComfortZoneForBackGroundWorker ( ) : void
리턴 void

ResettingLines() 공개 메소드

public ResettingLines ( ) : void
리턴 void

SQLiteSaveConfigurationSetting() 공개 메소드

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

SaveConfiguration() 공개 메소드

public SaveConfiguration ( ) : void
리턴 void

SaveConfigurationForBuildingSetting() 공개 메소드

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

SetNode() 공개 메소드

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
리턴 void

SetNodeForWeb() 공개 메소드

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
리턴 void

SetNodeWithValues() 공개 메소드

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
리턴 void

SetNodeWithValuesXYCoord() 공개 메소드

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
리턴 void

ShowOrHideForComfortZone() 공개 메소드

public ShowOrHideForComfortZone ( ) : void
리턴 void

StartHardwareScan() 공개 메소드

public StartHardwareScan ( ) : void
리턴 void

Test() 공개 메소드

public Test ( string path ) : void
path string
리턴 void

UniqueMixName() 공개 메소드

public UniqueMixName ( ) : string
리턴 string

UpdateComfortZoneValue() 공개 메소드

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
리턴 void

UpdateLineInfoToDB() 공개 메소드

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
리턴 void

UpdateLineInfoToDBWithouSeriesID() 공개 메소드

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

UpdateMixNodeValuesToDB() 공개 메소드

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

UpdateMixPointOnNodeMovement() 공개 메소드

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
리턴 void

UpdateNewDataFromDGV() 공개 메소드

public UpdateNewDataFromDGV ( string name, string chartID ) : void
name string
chartID string
리턴 void

UpdateNodeInfoToDB() 공개 메소드

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
리턴 void

UpdateNodeInfoToDBForHumidityFromHardware() 공개 메소드

public UpdateNodeInfoToDBForHumidityFromHardware ( string id, double yVal ) : void
id string
yVal double
리턴 void

UpdateNodeInfoToDBForTemeperatureFromHardware() 공개 메소드

public UpdateNodeInfoToDBForTemeperatureFromHardware ( string id, double xVal ) : void
id string
xVal double
리턴 void

UpdateNodeInfoToDBFromTemperatureDeviceSource() 공개 메소드

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
리턴 void

addCursorFunctionForLineDisconnectConnect() 공개 메소드

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
리턴 void

addTemporarySeries() 공개 메소드

public addTemporarySeries ( ) : void
리턴 void

add_t_pg() 공개 메소드

public add_t_pg ( ) : void
리턴 void

chart1RefreshCustom() 공개 메소드

public chart1RefreshCustom ( ) : void
리턴 void

checkForDataInSqlite() 공개 메소드

public checkForDataInSqlite ( ) : bool
리턴 bool

dataGridView1_CellClick() 공개 메소드

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

elevationProcess() 공개 메소드

public elevationProcess ( XmlDocument locationsResponse ) : double
locationsResponse System.Xml.XmlDocument
리턴 double

enthalpyHumidityCalculatorForXYvalue() 공개 메소드

public enthalpyHumidityCalculatorForXYvalue ( double xVal, double yVal ) : void
xVal double
yVal double
리턴 void

heat_map_button_click() 공개 메소드

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
리턴 void

insertNewDataFromDGV() 공개 메소드

public insertNewDataFromDGV ( string name ) : void
name string
리턴 void

insertOrUpdateComfortChartSetting() 공개 메소드

public insertOrUpdateComfortChartSetting ( string chartID, string comfortzone_ID ) : void
chartID string
comfortzone_ID string
리턴 void

loadDataFromIndependentFileAndRefreshData() 공개 메소드

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

loadXMLDoc() 공개 메소드

public loadXMLDoc ( ) : void
리턴 void

plot_by_DBT_Enthalpy() 공개 메소드

public plot_by_DBT_Enthalpy ( double dbt, double enthalpy ) : int
dbt double
enthalpy double
리턴 int

plot_by_DBT_HR() 공개 메소드

public plot_by_DBT_HR ( double DBT1, double HR ) : int
DBT1 double
HR double
리턴 int

plot_by_DBT_HR_heat_map() 공개 메소드

public plot_by_DBT_HR_heat_map ( double DBT, double HR ) : int
DBT double
HR double
리턴 int

plot_by_DBT_HR_process_diagram() 공개 메소드

public plot_by_DBT_HR_process_diagram ( double DBT, double HR ) : int
DBT double
HR double
리턴 int

plot_new_graph() 공개 메소드

public plot_new_graph ( ) : void
리턴 void

plot_on_graph_values() 공개 메소드

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

plot_on_graph_values_heat_map() 공개 메소드

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

plot_on_graph_values_process_diagram() 공개 메소드

public plot_on_graph_values_process_diagram ( double xval, double yval ) : void
xval double
yval double
리턴 void

printHeatMap() 공개 메소드

public printHeatMap ( ) : void
리턴 void

pullComfortZoneInfoSingle() 공개 메소드

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

saveAsImageHeatMap() 공개 메소드

public saveAsImageHeatMap ( ) : void
리턴 void

timer1_Tick_For_Device() 공개 메소드

public timer1_Tick_For_Device ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

update_comfort_zone_for_chart() 공개 메소드

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
리턴 void

프로퍼티 상세

AirPressureFromDB 공개적으로 프로퍼티

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

BuildingSelected 공개적으로 프로퍼티

public List BuildingSelected
리턴 List

ComfortZonesDetailForSaving 공개적으로 프로퍼티

public List ComfortZonesDetailForSaving
리턴 List

ComfortZonesDetailForSaving_For_Load 공개적으로 프로퍼티

public List ComfortZonesDetailForSaving_For_Load
리턴 List

CurrentSelectedBuilding 공개적으로 프로퍼티

public string CurrentSelectedBuilding
리턴 string

PathToT3000BuildingDB 공개적으로 프로퍼티

public string PathToT3000BuildingDB
리턴 string

SpecificVolumeReturn 공개적으로 프로퍼티

public double SpecificVolumeReturn
리턴 double

buildingList 공개적으로 프로퍼티

public List buildingList
리턴 List

chartDetailList 공개적으로 프로퍼티

public List chartDetailList
리턴 List

chartInfoPulledForSaving 공개적으로 프로퍼티

public List chartInfoPulledForSaving
리턴 List

chartInfoPulledForSaving_For_Load 공개적으로 프로퍼티

public List chartInfoPulledForSaving_For_Load
리턴 List

city_name_pulled 공개적으로 프로퍼티

public string city_name_pulled
리턴 string

colorValue 공개적으로 프로퍼티

public Color colorValue
리턴 Color

comboboxItemText 공개적으로 프로퍼티

public string comboboxItemText
리턴 string

comfortZoneInforForEachChartForSaving 공개적으로 프로퍼티

public List comfortZoneInforForEachChartForSaving
리턴 List

comfortZoneInforForEachChartForSaving_For_Load 공개적으로 프로퍼티

public List comfortZoneInforForEachChartForSaving_For_Load
리턴 List

country_name_pulled 공개적으로 프로퍼티

public string country_name_pulled
리턴 string

dataGridView1 공개적으로 프로퍼티

public System.Windows.Forms.DataGridView dataGridView1
리턴 System.Windows.Forms.DataGridView

default_comfort_zone_of_chart 공개적으로 프로퍼티

public List default_comfort_zone_of_chart
리턴 List

deleteNodeDetailList 공개적으로 프로퍼티

public List deleteNodeDetailList
리턴 List

deviceIP 공개적으로 프로퍼티

public string deviceIP
리턴 string

deviceInfoForSavingToXML 공개적으로 프로퍼티

public List deviceInfoForSavingToXML
리턴 List

deviceInfoPulledForSaving 공개적으로 프로퍼티

public List deviceInfoPulledForSaving
리턴 List

deviceInfoPulledForSaving_For_Load 공개적으로 프로퍼티

public List deviceInfoPulledForSaving_For_Load
리턴 List

deviceInstanceValue 공개적으로 프로퍼티

public string deviceInstanceValue
리턴 string

deviceParam1ID 공개적으로 프로퍼티

public string deviceParam1ID
리턴 string

deviceParam2ID 공개적으로 프로퍼티

public string deviceParam2ID
리턴 string

device_param1_info_for_node 공개적으로 프로퍼티

public string device_param1_info_for_node
리턴 string

device_param2_info_for_node 공개적으로 프로퍼티

public string device_param2_info_for_node
리턴 string

direction_pulled 공개적으로 프로퍼티

public string direction_pulled
리턴 string

enthalpyCalculated 공개적으로 프로퍼티

public double enthalpyCalculated
리턴 double

enthalpyDataGridView 공개적으로 프로퍼티

public double enthalpyDataGridView
리턴 double

humDataGridValue 공개적으로 프로퍼티

public double humDataGridValue
리턴 double

hum_pulled 공개적으로 프로퍼티

public string hum_pulled
리턴 string

humidityCalculated 공개적으로 프로퍼티

public double humidityCalculated
리턴 double

humidityValue 공개적으로 프로퍼티

public double humidityValue
리턴 double

humidity_sourceGlobal 공개적으로 프로퍼티

public string humidity_sourceGlobal
리턴 string

indexForWhichChartIsSelected 공개적으로 프로퍼티

public int indexForWhichChartIsSelected
리턴 int

indexOfChartSelected 공개적으로 프로퍼티

public int indexOfChartSelected
리턴 int

last_update_pulled 공개적으로 프로퍼티

public string last_update_pulled
리턴 string

latValueFromDB 공개적으로 프로퍼티

public double latValueFromDB
리턴 double

lat_pulled 공개적으로 프로퍼티

public string lat_pulled
리턴 string

lat_val 공개적으로 프로퍼티

public double lat_val
리턴 double

lb_title_display 공개적으로 프로퍼티

public System.Windows.Forms.Label lb_title_display
리턴 System.Windows.Forms.Label

lineBorderThickness 공개적으로 프로퍼티

public int lineBorderThickness
리턴 int

lineInfoForSavingToXML 공개적으로 프로퍼티

public List lineInfoForSavingToXML
리턴 List

lineInfoFromXMLfile 공개적으로 프로퍼티

public List lineInfoFromXMLfile
리턴 List

lineInfoPulledForSaving 공개적으로 프로퍼티

public List lineInfoPulledForSaving
리턴 List

lineInfoPulledForSaving_For_Load 공개적으로 프로퍼티

public List lineInfoPulledForSaving_For_Load
리턴 List

lineName 공개적으로 프로퍼티

public string lineName
리턴 string

lineStatus_ON_OFF 공개적으로 프로퍼티

public int lineStatus_ON_OFF
리턴 int

listComfortZoneDetail 공개적으로 프로퍼티

public List listComfortZoneDetail
리턴 List

listForInputFromPsychoDB 공개적으로 프로퍼티

public List listForInputFromPsychoDB
리턴 List

listForInputFromT3000 공개적으로 프로퍼티

public List listForInputFromT3000
리턴 List

listchartComfortZoneInfoSingle 공개적으로 프로퍼티

public List listchartComfortZoneInfoSingle
리턴 List

lng_val 공개적으로 프로퍼티

public double lng_val
리턴 double

longValueFromDB 공개적으로 프로퍼티

public double longValueFromDB
리턴 double

long_pulled 공개적으로 프로퍼티

public string long_pulled
리턴 string

markerSize 공개적으로 프로퍼티

public int markerSize
리턴 int

medium_device_or_web_value 공개적으로 프로퍼티

This create a node in the chart
public string medium_device_or_web_value
리턴 string

menuStripNodeInfoValues 공개적으로 프로퍼티

public List menuStripNodeInfoValues
리턴 List

menuStripNodeLineInfoValues 공개적으로 프로퍼티

public List menuStripNodeLineInfoValues
리턴 List

mixCorrespondingNodeValuesList 공개적으로 프로퍼티

Contains node1 and node2 details for mixing
public List mixCorrespondingNodeValuesList
리턴 List

mixNodeInfoList 공개적으로 프로퍼티

public List mixNodeInfoList
리턴 List

mixNodeInfoListForSaveConfiguration 공개적으로 프로퍼티

public List mixNodeInfoListForSaveConfiguration
리턴 List

mixNodeList_For_Load 공개적으로 프로퍼티

public List mixNodeList_For_Load
리턴 List

nodeInfoContainingDevice 공개적으로 프로퍼티

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

nodeInfoForSavingToXML 공개적으로 프로퍼티

public List nodeInfoForSavingToXML
리턴 List

nodeInfoFromXMLfile 공개적으로 프로퍼티

public List nodeInfoFromXMLfile
리턴 List

nodeInfoPulledForSaving 공개적으로 프로퍼티

public List nodeInfoPulledForSaving
리턴 List

nodeInfoPulledForSaving_For_Load 공개적으로 프로퍼티

public List nodeInfoPulledForSaving_For_Load
리턴 List

object_param1_identifier_type 공개적으로 프로퍼티

public string object_param1_identifier_type
리턴 string

object_param2_identifier_type 공개적으로 프로퍼티

public string object_param2_identifier_type
리턴 string

pressure_pulled 공개적으로 프로퍼티

public string pressure_pulled
리턴 string

previousNodeIndexForLineInput 공개적으로 프로퍼티

public int previousNodeIndexForLineInput
리턴 int

selectedBuildingList 공개적으로 프로퍼티

public List selectedBuildingList
리턴 List

series1 공개적으로 프로퍼티

public Series series1
리턴 Series

tbLabel 공개적으로 프로퍼티

public string tbLabel
리턴 string

tbName 공개적으로 프로퍼티

public string tbName
리턴 string

tbSource 공개적으로 프로퍼티

public string tbSource
리턴 string

temp_pulled 공개적으로 프로퍼티

public string temp_pulled
리턴 string

temp_pulled_from_web 공개적으로 프로퍼티

public double temp_pulled_from_web
리턴 double

temperatureValue 공개적으로 프로퍼티

public double temperatureValue
리턴 double

temperature_sourceGlobal 공개적으로 프로퍼티

public string temperature_sourceGlobal
리턴 string

temporaryMixNodeList 공개적으로 프로퍼티

public List temporaryMixNodeList
리턴 List

wind_speed_pulled 공개적으로 프로퍼티

public string wind_speed_pulled
리턴 string

yCoord 공개적으로 프로퍼티

public int yCoord
리턴 int

y_coord_value 공개적으로 프로퍼티

public double y_coord_value
리턴 double