Table of Contents

Class RegionNames

Namespace
Acuit.Pinpoint.Workstation
Assembly
Acuit.Pinpoint.Workstation.Interfaces.dll

Names for Prism regions in the Acuit Pinpoint Workstation user interface.

public static class RegionNames
Inheritance
RegionNames
Inherited Members

Remarks

The top-level window regions, always visible, are laid out like this:

MainMenuRegion1
StatusRegionToolBarRegion1
MainTopPlugInRegion1
MainRegion
MainPlugInRegion1
HealthProblemsRegion
AlarmsRegion
StatusBarRegion

For manned workstations, the MainRegion region will contain a view laid out like this:

Model/serial #, Info/Model buttons →
Components →
Buyoffs
MannedUnitButtonPlugInRegion1
Defects, repairs lists →
Unused
Defect entry area →
Release button
MannedUnitSinglePlugInRegion1
MannedUnitPlugInRegion1

For no-scan workstations, the MainRegion region will contain a view laid out like this:

NoScanPlugInRegion1
NoScanSinglePlugInRegion1

Secondary screens will be laid out like this, appearing when any content is registered to the region and the secondary screen exists:

Screen2Region, Screen3Region, etc.1
1 Plug-ins can add items to this region. See the region remarks for details.
→ Region expands horizontally to fill available area (otherwise, the region is sized to the content).
↓ Region expands vertically to fill available area (otherwise, the region is sized to the content).

Fields

AlarmsRegion

The name of the region at the bottom of the user interface that contains the alarm display.

public const string AlarmsRegion = "AlarmsRegion"

Field Value

string

Remarks

This region contains a single item and is managed by Acuit Pinpoint Workstation.

HealthProblemsRegion

The name of the region at the bottom of the user interface that contains the health problems display.

public const string HealthProblemsRegion = "HealthProblemsRegion"

Field Value

string

Remarks

This region contains a single item and is managed by Acuit Pinpoint Workstation.

ItemScanButtonRegion

The name of the region in the "item scan" window, to the right of the "Clear" and "Cancel" (if allowed) buttons, allowing additional buttons to be added.

public const string ItemScanButtonRegion = "ItemScanButtonRegion"

Field Value

string

Examples

To add buttons consistent in appearance to the existing Pinpoint buttons, use XAML like this:

<Button Style="{StaticResource TouchButton}" Margin="{StaticResource DialogMarginThickness}" Content="Your Command" ... />

Remarks

This region can contain multiple items, stacked horizontally. Acuit Pinpoint Workstation populates this region with buttons, but plug-ins can add additional items.

MainMenuRegion

The name of the region at the top of the user interface that contains the main menu.

public const string MainMenuRegion = "MainMenuRegion"

Field Value

string

Remarks

This region contains a single item and is managed by Acuit Pinpoint Workstation.

This region does not scale with the view scale setting.

Plug-ins can add menu items via the IMenuRegistry service.

MainPlugInRegion

The name of the region between the MainRegion and AlarmsRegion regions where plug-ins can add views, near the bottom of the user interface.

public const string MainPlugInRegion = "MainPlugInRegion"

Field Value

string

Remarks

This region can contain multiple items, which are stacked vertically. Plug-in views can use Microsoft.Practices.Prism.Regions.ViewSortHintAttribute values to control their relative arrangement.

This region is always visible.

MainRegion

The name of the region filling the center of the user interface, where most interaction takes place.

public const string MainRegion = "MainRegion"

Field Value

string

Remarks

This region contains a single item and is managed by Acuit Pinpoint Workstation.

This region hosts navigable views.

MainTopPlugInRegion

The name of the region between the StatusRegion and MainRegion regions where plug-ins can add views, near the top of the user interface.

public const string MainTopPlugInRegion = "MainTopPlugInRegion"

Field Value

string

Remarks

This region can contain multiple items, which are stacked vertically. Plug-in views can use Microsoft.Practices.Prism.Regions.ViewSortHintAttribute values to control their relative arrangement.

This region is always visible.

MannedUnitButtonPlugInRegion

The name of the region at the far right of the manned workstation unit area, just below the buyoff buttons, where plug-ins can add their views.

public const string MannedUnitButtonPlugInRegion = "MannedUnitButtonPlugInRegion"

Field Value

string

Remarks

This region can contain multiple items, stacked vertically. Plug-in views can use Microsoft.Practices.Prism.Regions.ViewSortHintAttribute values to control their relative arrangement.

This region is visible when units are being scanned at a manned workstation, after the worker logs on. It will be disabled and dimmed while waiting for a unit scan.

MannedUnitPlugInRegion

The name of the region at the far bottom of the manned workstation unit area where plug-ins can add their views.

public const string MannedUnitPlugInRegion = "MannedUnitPlugInRegion"

Field Value

string

Remarks

This region can contain multiple items, stacked vertically. Plug-in views can use Microsoft.Practices.Prism.Regions.ViewSortHintAttribute values to control their relative arrangement.

This region is visible when units are being scanned at a manned workstation, after the worker logs on. It will be disabled and dimmed while waiting for a unit scan.

If test type test strip views are configured to be shown, then they will be shown in this region, with a Microsoft.Practices.Prism.Regions.ViewSortHintAttribute of "50". Plug-in views can use Microsoft.Practices.Prism.Regions.ViewSortHintAttribute values to control their relative arrangement.

MannedUnitSinglePlugInRegion

The name of the region at the far bottom of the manned workstation unit area where a single plug-in can add its view.

public const string MannedUnitSinglePlugInRegion = "MannedUnitSinglePlugInRegion"

Field Value

string

Remarks

This region can contain a single item optionally added by a plug-in.

When a view is registered for this region, it is visible when units are being scanned at a manned workstation, after the worker logs on. It will be disabled and dimmed while waiting for a unit scan.

If a view is registered for this region, it causes some special changes to the Acuit Pinpoint Workstation user interface:

  1. The unit defects/repairs display, which normally expands to fill all available space, is hidden.
  2. This region expands to fill all available space; the plug-in can size itself dynamically, maximizing the usage of available screen space.

If no view is registered for this region, then this region does not expand to fill available space.

NoScanPlugInRegion

The name of the region making up the "no-scan" workstation user interface, where multiple plug-ins can add their views.

public const string NoScanPlugInRegion = "NoScanPlugInRegion"

Field Value

string

Remarks

This region can contain multiple items, stacked vertically. Plug-in views can use Microsoft.Practices.Prism.Regions.ViewSortHintAttribute values to control their relative arrangement.

This region is visible after a worker logs on when the station is configured for no scans.

NoScanSinglePlugInRegion

The name of the region making up the "no-scan" workstation user interface, where a single plug-in can add its view.

public const string NoScanSinglePlugInRegion = "NoScanSinglePlugInRegion"

Field Value

string

Remarks

This region can contain a single item and will expand to fill all available space.

This region is visible after a worker logs on when the station is configured for no scans.

Screen2Region

The name of the region making up the screen #2 display area, where a single view can be registered.

public const string Screen2Region = "Screen2Region"

Field Value

string

Remarks

This region can contain a single item and will expand to fill all available space.

This display area will appear as soon as any content is added to this region. It will fill the entire screen working area.

If content is registered to this region when this screen does not exist, the content will not appear anywhere.

Screen3Region

The name of the region making up the screen #3 display area, where a single view can be registered.

public const string Screen3Region = "Screen3Region"

Field Value

string

Remarks

This region can contain a single item and will expand to fill all available space.

This display area will appear as soon as any content is added to this region. It will fill the entire screen working area.

If content is registered to this region when this screen does not exist, the content will not appear anywhere.

Screen4Region

The name of the region making up the screen #4 display area, where a single view can be registered.

public const string Screen4Region = "Screen4Region"

Field Value

string

Remarks

This region can contain a single item and will expand to fill all available space.

This display area will appear as soon as any content is added to this region. It will fill the entire screen working area.

If content is registered to this region when this screen does not exist, the content will not appear anywhere.

StatusBarRegion

The name of the region at the bottom of the user interface that contains the status bar.

public const string StatusBarRegion = "StatusBarRegion"

Field Value

string

Remarks

This region contains a single item and is managed by Acuit Pinpoint Workstation.

This region does not scale with the view scale setting.

StatusRegion

The name of the region at the top of the user interface, under the main menu, where general status is displayed.

public const string StatusRegion = "StatusRegion"

Field Value

string

Remarks

This region contains a single item and is managed by Acuit Pinpoint Workstation.

ToolBarRegion

The name of the region at the top of the user interface, to the right of the status display, where top-level toolbar buttons are displayed.

public const string ToolBarRegion = "ToolBarRegion"

Field Value

string

Examples

To add buttons consistent in appearance to the existing Pinpoint buttons, use XAML like this:

<StackPanel Orientation="Horizontal">
    <Button Style="{StaticResource TouchButton}" Margin="{StaticResource DialogMarginThickness}" Content="Your Command" ... />
    <Button Style="{StaticResource TouchButton}" Margin="{StaticResource DialogMarginThickness}" Content="Your Command" ... />
</StackPanel>

Remarks

This region can contain multiple items, which are stacked horizontally. Acuit Pinpoint Workstation populates this region with buttons, but plug-ins can add additional items.

The view containing the standard Acuit Pinpoint Workstation buttons is given a Microsoft.Practices.Prism.Regions.ViewSortHintAttribute of "50". Plug-in views can use Microsoft.Practices.Prism.Regions.ViewSortHintAttribute values to control their relative arrangement.

UnitProductionQueuePlugInRegion

The name of the region in the unit production queue, to the right of the model groups list.

public const string UnitProductionQueuePlugInRegion = "UnitProductionQueuePlugInRegion"

Field Value

string

Remarks

This region can contain multiple items, stacked horizontally.

UnitScanButtonRegion

The name of the region in the "scan unit" window, to the right of the "Clear" and "Cancel" (if allowed) buttons, allowing additional buttons to be added.

public const string UnitScanButtonRegion = "UnitScanButtonRegion"

Field Value

string

Examples

To add buttons consistent in appearance to the existing Pinpoint buttons, use XAML like this:

<Button Style="{StaticResource TouchButton}" Margin="{StaticResource DialogMarginThickness}" Content="Your Command" ... />

Remarks

This region can contain multiple items, stacked horizontally. Acuit Pinpoint Workstation populates this region with buttons, but plug-ins can add additional items.

Methods

SecondaryScreenRegionFor(int)

Gets the name of the region making up a secondary screen display area, where a single view can be registered.

public static string SecondaryScreenRegionFor(int screenNumber)

Parameters

screenNumber int

The secondary screen number, which must be greater than or equal to 2.

Returns

string

The region name.

Remarks

This will return values that are the same as Screen2Region, Screen3Region, etc., but will work for any screen number.

Exceptions

ArgumentOutOfRangeException

screenNumber must be greater than or equal to 2.