C# 클래스 IBE.EDDN.EDDNCommunicator

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

Private Properties

프로퍼티 타입 설명
ConvertCommodityV3_To_CSVRows String[]
JournalEventRecieved void
RecievedEDDNData void
SendCommodityData_i void
SendDelayTimerCommodity_Elapsed void
SendDelayTimerJournal_Elapsed void
SendDelayTimerMarket_Elapsed void
SendDelayTimerOutfitting_Elapsed void
SendDelayTimerShipyard_Elapsed void
SendJournalData_i void
SendMarketData_i void
SendOutfittingData_i void
SendShipyardData_i void
UpdateRawData void
UpdateRejectedData void
UpdateStatisticData void
UpdateStatisticDataMsg void

공개 메소드들

메소드 설명
ActivateSender ( ) : void

activatesender the sender

DeactivateSender ( ) : void

deactivates the sender

Dispose ( ) : void
EDDNCommunicator ( ) : System
RegisterJournalScanner ( FileScanner journalScanner ) : void
SendCommodityData ( JObject dataObject ) : void

send the commodity data of this station

SendJournalData ( JObject dataObject ) : void

send the journal data

SendOutfittingData ( JObject dataObject ) : void

send the outfitting data of this station

SendShipyardData ( JObject dataObject ) : void

send the shipyard data of this station

SendingReset ( ) : void
StartEDDNListening ( ) : void

starts EDDN-listening (if already started the EDDN-lister will be stopped and restarted)

StopEDDNListening ( ) : void

stops EDDN-listening if started

UserIdentification ( ) : String

checks and gets the EDDN id

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
OnLocationChanged ( DataChangedEventArgs e ) : void
OnLocationChanged ( DataTransmittedEventArgs e ) : void

비공개 메소드들

메소드 설명
ConvertCommodityV3_To_CSVRows ( JObject commodityV3Data ) : String[]
JournalEventRecieved ( object sender, FileScanner e ) : void

event-worker for JournalEventRecieved-event

RecievedEDDNData ( object sender, EDDN e ) : void

processing of the recieved data

SendCommodityData_i ( ) : void

internal send routine for registered data: It's called by the delay-timer "_SendDelayTimer_Commodity"

SendDelayTimerCommodity_Elapsed ( object source, System e ) : void

timer routine for sending all registered commoditydata to EDDN

SendDelayTimerJournal_Elapsed ( object source, System e ) : void

timer routine for sending all registered data to EDDN

SendDelayTimerMarket_Elapsed ( object source, System e ) : void

timer routine for sending all registered commoditydata to EDDN

SendDelayTimerOutfitting_Elapsed ( object source, System e ) : void

timer routine for sending all registered data to EDDN

SendDelayTimerShipyard_Elapsed ( object source, System e ) : void

timer routine for sending all registered data to EDDN

SendJournalData_i ( ) : void

internal send routine for registered data: It's called by the delay-timer "_SendDelayTimer_Commodity"

SendMarketData_i ( ) : void

internal send routine for registered data: It's called by the delay-timer "_SendDelayTimer_Commodity"

SendOutfittingData_i ( ) : void

internal send routine for registered data: It's called by the delay-timer "_SendDelayTimer_Commodity"

SendShipyardData_i ( ) : void

internal send routine for registered data: It's called by the delay-timer "_SendDelayTimer_Commodity"

UpdateRawData ( String info ) : void

updates the content of the "recieve" data

UpdateRejectedData ( String info ) : void

updates the content of the "implausible" data

UpdateStatisticData ( int dataCount, string SoftwareID, String relay, String commander ) : void

refreshes the info about software versions and recieved messages

UpdateStatisticDataMsg ( enMessageTypes mType ) : void

refreshes the info about recieved messagetypes

메소드 상세

ActivateSender() 공개 메소드

activatesender the sender
public ActivateSender ( ) : void
리턴 void

DeactivateSender() 공개 메소드

deactivates the sender
public DeactivateSender ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EDDNCommunicator() 공개 메소드

public EDDNCommunicator ( ) : System
리턴 System

OnLocationChanged() 보호된 메소드

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

OnLocationChanged() 보호된 메소드

protected OnLocationChanged ( DataTransmittedEventArgs e ) : void
e DataTransmittedEventArgs
리턴 void

RegisterJournalScanner() 공개 메소드

public RegisterJournalScanner ( FileScanner journalScanner ) : void
journalScanner FileScanner
리턴 void

SendCommodityData() 공개 메소드

send the commodity data of this station
public SendCommodityData ( JObject dataObject ) : void
dataObject JObject
리턴 void

SendJournalData() 공개 메소드

send the journal data
public SendJournalData ( JObject dataObject ) : void
dataObject JObject
리턴 void

SendOutfittingData() 공개 메소드

send the outfitting data of this station
public SendOutfittingData ( JObject dataObject ) : void
dataObject JObject
리턴 void

SendShipyardData() 공개 메소드

send the shipyard data of this station
public SendShipyardData ( JObject dataObject ) : void
dataObject JObject
리턴 void

SendingReset() 공개 메소드

public SendingReset ( ) : void
리턴 void

StartEDDNListening() 공개 메소드

starts EDDN-listening (if already started the EDDN-lister will be stopped and restarted)
public StartEDDNListening ( ) : void
리턴 void

StopEDDNListening() 공개 메소드

stops EDDN-listening if started
public StopEDDNListening ( ) : void
리턴 void

UserIdentification() 공개 메소드

checks and gets the EDDN id
public UserIdentification ( ) : String
리턴 String