Template:- OASIS:PlannedActivity

The PlannedActivity template describes how to represent a specific activity that is planned to take place some time in the future but is not authorized by a work order i.e. directed.

The PlannedActivity is one of a set of templates used to represent work and activities. These are summarized in Figure 1 which shows that the model contains templates for:

The actual templates are:

The SysML Block Definition diagram in Figure 2 shows how an activity is represented in the PLCS PSM.

Template Properties

The following SysML Part, Reference, and Value properties are defined for this template:

References:
methodPlanned [0..1] (Block: Ap239Ap233Psm:ActivityMethod)
the method by which the activity is planned to be undertaken
creator [0..1] (Block: Ap239Ap233Psm:OrganizationOrPersonInOrganizationSelect)
the creator or initiator of the planned activity
applicableTo [0..*] (Block: Ap239Ap233Psm:ActivityAssignmentSelect)
that which the activity is applicable to
project [0..*] (Template: OASIS:Project)
The project under which the activity is to be performed.
contract [0..*] (Template: OASIS:Contract)
The contract under which the activity is to be performed.
location [0..*] (Block: Ap239Ap233Psm:Location)
The location where the activity is to be performed.
Parts:
ids [1..*] (Template: OASIS:Identification)
The collection of identifiers of the activity.
The reference data used in Template: OASIS:Identification is restricted as follows:
RDL constraint 1:
The id must be classified as an Activity_identification_code or a subclass thereof.
The reference data for:
OASIS:Identification.role -> ExternalOwlClass.class
is restricted to the following class or a subclass:
descriptions [0..*] (Template: OASIS:Descriptor)
the descriptions of the activity
classifications [0..*] (Template: OASIS:Classifier)
The classification of the activity.
The reference data used in Template: OASIS:Classifier is restricted as follows:
RDL constraint 1:
The reference data for:
OASIS:Classifier.class -> ExternalOwlClass.class
is restricted to the following class or a subclass:
status [0..1] (Template: OASIS:StateAssertion)
the status of the activity
The reference data used in Template: OASIS:StateAssertion is restricted as follows:
RDL constraint 1:
The status is represented subclasses of State_of_activity.
The reference data for:
OASIS:StateAssertion.sameAs -> ExternalOwlObject.individual
is restricted to the following class or a subclass:
names [0..*] (Template: OASIS:Name)
The names of the activity
Values:
plannedStartDate [0..1] (Block: Ap239Ap233Psm:DateTimeString)
the date and time when the activity is planned to start.

The following constraint, normally a uniqueness constraint, is applicable when instantiating the DateTimeString:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: XSDDATETIME
Specification: (OCL2.0)
self.matches('[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z')
plannedEndDate [0..1] (Block: Ap239Ap233Psm:DateTimeString)
the date and time when the activity planned to end.

The following constraint, normally a uniqueness constraint, is applicable when instantiating the DateTimeString:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: XSDDATETIME
Specification: (OCL2.0)
self.matches('[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z')