C# Класс Sandbox.MainWindow

Interaction logic for MainWindow.xaml
Наследование: System.Windows.Window, IDisposable
Показать файл Открыть проект

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

Свойство Тип Описание
BitConverterResultProperty System.Windows.DependencyProperty
BitConverterValueProperty System.Windows.DependencyProperty
ByteConvertProperty System.Windows.DependencyProperty
FilterPacketsProperty System.Windows.DependencyProperty
FloatConvertProperty System.Windows.DependencyProperty
HostProperty System.Windows.DependencyProperty
IntConvertProperty System.Windows.DependencyProperty
PortProperty System.Windows.DependencyProperty
RawDataProperty System.Windows.DependencyProperty
ResultProperty System.Windows.DependencyProperty
ShortConvertProperty System.Windows.DependencyProperty
StringConvertProperty System.Windows.DependencyProperty
UIntConvertProperty System.Windows.DependencyProperty
UShortConvertProperty System.Windows.DependencyProperty

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

Метод Описание
AddPacket ( Packet p ) : void
Dispose ( ) : void
DisposeServer ( ) : void
GetPropertyInformation ( IList infoList, object obj, string propertyName, int depth ) : void
MainWindow ( ) : ArtemisComm
conn_AudioCommandPacketReceived ( object sender, PackageEventArgs e ) : void
conn_CommsIncomingPacketReceived ( object sender, PackageEventArgs e ) : void
conn_CommsOutgoingPacketReceived ( object sender, PackageEventArgs e ) : void
conn_DestroyObjectPacketReceived ( object sender, PackageEventArgs e ) : void
conn_EngGridUpdatePacketReceived ( object sender, PackageEventArgs e ) : void
conn_GamesMessagePacketReceived ( object sender, PackageEventArgs e ) : void
conn_IncomingAudioPacketReceived ( object sender, PackageEventArgs e ) : void
conn_ObjectStatusUpdatePacketReceived ( object sender, PackageEventArgs e ) : void
conn_PackageReceived ( object sender, PackageEventArgs e ) : void
conn_ShipActionPacket2Received ( object sender, PackageEventArgs e ) : void
conn_ShipActionPacket3Received ( object sender, PackageEventArgs e ) : void
conn_ShipActionPacketReceived ( object sender, PackageEventArgs e ) : void
conn_StationStatusPacketReceived ( object sender, PackageEventArgs e ) : void
conn_UndefinedPacketReceived ( object sender, PackageEventArgs e ) : void
conn_UnknownPacket1Received ( object sender, PackageEventArgs e ) : void
conn_UnknownPacket2Received ( object sender, PackageEventArgs e ) : void
conn_VersionPacketReceived ( object sender, PackageEventArgs e ) : void
conn_WelcomePacketReceived ( object sender, PackageEventArgs e ) : void

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

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

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

Метод Описание
ConvertToByteArray ( string dataForProcessing ) : byte[]
GetHexValue ( object obj ) : string
InitializeComponent ( ) : void
OnBitConvert ( object sender, RoutedEventArgs e ) : void
OnByteConvertChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnClear ( object sender, RoutedEventArgs e ) : void
OnClosed ( object sender, EventArgs e ) : void
OnConvert ( string dataForProcessing ) : string

Called when [convert].

OnConvert ( object sender, RoutedEventArgs e ) : void
OnFloatConvertChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIntConvertChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPacketTester ( object sender, RoutedEventArgs e ) : void
OnShortConvertChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnStartServer ( object sender, RoutedEventArgs e ) : void
OnStopServer ( object sender, RoutedEventArgs e ) : void
OnStringConvertChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnUIntConvertChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnUShortConvertChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
System ( int connectionId, object target ) : void

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

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

public AddPacket ( Packet p ) : void
p ArtemisComm.Packet
Результат void

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

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

Dispose() защищенный Метод

protected Dispose ( bool isDisposing ) : void
isDisposing bool
Результат void

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

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

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

public GetPropertyInformation ( IList infoList, object obj, string propertyName, int depth ) : void
infoList IList
obj object
propertyName string
depth int
Результат void

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

public MainWindow ( ) : ArtemisComm
Результат ArtemisComm

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

public conn_AudioCommandPacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_CommsIncomingPacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_CommsOutgoingPacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_DestroyObjectPacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_EngGridUpdatePacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_GamesMessagePacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_IncomingAudioPacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_ObjectStatusUpdatePacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_PackageReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_ShipActionPacket2Received ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_ShipActionPacket3Received ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_ShipActionPacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_StationStatusPacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e ArtemisComm.PackageEventArgs
Результат void

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

public conn_UndefinedPacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e PackageEventArgs
Результат void

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

public conn_UnknownPacket1Received ( object sender, PackageEventArgs e ) : void
sender object
e PackageEventArgs
Результат void

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

public conn_UnknownPacket2Received ( object sender, PackageEventArgs e ) : void
sender object
e PackageEventArgs
Результат void

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

public conn_VersionPacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e PackageEventArgs
Результат void

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

public conn_WelcomePacketReceived ( object sender, PackageEventArgs e ) : void
sender object
e PackageEventArgs
Результат void

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

BitConverterResultProperty публичное статическое свойство

public static DependencyProperty,System.Windows BitConverterResultProperty
Результат System.Windows.DependencyProperty

BitConverterValueProperty публичное статическое свойство

public static DependencyProperty,System.Windows BitConverterValueProperty
Результат System.Windows.DependencyProperty

ByteConvertProperty публичное статическое свойство

public static DependencyProperty,System.Windows ByteConvertProperty
Результат System.Windows.DependencyProperty

FilterPacketsProperty публичное статическое свойство

public static DependencyProperty,System.Windows FilterPacketsProperty
Результат System.Windows.DependencyProperty

FloatConvertProperty публичное статическое свойство

public static DependencyProperty,System.Windows FloatConvertProperty
Результат System.Windows.DependencyProperty

HostProperty публичное статическое свойство

public static DependencyProperty,System.Windows HostProperty
Результат System.Windows.DependencyProperty

IntConvertProperty публичное статическое свойство

public static DependencyProperty,System.Windows IntConvertProperty
Результат System.Windows.DependencyProperty

PortProperty публичное статическое свойство

public static DependencyProperty,System.Windows PortProperty
Результат System.Windows.DependencyProperty

RawDataProperty публичное статическое свойство

public static DependencyProperty,System.Windows RawDataProperty
Результат System.Windows.DependencyProperty

ResultProperty публичное статическое свойство

public static DependencyProperty,System.Windows ResultProperty
Результат System.Windows.DependencyProperty

ShortConvertProperty публичное статическое свойство

public static DependencyProperty,System.Windows ShortConvertProperty
Результат System.Windows.DependencyProperty

StringConvertProperty публичное статическое свойство

public static DependencyProperty,System.Windows StringConvertProperty
Результат System.Windows.DependencyProperty

UIntConvertProperty публичное статическое свойство

public static DependencyProperty,System.Windows UIntConvertProperty
Результат System.Windows.DependencyProperty

UShortConvertProperty публичное статическое свойство

public static DependencyProperty,System.Windows UShortConvertProperty
Результат System.Windows.DependencyProperty