Class Inputs
List holding information about the available G/M/T-code channels
Inheritance
Implements
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public sealed class Inputs : ModelCollection<InputChannel?>, IList<InputChannel?>, ICollection<InputChannel?>, IReadOnlyList<InputChannel?>, IReadOnlyCollection<InputChannel?>, IEnumerable<InputChannel?>, IList, ICollection, IEnumerable, IModelCollection, IModelObject, ICloneable, INotifyPropertyChanged, INotifyCollectionChanged
Remarks
During runtime some elements may be replaced with null if they are not available
Constructors
Inputs()
Constructor of this class
Declaration
public Inputs()
Fields
Total
Total number of supported input channel
Declaration
public static readonly int Total
Field Value
| Type | Description |
|---|---|
| int |
ValidChannels
Enumeration of valid code channels
Declaration
public static readonly CodeChannel[] ValidChannels
Field Value
| Type | Description |
|---|---|
| CodeChannel[] |
Properties
Autopause
G/M/T-code chanel for auto pause events
Declaration
[JsonIgnore]
public InputChannel? Autopause { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
Aux
G/M/T-code channel for AUX (UART/PanelDue)
Declaration
[JsonIgnore]
public InputChannel? Aux { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
Daemon
Code channel that executes the daemon process
Declaration
[JsonIgnore]
public InputChannel? Daemon { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
File
G/M/T-code channel for primary file prints
Declaration
[JsonIgnore]
public InputChannel? File { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
File2
G/M/T-code channel for secondary file prints
Declaration
[JsonIgnore]
public InputChannel? File2 { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
Remarks
May not be available if async moves are not supported
HTTP
G/M/T-code channel for HTTP requests
Declaration
[JsonIgnore]
public InputChannel? HTTP { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
this[CodeChannel]
Index operator for easy access via an CodeChannel value
Declaration
public InputChannel? this[CodeChannel channel] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| CodeChannel | channel | Channel to retrieve information about |
Property Value
| Type | Description |
|---|---|
| InputChannel | Information about the code channel |
LCD
G/M/T-code channel for AUX (UART/PanelDue)
Declaration
[JsonIgnore]
public InputChannel? LCD { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
Queue
G/M/T-code channel for the primary code queue
Declaration
[JsonIgnore]
public InputChannel? Queue { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
Queue2
G/M/T-code channel for the secondary code queue
Declaration
[JsonIgnore]
public InputChannel? Queue2 { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
Remarks
May not be available if async moves are not supported
SBC
Default G/M/T-code channel for generic codes
Declaration
[JsonIgnore]
public InputChannel? SBC { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
Telnet
G/M/T-code channel for Telnet requests
Declaration
[JsonIgnore]
public InputChannel? Telnet { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
Trigger
G/M/T-code channel for running triggers or config.g
Declaration
[JsonIgnore]
public InputChannel? Trigger { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |
USB
G/M/T-code channel for USB
Declaration
[JsonIgnore]
public InputChannel? USB { get; }
Property Value
| Type | Description |
|---|---|
| InputChannel |