IControl

From SkobbaPedia

Jump to: navigation, search
iControl development screenshot
iControl development screenshot

iControl is a Windows CE application for creating control reports of units with barcodes. It's running SQL Server Compact which syncronizes with with a local PC running ActiveSync.


Contents

[edit] Requirements

[edit] URS

[edit] History

  • Hendelsene lagres i databasen.


[edit] Rapporter

  • Ikke avleste enheter
  • Enheter som snart skal til kontroll

[edit] iManageMobile

Application running on mobile device using .NET Compact Framework 3.5.


[edit] iManageReporting

Application running on local machine using .NET Framework 3.5.

  • Deviation Report over Units which are checked


[edit] Implementation

  • Barcode implementation [3]

[edit] Database

Asks for the last control date for all units:

SELECT u.UnitID, (
SELECT top 1 cr.DateTime FROM ControlReports cr
WHERE cr.Unit = u.UnitID
ORDER BY cr.DateTime ASC)
FROM Units u

Same as over but with User (need optimization):

SELECT u.UnitID, ut.Name, 
(SELECT top 1 cr.DateTime FROM ControlReports cr
WHERE cr.Unit = u.UnitID
ORDER BY cr.DateTime ASC),
(SELECT top 1 cr.[User] FROM ControlReports cr
WHERE cr.Unit = u.UnitID
ORDER BY cr.DateTime ASC)
FROM Units u, UnitTypes ut
WHERE u.UnitType = ut.UnitTypeID

Same as over but with datetime parameter:

SELECT u.UnitID, ut.Name, 
(SELECT top 1 cr.DateTime FROM ControlReports cr
WHERE cr.Unit = u.UnitID
ORDER BY cr.DateTime ASC),
(SELECT top 1 cr2.[User] FROM ControlReports cr2
WHERE cr2.Unit = u.UnitID
ORDER BY cr2.DateTime ASC)
FROM Units u, UnitTypes ut
WHERE u.UnitType = ut.UnitTypeID
AND
(
(SELECT top 1 cr2.DateTime FROM ControlReports cr2
WHERE cr2.Unit = u.UnitID
ORDER BY cr2.DateTime ASC) > '2008.05.03 00:00:00'
OR
(SELECT top 1 cr2.DateTime FROM ControlReports cr2
WHERE cr2.Unit = u.UnitID
ORDER BY cr2.DateTime ASC) IS NULL
)

[edit] TODO

  • Remove ID text box for all controls
  • Remove delete buttons for all controls
  • Change to 4 character barcode length
  • Make the barcode height higher
Personal tools