Skip to content

Commit

Permalink
Added WorkSchedule as the owner of the Rotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
point85 committed Feb 17, 2019
1 parent 16f8729 commit 8fc48b6
Show file tree
Hide file tree
Showing 21 changed files with 215 additions and 108 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ ShiftSharp depends upon .Net Framework 4.5+ due to use of the NodaTime date and

ShiftSharp has the following structure:
* `/Documentation/html` Doxygen HTML files
* `/bin/Release` compiled ShiftSharp.dll
* `.` - C# source files
* `/Resources` - localizable Message.properties file to define error messages.
* `../TestShiftSharp` - unit test C# project

The compiled ShiftSharp.dll can be found under the "resources" link.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Named</b>() (defined in <a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_named.html">Point85.ShiftSharp.Schedule.Named</a>)</td><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_named.html">Point85.ShiftSharp.Schedule.Named</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_named.html#ac2713622e23f83520f776c061d945a7e">Named</a>(string name, string description)</td><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_named.html">Point85.ShiftSharp.Schedule.Named</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#ace148e16f612bd6b6b5becc8e89ad02f">Rotation</a>()</td><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html">Point85.ShiftSharp.Schedule.Rotation</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#a13f18fb88f2a67944b365956900418a7">Rotation</a>(string name, string description)</td><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html">Point85.ShiftSharp.Schedule.Rotation</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#ad213fd076a0407a07ea0fc2c3095783c">RotationSegments</a></td><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html">Point85.ShiftSharp.Schedule.Rotation</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#a9b23998478620b9d4a74f91b116effd0">ToString</a>()</td><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html">Point85.ShiftSharp.Schedule.Rotation</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#ad213fd076a0407a07ea0fc2c3095783c">RotationSegments</a></td><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html">Point85.ShiftSharp.Schedule.Rotation</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#a9b23998478620b9d4a74f91b116effd0">ToString</a>()</td><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html">Point85.ShiftSharp.Schedule.Rotation</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#a55138119325ad63a5ace68d017c6ac7c">WorkSchedule</a></td><td class="entry"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html">Point85.ShiftSharp.Schedule.Rotation</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@
<tr class="memitem:ace148e16f612bd6b6b5becc8e89ad02f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#ace148e16f612bd6b6b5becc8e89ad02f">Rotation</a> ()</td></tr>
<tr class="memdesc:ace148e16f612bd6b6b5becc8e89ad02f"><td class="mdescLeft">&#160;</td><td class="mdescRight">default constructor <a href="#ace148e16f612bd6b6b5becc8e89ad02f">More...</a><br /></td></tr>
<tr class="separator:ace148e16f612bd6b6b5becc8e89ad02f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13f18fb88f2a67944b365956900418a7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#a13f18fb88f2a67944b365956900418a7">Rotation</a> (string name, string description)</td></tr>
<tr class="memdesc:a13f18fb88f2a67944b365956900418a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor <a href="#a13f18fb88f2a67944b365956900418a7">More...</a><br /></td></tr>
<tr class="separator:a13f18fb88f2a67944b365956900418a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a125bef0b9ca65414c7070b7c7fb852a3"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_time_period.html">TimePeriod</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#a125bef0b9ca65414c7070b7c7fb852a3">GetPeriods</a> ()</td></tr>
<tr class="memdesc:a125bef0b9ca65414c7070b7c7fb852a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the shifts and off-shifts in the rotation <a href="#a125bef0b9ca65414c7070b7c7fb852a3">More...</a><br /></td></tr>
<tr class="separator:a125bef0b9ca65414c7070b7c7fb852a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
Expand Down Expand Up @@ -126,6 +123,9 @@
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a55138119325ad63a5ace68d017c6ac7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_work_schedule.html">WorkSchedule</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#a55138119325ad63a5ace68d017c6ac7c">WorkSchedule</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a55138119325ad63a5ace68d017c6ac7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">owning work schedule <a href="#a55138119325ad63a5ace68d017c6ac7c">More...</a><br /></td></tr>
<tr class="separator:a55138119325ad63a5ace68d017c6ac7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad213fd076a0407a07ea0fc2c3095783c"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation_segment.html">RotationSegment</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html#ad213fd076a0407a07ea0fc2c3095783c">RotationSegments</a><code> [get]</code></td></tr>
<tr class="memdesc:ad213fd076a0407a07ea0fc2c3095783c"><td class="mdescLeft">&#160;</td><td class="mdescRight">working periods in the rotation <a href="#ad213fd076a0407a07ea0fc2c3095783c">More...</a><br /></td></tr>
<tr class="separator:ad213fd076a0407a07ea0fc2c3095783c"><td class="memSeparator" colspan="2">&#160;</td></tr>
Expand All @@ -148,7 +148,7 @@
<div class="textblock"><p>Class <a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_rotation.html" title="Class Rotation maintains a sequenced list of shift and off-shift time periods. ">Rotation</a> maintains a sequenced list of shift and off-shift time periods. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ace148e16f612bd6b6b5becc8e89ad02f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace148e16f612bd6b6b5becc8e89ad02f">&#9670;&nbsp;</a></span>Rotation() <span class="overload">[1/2]</span></h2>
<h2 class="memtitle"><span class="permalink"><a href="#ace148e16f612bd6b6b5becc8e89ad02f">&#9670;&nbsp;</a></span>Rotation()</h2>

<div class="memitem">
<div class="memproto">
Expand All @@ -172,51 +172,6 @@ <h2 class="memtitle"><span class="permalink"><a href="#ace148e16f612bd6b6b5becc8

<p>default constructor </p>

</div>
</div>
<a id="a13f18fb88f2a67944b365956900418a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13f18fb88f2a67944b365956900418a7">&#9670;&nbsp;</a></span>Rotation() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Point85.ShiftSharp.Schedule.Rotation.Rotation </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>description</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">

<p>Constructor </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>name of rotation</td></tr>
<tr><td class="paramname">description</td><td>description of rotation</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
Expand Down Expand Up @@ -471,6 +426,30 @@ <h2 class="memtitle"><span class="permalink"><a href="#ad213fd076a0407a07ea0fc2c

<p>working periods in the rotation </p>

</div>
</div>
<a id="a55138119325ad63a5ace68d017c6ac7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55138119325ad63a5ace68d017c6ac7c">&#9670;&nbsp;</a></span>WorkSchedule</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_point85_1_1_shift_sharp_1_1_schedule_1_1_work_schedule.html">WorkSchedule</a> Point85.ShiftSharp.Schedule.Rotation.WorkSchedule</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">

<p>owning work schedule </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
Expand Down
Loading

0 comments on commit 8fc48b6

Please sign in to comment.