Table of Contents

Class SessionMessagePack

Namespace
Hi.MachiningProcs
Assembly
HiMech.dll

Represents a package containing a machining message and its associated context.

public class SessionMessagePack
Inheritance
SessionMessagePack
Inherited Members
Extension Methods

Constructors

SessionMessagePack(SessionMessageHost, SessionMessage)

Initializes a new instance of the SessionMessagePack class.

public SessionMessagePack(SessionMessageHost host, SessionMessage msg)

Parameters

host SessionMessageHost

The session message host.

msg SessionMessage

The machining message.

Properties

Host

Gets the host that contains this message pack.

public SessionMessageHost Host { get; }

Property Value

SessionMessageHost

Index

Gets the index of the message in the collection.

public int Index { get; }

Property Value

int

Message

Gets the message text.

public string Message { get; }

Property Value

string

SessionMessage

Gets the machining message contained in this pack.

public SessionMessage SessionMessage { get; }

Property Value

SessionMessage

SourceCommand

Gets the source command that generated this message.

public ISourceCommand SourceCommand { get; }

Property Value

ISourceCommand

Tags

Gets the tags associated with the message.

public HashSet<string> Tags { get; }

Property Value

HashSet<string>