edit-task
Home
Up
Delete
Task Name:
Task Description:
NEW class Step, based on Task,
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">[ PAGE app_code/Step.cs ]</h1> <h2>[WHAT]</h2> <ol> <li>[ def ] class to work with Step objects</li> <li>[ args ] none </li> </ol> <h2>[WHY]</h2> <ol> <li><strong>[Properties]</strong></li> <ol> <li>] id_step,</li> <li>] name_step,</li> <li>] description_step,</li> <li>] content_step,</li> <li>] format_content,</li> <li>] priority,</li> <li>] sequence,</li> <li>] owner</li> </ol> <li><strong>[Constructors]</strong></li> <ol> <li>] Step()</li> <li>] Step(id)</li> </ol> <li><strong>[Methods]</strong></li> <ol> <li>] add()</li> <li>] static add(args[])</li> <li>] edit() </li> <li>] static edit(args[])</li> <li>] delete()</li> <li>] static delete(id)</li> <li>] getMax()</li> <li>] import()</li> </ol></ol> <h2>[WHERE]</h2> <ol> <li>[ called from] </li> <ol> <li>] view steps -</li> <li>] view step -</li> <li>] edit step -</li> <li>] add step - </li> </ol></ol> <h2>[WHEN]</h2> <ol> <li>]</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>] </li> </ol> <h2>[HOW-TO]</h2> <ol> <li>]</li> </ol> <h2>[REFERENCE]</h2> <ol> <li>] PAGE Step.cs -<a href="/view/task?id=5634" target="_blank">v-001</a> - </li> <li>] PAGE Step.cs -<a href="/view/task?id=5635" target="_blank">v-002</a> - </li> </ol><hr /> <h1 style="text-align: center;">developer implementation</h1> <h2>[.process]</h2> <ol> <li> </li> </ol> <h2>[.notes]</h2> <ol> <li> </li> </ol> <h2>[.by_date]</h2> <ol> <li>[YYYY-mm-DD]</li> </ol><hr /> <h1 style="text-align: center;">status<span style="font-size: 10px;"> </span></h1> <h2>[previously]</h2> <div><ol> <li><strong>x] 2013-05-01 CREATE new class</strong>, </li> <ol> <li>x] used Task.cs as template</li> <li>*] looks like sServer, aApp and Procedure classes already exist, (dont know about implementation0</li> <li>x] ADDED feild to public.steps - created</li> </ol> <li><strong>i] PRB ERROR cannot convert mysql datetime to datetime</strong></li> <ol> <li>x] WA = </li> <li>x] changed field in "steps" from "timestamp" to "datetime"</li> <li>x] filled exisiting fields with value of 2013-05-02 21:00:00 </li> <li>i] PRB on pg view/steps - same conversion error, doesnt use object code </li> </ol> <li><strong>2013-05-02 - class Step </strong></li> <ol> <li>] REM duration start time * 2 or 3 </li> <li>] ADDED sequence property </li> <li>] ADDED owner property </li> <li>] TEMP remove FROM add() method - start , duration, priority </li> <li>] TEMP modify qryStepAdd const - remove above fields </li> <li>] ADD - </li> </ol></ol></div> <h2>[currently]</h2> <ol> <li>] ERROR REM getSteps in procedure l# 358</li> </ol> <h2>[next]</h2> <ol> <li><strong>]</strong></li> </ol>