C# Класс WFA_psychometric_chart.Form_handler

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
idSelectedOfChart int
lb_simulation_mode_display System.Windows.Forms.Label
lineInformationFromXML List
menuStripNodeInfoValues List
menuStripNodeLineInfoValues List
nodeInformationFromXML List

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

Метод Описание
AddOrUpdateNewRecord ( string name, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
CountingDB_Item ( string db_name ) : int
DataGridView_Show_Data ( ) : void
DeleteAllTableData ( string tableName ) : void
Form_handler ( Form1_main f ) : System
HumTempCalcByCoordinate ( ) : void
InsertLineInfoToDB ( int id, int prevNodeId, int nextNodeId, Color lineColor, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesVal ) : void
InsertNodeInfoToDB ( int id, double xVal, double yVal, string source, string name, string label, Color colorValue, string showItemText ) : void
PullDataFromDB ( ) : void
ReDrawLines ( double id, int prevNodeID, int 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 source1, string name1, string label1x, string labelValueText ) : void
ReDrawingLineAndNode ( ) : void
RefreshGraph ( ) : void
ResettingLines ( ) : void
SaveConfiguration ( ) : void
SetNode ( string source, string name, string label, Color c1, string comboboxItemText1 ) : void
UpdateLineInfoToDB ( int id, int prevNodeId, int nextNodeId, Color lineColor, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesVal ) : void
UpdateNewDataFromDGV ( string name, int id ) : void
UpdateNodeInfoToDB ( int id, double xVal, double yVal, string source, string name, string label, Color colorValue, string showItemText ) : void
addCursorFunctionForLineDisconnectConnect ( MouseEventArgs e ) : void
addTemporarySeries ( ) : void
add_t_pg ( ) : void
deleteDatabaseTable ( string tableName ) : void
insertNewDataFromDGV ( string name ) : void
loadVariableInDGV2 ( ) : void
loadXMLDoc ( ) : void
plot_by_DBT_HR_process_diagram ( double DBT, double HR ) : int
plot_new_graph ( ) : void
plot_on_graph_values_process_diagram ( double dbt, double hr, double xval, double yval ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
CalculateHumidityEnthalpy ( double xVal, double yVal ) : void
Form_handler_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

LineDeterctOnMouseMove ( MouseEventArgs e ) : void
LoadNodeAndLineFromDB ( int idOfChart ) : void
NodeSelectionAndRelease ( MouseEventArgs e ) : void
ProcessDiagramMouseMoveFunction ( MouseEventArgs 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, System.Windows.Forms.DataGridViewCellCancelEventArgs e ) : void
dataGridView1_CellClick ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
dataGridView1_CellEndEdit_1 ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
dataGridView1_CellMouseClick ( object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
dataGridView1_CellValidating ( object sender, System.Windows.Forms.DataGridViewCellValidatingEventArgs e ) : void
deleteHandlerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
disconnectLineToolStripMenuItem_Click ( object sender, EventArgs e ) : void
fillDataGridView ( ) : void
insertNodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
loadSettingsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveSettingsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
statePointsToolStripMenuItem_Click ( object sender, EventArgs e ) : void

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

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

public AddOrUpdateNewRecord ( string name, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
name string
e System.Windows.Forms.DataGridViewCellEventArgs
Результат void

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

public CountingDB_Item ( string db_name ) : int
db_name string
Результат int

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

public DataGridView_Show_Data ( ) : void
Результат void

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

public DeleteAllTableData ( string tableName ) : void
tableName 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

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

public Form_handler ( Form1_main f ) : System
f Form1_main
Результат System

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

public HumTempCalcByCoordinate ( ) : void
Результат void

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

public InsertLineInfoToDB ( int id, int prevNodeId, int nextNodeId, Color lineColor, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesVal ) : void
id int
prevNodeId int
nextNodeId int
lineColor Color
lineSeriesVal System.Windows.Forms.DataVisualization.Charting.Series
Результат void

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

public InsertNodeInfoToDB ( int id, double xVal, double yVal, string source, string name, string label, Color colorValue, string showItemText ) : void
id int
xVal double
yVal double
source string
name string
label string
colorValue Color
showItemText string
Результат void

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

public PullDataFromDB ( ) : void
Результат void

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

public ReDrawLines ( double id, int prevNodeID, int nextNodeID, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesID, Color c ) : void
id double
prevNodeID int
nextNodeID int
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 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

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

public RefreshGraph ( ) : void
Результат void

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

public ResettingLines ( ) : void
Результат void

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

public SaveConfiguration ( ) : void
Результат void

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

public SetNode ( string source, string name, string label, Color c1, string comboboxItemText1 ) : void
source string
name string
label string
c1 Color
comboboxItemText1 string
Результат void

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

public UpdateLineInfoToDB ( int id, int prevNodeId, int nextNodeId, Color lineColor, System.Windows.Forms.DataVisualization.Charting.Series lineSeriesVal ) : void
id int
prevNodeId int
nextNodeId int
lineColor Color
lineSeriesVal System.Windows.Forms.DataVisualization.Charting.Series
Результат void

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

public UpdateNewDataFromDGV ( string name, int id ) : void
name string
id int
Результат void

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

public UpdateNodeInfoToDB ( int id, double xVal, double yVal, string source, string name, string label, Color colorValue, string showItemText ) : void
id int
xVal double
yVal double
source string
name string
label string
colorValue Color
showItemText string
Результат void

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

public addCursorFunctionForLineDisconnectConnect ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

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

public addTemporarySeries ( ) : void
Результат void

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

public add_t_pg ( ) : void
Результат void

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

public deleteDatabaseTable ( string tableName ) : void
tableName string
Результат void

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

public insertNewDataFromDGV ( string name ) : void
name string
Результат void

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

public loadVariableInDGV2 ( ) : void
Результат void

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

public loadXMLDoc ( ) : void
Результат void

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_process_diagram() публичный Метод

public plot_on_graph_values_process_diagram ( double dbt, double hr, double xval, double yval ) : void
dbt double
hr double
xval double
yval double
Результат void

Описание свойств

idSelectedOfChart публичное свойство

public int idSelectedOfChart
Результат int

lb_simulation_mode_display публичное свойство

public System.Windows.Forms.Label lb_simulation_mode_display
Результат System.Windows.Forms.Label

lineInformationFromXML публичное свойство

public List lineInformationFromXML
Результат List

menuStripNodeInfoValues публичное свойство

public List menuStripNodeInfoValues
Результат List

menuStripNodeLineInfoValues публичное свойство

public List menuStripNodeLineInfoValues
Результат List

nodeInformationFromXML публичное свойство

This load the file and inserts the data in database as well
public List nodeInformationFromXML
Результат List