Pyramid Technologies .NET RS-232 API  1.4.4.0
RS-232 Bill Acceptor API for Pyramid Bill Validators
PyramidNETRS232.DebugBufferEntry Class Reference

Helper entry for describing serial communication transactions More...

Public Member Functions

override string ToString ()
 Returns Flow :: Data :: Timestamp More...
 

Static Public Member Functions

static string ByteArrayToString (byte[] ba)
 Convert byte[] to a single-byte hex formatted string More...
 

Public Attributes

string PrintableData => ByteArrayToString(Data)
 Hex formatted byte[] data as 0xHH format More...
 

Properties

byte[] Data [get]
 Byte[] data that was transmitted More...
 
Flows Flow [get]
 Returns Master or Slave More...
 
string Timestamp [get]
 Retrurns minutes:seconds:milliseconds timestamp relative to epoch More...
 
string RealTime [get]
 Returns the PC time the packet was collected More...
 
string DecodedData [get]
 byte[] decoded into known RS-232 messages More...
 

Detailed Description

Helper entry for describing serial communication transactions

Definition at line 9 of file DebugBuffer.cs.

Member Function Documentation

◆ ByteArrayToString()

static string PyramidNETRS232.DebugBufferEntry.ByteArrayToString ( byte[]  ba)
static

Convert byte[] to a single-byte hex formatted string

Parameters
ba
Returns

Definition at line 98 of file DebugBuffer.cs.

◆ ToString()

override string PyramidNETRS232.DebugBufferEntry.ToString ( )

Returns Flow :: Data :: Timestamp

Returns

Definition at line 88 of file DebugBuffer.cs.

Member Data Documentation

◆ PrintableData

string PyramidNETRS232.DebugBufferEntry.PrintableData => ByteArrayToString(Data)

Hex formatted byte[] data as 0xHH format

Definition at line 34 of file DebugBuffer.cs.

Property Documentation

◆ Data

byte [] PyramidNETRS232.DebugBufferEntry.Data
get

Byte[] data that was transmitted

Definition at line 29 of file DebugBuffer.cs.

◆ DecodedData

string PyramidNETRS232.DebugBufferEntry.DecodedData
get

byte[] decoded into known RS-232 messages

Definition at line 54 of file DebugBuffer.cs.

◆ Flow

Flows PyramidNETRS232.DebugBufferEntry.Flow
get

Returns Master or Slave

Definition at line 39 of file DebugBuffer.cs.

◆ RealTime

string PyramidNETRS232.DebugBufferEntry.RealTime
get

Returns the PC time the packet was collected

Definition at line 49 of file DebugBuffer.cs.

◆ Timestamp

string PyramidNETRS232.DebugBufferEntry.Timestamp
get

Retrurns minutes:seconds:milliseconds timestamp relative to epoch

Definition at line 44 of file DebugBuffer.cs.


The documentation for this class was generated from the following file: