Class JobActivitySeries
Wraps a series.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class JobActivitySeries : JTObject
Constructors
JobActivitySeries(Int32)
Creates a new JobActivitySeries for update purposes.
Declaration
public JobActivitySeries(int id_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | id_ | Identifies the series to be updated. |
Properties
ActivityTypeId
Type of the activities contained in this series.
Declaration
public int ActivityTypeId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ActivityTypeName
Type name of the activities contained in this series.
Declaration
public string ActivityTypeName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
JobActivitySeriesId
JobActivitySeries id.
Declaration
public int JobActivitySeriesId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
JobActivitySeriesName
JobActivitySeries name.
Declaration
public string JobActivitySeriesName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
JobId
Job to which this series belongs.
Declaration
public int JobId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
JobName
Name of Job to which this series belongs.
Declaration
public string JobName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Length
Number of activities in this series.
Declaration
public int Length { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ScheduledTime
Optional default scheduled time to be used for activities included in this series.
Declaration
public DateTime? ScheduledTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> |
WorkDays
Indicates which days of the week are considered 'work' days for this series.
Declaration
public JobActivitySeries.WorkDays_Enum WorkDays { get; set; }
Property Value
| Type | Description |
|---|---|
| JobActivitySeries.WorkDays_Enum |
Methods
DisplayableWorkDays(JobActivitySeries.WorkDays_Enum, String)
Returns a human-readable interpretation of the enumeration's value.
Declaration
public static string DisplayableWorkDays(JobActivitySeries.WorkDays_Enum workDays_, string listSeparator_ = ", ")
Parameters
| Type | Name | Description |
|---|---|---|
| JobActivitySeries.WorkDays_Enum | workDays_ | An OR of work days. |
| System.String | listSeparator_ | Optional separator to be used when building the list of days (defaults to ", "). |
Returns
| Type | Description |
|---|---|
| System.String | A string representing the selected days. |