Class OpPlace
Version 2.0
Modified 15-JAN-2025 13:23:34.00
Konfigurerar logisk operatörsstation för operatörskommunikation. En logisk 
operatörsstation representerar en arbetsstation, X-terminal e.dyl. 


Objektet, som placeras i utvecklingsmiljön under aktuellt $ Node-objekt, anger 
var bildfiler ska hämtas och på vilken skärm (monitor) de ska visas. 

Flera OpPlace-objekt kan konfigureras under ett $ Node-objekt. Så är fallet då 
t.ex noden innehåller dels en arbetsstation, dels en X-terminal.

Det ska till varje OpPlace-objekt finnas precis en kategori användare, dvs bara 
ett User-objekt. Om en fysiska operatörsstation ska hanteras av olika 
användarkategorier konfigureras ett OpPlace-objekt ( med tillhörande User -
objekt) per kategori. 

Då ett händelsemeddelande som kräver kvittering anländer aktiveras den 
akustiska signalen i enlighet med BellVolume och BellDelay . 

I två olika situationer kan man undvika att ideligen starta den akustiska 
signalen: 

Vid s.k. larmskurar kan man kräva en viss minsta tid från kvittering ( av 
akustisk signal eller larm) tills att en tillkommande , kvitteringskrävande 
händelse tillåts reaktivera den akustiska signalen på normalt sätt. Denna 
blockeringstid anges av TimeBeforeNextBell.

Påminnelse om okvitterade larm. För att påminna operatören, efter en 
kvittering av akustisk signal eller efter en larmkvittering, om existensen av 
okvitterade händelser ges korta akustiska signaler med perioden 
ReactivateBellTime . Efter ett visst antal sådana perioder ( 
ReactivateBellCount anger antalet) löper den s.k. påminnelsetiden ut och den 
akustiska signalen aktiveras åter på normalt sätt. Om det f.n. saknas okvitterade 
händelser och TimeBeforeNextBell > 0 kan ett tillkommande kvitterings-
krävande larm först komma att annonseras genom påminnelsefunktionen. 

Tips

På en arbetsstation kan operatörskommunikationen alltid startas från DCL- 
nivån genom kommandot: 

$ pwr_pop  


RtBody attributes pwr_sClass_OpPlace
String80 Description   Valfri text för att beskriva användarkategorin etc.
String32 UserName   ProviewR user. The user with the specified username is fetched from the
user database and determines the privileges for the operator.

If no value is assigned, or if the username is invalid, the loginframe is
displayed, where the operator can login with username and password.

Note! If XttUseOpsysUser is set in the Security object, this value is
overrided, and the username is fetched from the current operator system user.

The UserName is a constant value and can not be changed in runtime.
String256 DedicatedOpsysUser   List of operator system users, separated by comma.
Only if the user has logged in to the operator system as
one of these user he has authority to start this operator place.
String80 Display   Anger vilken monitor operatörskommunikationen ska köras mot.

Om operatörskommunikationen körs på den lokala noden och visning ska ske
på den egna monitorn ('default display') bör Display attributet lämnas blankt

Kommandot

$ show display
visar var operatörsdialogen kommer att ske. Om Transport = Local går trafiken
mellan operatörskommunikationsjobbet och aktuell monitor inte över DECnet
varför mindre resurser erfordras. Används inte Local kan mekanismen väljas
med kommandot:

$ set display/create/transport=local

Om 'default display' inte används för operatörsdialogen gäller följande för
Display attributet:

Operatörsstationen är en arbetsstation.

Syntax: :::, där Server default är 0.
Noden kan vara försedd med flera bildskärmar. Screen anger då vilken som
avses.

Exempel: PSS1::0.0

Operatörsstationen är en X-terminal.
Kontrollera / ändra DECterm-fönstrets display adress på följande sätt:
$ show log decw$display eller $ show display
$ set display/create/trans=LAT/node = LAT_.. där LAT_... ersätts med LAT
Host Name enligt Terminal Manager
Se till att Display attributet är lika med decw$display
Operatörskommunikationen startas t.ex. med
$ pwr_pop
OpWinProgram

Då GMS-bilder av typen 'code behind' används länkas dessa och placeras i en
exe-fil vars 'directory' och filnamn ska anges här.

Finns enbart kodlösa GMS-bilder lämnas attributet blankt varvid pwr_exe:ps-
cont.exe kommer att exekveras för att hantera Operator Window, formulär och
GMS-bilder.
LanguageEnum Language   Specifies language.
Boolean StartJavaProcess   Start java process.
Array of AttrRef AutoStart   The graphs of the XttGraph objects specified in this list
will be opened automatically when the operator place is started.
Array of AttrRef FastAvail   Each attribute specifies the complete name of a
XttGraph object which is to be activated by a function
button in the operator window. The buttons are are ordered
in five rows with five buttons in each row.
The first row contains buttons for FastAvail[0] - FastAvail[4],
the second for FastAvail[5] - FastAVail[9] etc.
OpWindPopMask OpWindPop   Specifies if the alarmlist should be placed
on top of the screen when an alarm arrives.
OpWindLayoutMask OpWindLayout   Specifies the layout of the operator window.
UInt32 OpWindEventNameSegments   Specifies the number of segments of the eventname shown in the
operator window alarm text. If zero, the eventname is not displayed.
Boolean AlarmBell   The bell is activated when unacknowledged alarms are present.
Float32 BellDelay   Anger, i millisekunder, fördröjningen mellan två successiva pip, d.vs två
akustiska signaler.
Boolean AttachAudio   Attach audio hardware.
OpPlaceOptionsMask Options   Operatorplace options.
- OperatorLog will turn on the operator logging when rt_xtt is started.
The logging is stored in $pwrp_log/xtt_'opplace'.log
- OperatorExendedLog will also store all mouse and motion events in the
logfile.
ColorThemeEnum ColorTheme   Color theme.
UInt32 MaxNoOfAlarms   Specifies the maximum number of contemporary alarms in
the user's alarm list.
The number should exceed the maximum number of
concurrent alarms in the system.
If the limit is exceeded, alarms might be lost.
UInt32 MaxNoOfEvents   Specifies the maximum number of contemporary events in
the user's event list, i.e. the skyline of the events.
When the number of events exceeds MaxNoOfEvents the
oldest event disappears from the list.
To this list events are sent from the message handler
in respective node. In each node the message handler
has its own skyline of events (also named MaxNoOfEvents)
defined by a MessageHandler object. In principle, the
User object's skyline of events should be selected as �
MaxNoOfEvents, added up over MaxNoOfEvents in the
MessageHandler objects in all nodes throughout the
ProviewR system, or make it simple and assign the
attribute e.g. 200.
Boolean SelectListIsUpdated   If the selectlist is modified, this attribute has to be set to notify the
modification.
Array of String80 EventSelectList   A message created by an ASup or DSup object gets the
same identity as the supervised object. Messages
produced in an application by means of mh_ApplMessage
(see ProviewR Programmer's Reference Manual) get an
identity according to the calling parameter EventName.

SelectList specifies the hierarchies from which
messages are to be sent to the user. Up to 40 different
hierarchies can be specified. If messages from e.g. a
Watchdog object in a node will be received, then the
name of the node will be specified.

Note! If the SelectList is left blank no message at all is
sent to the user.
EventTypeMask EventSelectType   Specifies the type of events that are sent to the user.
If no type is specified, all types av events are sent.
EventListMask EventListEvents   Specifies the type of events viewed in the eventlist.
Array of Objid AlarmViews   Specifies views in the alarm list.
String80 SetupScript   Setup script file.
The default script file is xtt_setup.rtt_com on the
login directory for the user. If another scriptfile
should be used, this file is specified here.
String80 Printer   Default printer.
Boolean IsDefaultOp   Used as default OpPlace if no specific OpPlace is specified.
String80 AudioDevice   Audio device.
UInt32 Monitor   Override on what monitor the operator panel will show up. Default 0
will use the primary monitor of the system. A value of 1 selects the first
monitor and so on and so forth.


Template Object
AlarmBell 1
BellDelay 2
OpWindPop 3
OpWindEventNameSegments 2
MaxNoOfAlarms 200
MaxNoOfEvents 500
Monitor 0


Attributes detail


Description Attribute
Klass Attribute
Typ String80
Flags
Kropp RtBody
Valfri text för att beskriva användarkategorin etc. 

UserName Attribute
Klass Attribute
Typ String32
Flags CONST
Kropp RtBody
 ProviewR user. The user with the specified username is fetched from the
 user database and determines the privileges for the operator.

 If no value is assigned, or if the username is invalid, the loginframe is
 displayed, where the operator can login with username and password.

 Note! If XttUseOpsysUser is set in the Security object, this value is
 overrided, and the username is fetched from the current operator system user.

 The UserName is a constant value and can not be changed in runtime.

DedicatedOpsysUser Attribute
Klass Attribute
Typ String256
Flags CONST
Kropp RtBody
 List of operator system users, separated by comma.
 Only if the user has logged in to the operator system as
 one of these user he has authority to start this operator place.

Display Attribute
Klass Attribute
Typ String80
Flags CONST
Kropp RtBody
Anger vilken monitor operatörskommunikationen ska köras mot. 

Om operatörskommunikationen körs på den lokala noden och visning ska ske 
på den egna monitorn ('default display') bör Display attributet lämnas blankt 

Kommandot 

$ show display
visar var operatörsdialogen kommer att ske. Om Transport = Local går trafiken 
mellan operatörskommunikationsjobbet och aktuell monitor inte över DECnet 
varför mindre resurser erfordras. Används inte Local kan mekanismen väljas 
med kommandot: 

$ set display/create/transport=local 

Om 'default display' inte används för operatörsdialogen gäller följande för 
Display attributet: 

Operatörsstationen är en arbetsstation.

Syntax: :::, där Server default är 0.
Noden kan vara försedd med flera bildskärmar. Screen anger då vilken som
avses.

Exempel: PSS1::0.0

Operatörsstationen är en X-terminal. 
Kontrollera / ändra DECterm-fönstrets display adress på följande sätt:
$ show log decw$display eller $ show display
$ set display/create/trans=LAT/node = LAT_.. där LAT_... ersätts med LAT
Host Name enligt Terminal Manager 
Se till att Display attributet är lika med decw$display 
Operatörskommunikationen startas t.ex. med
$ pwr_pop  
OpWinProgram 

Då GMS-bilder av typen 'code behind' används länkas dessa och placeras i en 
exe-fil vars 'directory' och filnamn ska anges här. 

Finns enbart kodlösa GMS-bilder lämnas attributet blankt varvid pwr_exe:ps- 
cont.exe kommer att exekveras för att hantera Operator Window, formulär och 
GMS-bilder. 

Language Attribute
Klass Attribute
Typ LanguageEnum
Flags
Kropp RtBody
 Specifies language.

StartJavaProcess Attribute
Klass Attribute
Typ Boolean
Flags
Kropp RtBody
 Start java process.

AutoStart Attribute
Klass Attribute
Typ Array of AttrRef
Flags ARRAY
Elements 25
Kropp RtBody
 The graphs of the XttGraph objects specified in this list
 will be opened automatically when the operator place is started.

FastAvail Attribute
Klass Attribute
Typ Array of AttrRef
Flags ARRAY
Elements 25
Kropp RtBody
 Each attribute specifies the complete name of a
 XttGraph object which is to be activated by a function
 button in the operator window. The buttons are are ordered
 in five rows with five buttons in each row.
 The first row contains buttons for FastAvail[0] - FastAvail[4],
 the second for FastAvail[5] - FastAVail[9] etc.

OpWindPop Attribute
Klass Attribute
Typ OpWindPopMask
Flags
Kropp RtBody
 Specifies if the alarmlist should be placed
 on top of the screen when an alarm arrives.

OpWindLayout Attribute
Klass Attribute
Typ OpWindLayoutMask
Flags
Kropp RtBody
 Specifies the layout of the operator window.

OpWindEventNameSegments Attribute
Klass Attribute
Typ UInt32
Flags
Kropp RtBody
 Specifies the number of segments of the eventname shown in the
 operator window alarm text. If zero, the eventname is not displayed.

AlarmBell Attribute
Klass Attribute
Typ Boolean
Flags
Kropp RtBody
 The bell is activated when unacknowledged alarms are present.

BellDelay Attribute
Klass Attribute
Typ Float32
Flags
Kropp RtBody
Anger, i millisekunder, fördröjningen mellan två successiva pip, d.vs två 
akustiska signaler. 

AttachAudio Attribute
Klass Attribute
Typ Boolean
Flags
Kropp RtBody
 Attach audio hardware.

Options Attribute
Klass Attribute
Typ OpPlaceOptionsMask
Flags
Kropp RtBody
 Operatorplace options.
 - OperatorLog will turn on the operator logging when rt_xtt is started.
   The logging is stored in $pwrp_log/xtt_'opplace'.log
 - OperatorExendedLog will also store all mouse and motion events in the
   logfile.

ColorTheme Attribute
Klass Attribute
Typ ColorThemeEnum
Flags
Kropp RtBody
 Color theme.

MaxNoOfAlarms Attribute
Klass Attribute
Typ UInt32
Flags
Kropp RtBody
 Specifies the maximum number of contemporary alarms in
 the user's alarm list.
 The number should exceed the maximum number of
 concurrent alarms in the system.
 If the limit is exceeded, alarms might be lost.

MaxNoOfEvents Attribute
Klass Attribute
Typ UInt32
Flags
Kropp RtBody
 Specifies the maximum number of contemporary events in
 the user's event list, i.e. the skyline of the events.
 When the number of events exceeds MaxNoOfEvents the
 oldest event disappears from the list.
 To this list events are sent from the message handler
 in respective node. In each node the message handler
 has its own skyline of events (also named MaxNoOfEvents)
 defined by a MessageHandler object. In principle, the
 User object's skyline of events should be selected as �
 MaxNoOfEvents, added up over MaxNoOfEvents in the
 MessageHandler objects in all nodes throughout the
 ProviewR system, or make it simple and assign the
 attribute e.g. 200.

SelectListIsUpdated Attribute
Klass Attribute
Typ Boolean
Flags STATE | INVISIBLE
Kropp RtBody
 If the selectlist is modified, this attribute has to be set to notify the
 modification.

EventSelectList Attribute
Klass Attribute
Typ Array of String80
Flags ARRAY
Elements 40
Kropp RtBody
 A message created by an ASup or DSup object gets the
 same identity as the supervised object. Messages
 produced in an application by means of mh_ApplMessage
 (see ProviewR Programmer's Reference Manual) get an
 identity according to the calling parameter EventName.

 SelectList specifies the hierarchies from which
 messages are to be sent to the user. Up to 40 different
 hierarchies can be specified. If messages from e.g. a
 Watchdog object in a node will be received, then the
 name of the node will be specified.

 Note! If the SelectList is left blank no message at all is
 sent to the user.

EventSelectType Attribute
Klass Attribute
Typ EventTypeMask
Flags
Kropp RtBody
 Specifies the type of events that are sent to the user.
 If no type is specified, all types av events are sent.

EventListEvents Attribute
Klass Attribute
Typ EventListMask
Flags
Kropp RtBody
 Specifies the type of events viewed in the eventlist.

AlarmViews Attribute
Klass Attribute
Typ Array of Objid
Flags ARRAY
Elements 25
Kropp RtBody
 Specifies views in the alarm list.

SetupScript Attribute
Klass Attribute
Typ String80
Flags
Kropp RtBody
 Setup script file.
 The default script file is xtt_setup.rtt_com on the
 login directory for the user. If another scriptfile
 should be used, this file is specified here.

Printer Attribute
Klass Attribute
Typ String80
Flags
Kropp RtBody
 Default printer.

IsDefaultOp Attribute
Klass Attribute
Typ Boolean
Flags
Kropp RtBody
 An OpPlace object can be specified as an argument to rt_xtt when
 rt_xtt is started. If no OpPlace is specified, the OpPlace object
 where IsDefaultOp is set, will be used.

AudioDevice Attribute
Klass Attribute
Typ String80
Flags
Kropp RtBody
 Audio device.

Monitor Attribute
Klass Attribute
Typ UInt32
Flags
Kropp RtBody
 Override on what monitor the operator panel will show up. Default 0
 will use the primary monitor of the system. A value of 1 selects the first
 monitor and so on and so forth.