Table of Contents

Class JobViewModelBase

Namespace
Loehnert.Lisrt.Laser.Keyence.Jobs.ViewModels
Assembly
Loehnert.Lisrt.Laser.Keyence.dll

Represents a interface for a view model of a Job.

public abstract class JobViewModelBase : ViewAware, INotifyPropertyChangedEx, INotifyPropertyChanged, IViewAware
Inheritance
PropertyChangedBase
ViewAware
JobViewModelBase
Implements
INotifyPropertyChangedEx
IViewAware
Inherited Members
ViewAware.DefaultContext
ViewAware.Views
ViewAware.ViewAttached
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Properties

Configuration

Gets or sets the configuration.

public abstract JobViewModelConfiguration Configuration { get; set; }

Property Value

JobViewModelConfiguration

Job

Gets the job.

public abstract Job Job { get; }

Property Value

Job

Methods

CalculateMinimumBoundingRectangle()

public abstract Rectangle CalculateMinimumBoundingRectangle()

Returns

Rectangle

The minimum bounding rectangle.

HideBlock(Block)

Hides the block.

public abstract void HideBlock(Block block)

Parameters

block Block

Block to hide.

Exceptions

ArgumentException

Throw when the block does not belong to the job.

ShowBlock(Block)

Shows the block.

public abstract void ShowBlock(Block block)

Parameters

block Block

Block to show.

Exceptions

ArgumentException

Throw when the block does not belong to the job.