Table of Contents

Class PulsedFilamentMonitor

Namespace
DuetAPI.ObjectModel
Assembly
DuetAPI.dll

Information about a pulsed filament monitor

public class PulsedFilamentMonitor : FilamentMonitor, INotifyPropertyChanging, IDynamicModelObject, IModelObject, ICloneable, INotifyPropertyChanged
Inheritance
PulsedFilamentMonitor
Implements
Inherited Members

Constructors

PulsedFilamentMonitor()

Constructor of this class

public PulsedFilamentMonitor()

Properties

Calibrated

Calibrated properties of this filament monitor

public PulsedFilamentMonitorCalibrated? Calibrated { get; set; }

Property Value

PulsedFilamentMonitorCalibrated

Configured

Configured properties of this filament monitor

public PulsedFilamentMonitorConfigured Configured { get; }

Property Value

PulsedFilamentMonitorConfigured

Position

Current position of the filament monitor (in mm)

public float Position { get; set; }

Property Value

float

Methods

Assign(IDynamicModelObject)

Assign the properties from another instance. This is required to update model properties which do not have a setter

public override IDynamicModelObject? Assign(IDynamicModelObject from)

Parameters

from IDynamicModelObject

Other instance

Returns

IDynamicModelObject

Updated instance

Clone()

Clone this instance

public override object Clone()

Returns

object

Cloned instance

Remarks

This method is auto-generated

GeneratedUpdateFromJson(JsonElement, bool)

Update this instance from a given JSON element

public override IDynamicModelObject? GeneratedUpdateFromJson(JsonElement jsonElement, bool ignoreSbcProperties)

Parameters

jsonElement JsonElement

Element to update this intance from

ignoreSbcProperties bool

Whether SBC properties are ignored

Returns

IDynamicModelObject

Updated instance

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data

GeneratedUpdateFromJsonReader(ref Utf8JsonReader, bool)

Update this instance from a given JSON element

public override IDynamicModelObject? GeneratedUpdateFromJsonReader(ref Utf8JsonReader reader, bool ignoreSbcProperties)

Parameters

reader Utf8JsonReader

Reader to update this intance from

ignoreSbcProperties bool

Whether SBC properties are ignored

Returns

IDynamicModelObject

Updated instance

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data