Table of Contents

Class Inputs

Namespace
DuetAPI.ObjectModel
Assembly
DuetAPI.dll

List holding information about the available G/M/T-code channels

public class Inputs : StaticModelCollection<InputChannel?>, IList<InputChannel?>, ICollection<InputChannel?>, IList, ICollection, IReadOnlyList<InputChannel?>, IReadOnlyCollection<InputChannel?>, IEnumerable<InputChannel?>, IEnumerable, IModelCollection, IStaticModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyCollectionChanged
Inheritance
Inputs
Implements
Inherited Members

Remarks

During runtime some elements may be replaced with null if they are not available

Constructors

Inputs()

Default constructor of this class

public Inputs()

Fields

Total

Total number of supported input channel

public static readonly int Total

Field Value

int

ValidChannels

Enumeration of valid code channels

public static readonly CodeChannel[] ValidChannels

Field Value

CodeChannel[]

Properties

Autopause

G/M/T-code chanel for auto pause events

[JsonIgnore]
public InputChannel? Autopause { get; }

Property Value

InputChannel

Aux

G/M/T-code channel for AUX (UART/PanelDue)

[JsonIgnore]
public InputChannel? Aux { get; }

Property Value

InputChannel

Daemon

Code channel that executes the daemon process

[JsonIgnore]
public InputChannel? Daemon { get; }

Property Value

InputChannel

File

G/M/T-code channel for primary file prints

[JsonIgnore]
public InputChannel? File { get; }

Property Value

InputChannel

File2

G/M/T-code channel for secondary file prints

[JsonIgnore]
public InputChannel? File2 { get; }

Property Value

InputChannel

Remarks

May not be available if async moves are not supported

HTTP

G/M/T-code channel for HTTP requests

[JsonIgnore]
public InputChannel? HTTP { get; }

Property Value

InputChannel

this[CodeChannel]

Index operator for easy access via an CodeChannel value

public InputChannel? this[CodeChannel channel] { get; }

Parameters

channel CodeChannel

Channel to retrieve information about

Property Value

InputChannel

Information about the code channel

LCD

G/M/T-code channel for AUX (UART/PanelDue)

[JsonIgnore]
public InputChannel? LCD { get; }

Property Value

InputChannel

Queue

G/M/T-code channel for the primary code queue

[JsonIgnore]
public InputChannel? Queue { get; }

Property Value

InputChannel

Queue2

G/M/T-code channel for the secondary code queue

[JsonIgnore]
public InputChannel? Queue2 { get; }

Property Value

InputChannel

Remarks

May not be available if async moves are not supported

SBC

Default G/M/T-code channel for generic codes

[JsonIgnore]
public InputChannel? SBC { get; }

Property Value

InputChannel

Telnet

G/M/T-code channel for Telnet requests

[JsonIgnore]
public InputChannel? Telnet { get; }

Property Value

InputChannel

Trigger

G/M/T-code channel for running triggers or config.g

[JsonIgnore]
public InputChannel? Trigger { get; }

Property Value

InputChannel

USB

G/M/T-code channel for USB

[JsonIgnore]
public InputChannel? USB { get; }

Property Value

InputChannel

USB2

G/M/T-code channel for the secondary USB channel

[JsonIgnore]
public InputChannel? USB2 { get; }

Property Value

InputChannel

Remarks

May not be available if async moves are not supported

See Also