C# 클래스 IBE.MTCommandersLog.CommandersLog

파일 보기 프로젝트 열기: Duke-Jones/ED-IBE 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_GUI tabCommandersLog

공개 메소드들

메소드 설명
CommandersLog ( ) : System

constructor

JournalEventRecieved ( object sender, FileScanner e ) : void

event-worker for JournalEventRecieved-event

LoadSystemComboBoxData ( string systemString, ComboBox cBox ) : void

loads only the systems matching the current input

SaveEvent ( CommandersLogEvent Event ) : void

saving the data of the datarow, saves new entrys if the timestamp is not existingClassification, otherwise existingClassification data will be changed

SaveEvent ( System.DateTime EventDate, String System, String Station, String Cargo, String CargoAction, int CargoVolume, Int32 CreditsTransAction, Int32 Credits_Total, String EventType, String Notes, double Distance = null ) : void

saving the data of the datarow, saves new entrys if the timestamp is not existingClassification, otherwise existingClassification data will be changed

UnregisterJournalScanner ( ) : void

unregister the LogfileScanner

createMarketdataCollectedEvent ( ) : void

creates a MarketDataCollected-event for the current station

m_ExternalDataInterface_ExternalDataEvent ( object sender, IBE e ) : void
registerExternalTool ( IBE ExternalDataInterface ) : void

register the external tool in the CommandersLog for the DataEvent

registerJournalScanner ( FileScanner journalScanner ) : void

register the LogfileScanner in the CommandersLog for the DataEvent

unregisterExternalTool ( ) : void

unregister the LogfileScanner

보호된 메소드들

메소드 설명
OnDataChanged ( DataChangedEventArgs e ) : void

비공개 메소드들

메소드 설명
DeleteRows ( System.Windows.Forms.DataGridViewSelectedRowCollection markedRows ) : void

deletes the rows in the database

InitRetriever ( ) : int

initialization of the dataretriever object (for DGV virtual mode)

SaveEvent ( dsEliteDB ChangedData ) : void

saving the data of the datarow, saves new entrys if the timestamp is not existingClassification, otherwise existingClassification data will be changed

prepareCmb_EventTypes ( ComboBox_ro &theCombobox, ComboBox_ro theReferenceCombobox = null ) : void

prepares the values of the comoboboxes

메소드 상세

CommandersLog() 공개 메소드

constructor
public CommandersLog ( ) : System
리턴 System

JournalEventRecieved() 공개 메소드

event-worker for JournalEventRecieved-event
public JournalEventRecieved ( object sender, FileScanner e ) : void
sender object
e FileScanner
리턴 void

LoadSystemComboBoxData() 공개 메소드

loads only the systems matching the current input
public LoadSystemComboBoxData ( string systemString, ComboBox cBox ) : void
systemString string
cBox System.Windows.Forms.ComboBox
리턴 void

OnDataChanged() 보호된 메소드

protected OnDataChanged ( DataChangedEventArgs e ) : void
e DataChangedEventArgs
리턴 void

SaveEvent() 공개 메소드

saving the data of the datarow, saves new entrys if the timestamp is not existingClassification, otherwise existingClassification data will be changed
public SaveEvent ( CommandersLogEvent Event ) : void
Event CommandersLogEvent
리턴 void

SaveEvent() 공개 메소드

saving the data of the datarow, saves new entrys if the timestamp is not existingClassification, otherwise existingClassification data will be changed
public SaveEvent ( System.DateTime EventDate, String System, String Station, String Cargo, String CargoAction, int CargoVolume, Int32 CreditsTransAction, Int32 Credits_Total, String EventType, String Notes, double Distance = null ) : void
EventDate System.DateTime
System String
Station String
Cargo String
CargoAction String
CargoVolume int
CreditsTransAction System.Int32
Credits_Total System.Int32
EventType String
Notes String
Distance double
리턴 void

UnregisterJournalScanner() 공개 메소드

unregister the LogfileScanner
public UnregisterJournalScanner ( ) : void
리턴 void

createMarketdataCollectedEvent() 공개 메소드

creates a MarketDataCollected-event for the current station
public createMarketdataCollectedEvent ( ) : void
리턴 void

m_ExternalDataInterface_ExternalDataEvent() 공개 메소드

public m_ExternalDataInterface_ExternalDataEvent ( object sender, IBE e ) : void
sender object
e IBE
리턴 void

registerExternalTool() 공개 메소드

register the external tool in the CommandersLog for the DataEvent
public registerExternalTool ( IBE ExternalDataInterface ) : void
ExternalDataInterface IBE
리턴 void

registerJournalScanner() 공개 메소드

register the LogfileScanner in the CommandersLog for the DataEvent
public registerJournalScanner ( FileScanner journalScanner ) : void
journalScanner FileScanner
리턴 void

unregisterExternalTool() 공개 메소드

unregister the LogfileScanner
public unregisterExternalTool ( ) : void
리턴 void

프로퍼티 상세

m_GUI 공개적으로 프로퍼티

public tabCommandersLog,IBE.MTCommandersLog m_GUI
리턴 tabCommandersLog