Changeset 20
- Timestamp:
- Nov 15, 2012, 8:59:57 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 7 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/URegistredModules.pas
r19 r20 15 15 16 16 uses 17 UModuleAttendance ;17 UModuleAttendance, UModuleChiyuAccessControlers; 18 18 19 19 procedure RegisterModules(ModuleManager: TModuleManager); … … 24 24 Modules.BeginUpdate; 25 25 RegisterModule(TModuleAttendance.Create(nil)); 26 RegisterModule(TModuleChiyuAccessControlers.Create(nil)); 26 27 finally 27 28 Modules.EndUpdate; -
trunk/Dochazka.lpi
r19 r20 106 106 </Item8> 107 107 </RequiredPackages> 108 <Units Count="1 4">108 <Units Count="17"> 109 109 <Unit0> 110 110 <Filename Value="Dochazka.lpr"/> … … 197 197 <UnitName Value="UDataModel"/> 198 198 </Unit13> 199 <Unit14> 200 <Filename Value="Modules/Attendance/UFormVirtualTerminal.pas"/> 201 <IsPartOfProject Value="True"/> 202 <ComponentName Value="FormVirtualAccessControler"/> 203 <HasResources Value="True"/> 204 <ResourceBaseClass Value="Form"/> 205 <UnitName Value="UFormVirtualTerminal"/> 206 </Unit14> 207 <Unit15> 208 <Filename Value="Modules/Attendance/UAccessControler.pas"/> 209 <IsPartOfProject Value="True"/> 210 <UnitName Value="UAccessControler"/> 211 </Unit15> 212 <Unit16> 213 <Filename Value="Modules/ChiyuAccessControlers/UModuleChiyuAccessControlers.pas"/> 214 <IsPartOfProject Value="True"/> 215 <ComponentName Value="DataModule1"/> 216 <HasResources Value="True"/> 217 <ResourceBaseClass Value="DataModule"/> 218 <UnitName Value="UModuleChiyuAccessControlers"/> 219 </Unit16> 199 220 </Units> 200 221 </ProjectOptions> … … 206 227 <SearchPaths> 207 228 <IncludeFiles Value="$(ProjOutDir)"/> 208 <OtherUnitFiles Value="Forms;Common;Application;Modules/Attendance "/>229 <OtherUnitFiles Value="Forms;Common;Application;Modules/Attendance;Modules/ChiyuAccessControlers"/> 209 230 <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/> 210 231 </SearchPaths> -
trunk/Dochazka.lpr
r16 r20 11 11 CoolTranslator, UFormSetting, SysUtils, UFormList, UFormEdit, UDataView, 12 12 URegistredModules, TemplateGenerics, synapse, TEditExtensions, 13 UFormConnection, UModuleAttendance, UDataModel 14 { you can add units after this };13 UFormConnection, UModuleAttendance, UDataModel, UFormVirtualTerminal, 14 UAccessControler, UModuleChiyuAccessControlers; 15 15 16 16 {$R *.res} -
trunk/Forms/UFormList.pas
r16 r20 11 11 12 12 type 13 TColumnControlType = (ctText, ctReference, ctBoolean); 14 13 15 TDbColumn = class 14 16 Caption: string; … … 16 18 Visible: Boolean; 17 19 Width: Integer; 20 ControlType: TColumnControlType; 21 ReferencedTable: string; 18 22 end; 19 23 … … 21 25 22 26 TListDbColumn = class(TListObject) 23 procedure AddItem(Caption, Name: string; Visible: Boolean; Width: Integer);27 function AddItem(Caption, Name: string; Visible: Boolean; Width: Integer): TDbColumn; 24 28 end; 25 29 … … 128 132 { TListColumns } 129 133 130 procedure TListDbColumn.AddItem(Caption, Name: string; Visible: Boolean; 131 Width: Integer); 132 var 133 NewItem: TDbColumn; 134 begin 135 NewItem := TDbColumn.Create; 136 NewItem.Caption := Caption; 137 NewItem.Name := Name; 138 NewItem.Visible := Visible; 139 NewItem.Width := Width; 140 Add(NewItem); 134 function TListDbColumn.AddItem(Caption, Name: string; Visible: Boolean; 135 Width: Integer): TDbColumn; 136 begin 137 Result := TDbColumn.Create; 138 Result.Caption := Caption; 139 Result.Name := Name; 140 Result.Visible := Visible; 141 Result.Width := Width; 142 Add(Result); 141 143 end; 142 144 -
trunk/Languages/ChronIS.cs.po
r19 r20 19 19 msgstr "ÄÃst nová data z terminálu" 20 20 21 #: tform1.actionexit.caption22 msgctxt "tform1.actionexit.caption"23 msgid "Exit"24 msgstr "UkonÄit"25 26 21 #: tform1.caption 22 #, fuzzy 23 #| msgid "Attendance" 27 24 msgctxt "tform1.caption" 28 msgid " Attendance"25 msgid "Form1" 29 26 msgstr "Docházka" 30 31 #: tform1.menuitemsystem.caption32 msgctxt "tform1.menuitemsystem.caption"33 msgid "System"34 msgstr "Systém"35 36 #: tform1.tabsheetattendance.caption37 msgctxt "tform1.tabsheetattendance.caption"38 msgid "Attendance"39 msgstr "Docházka"40 41 #: tform1.tabsheetholidays.caption42 msgctxt "tform1.tabsheetholidays.caption"43 msgid "Holidays"44 msgstr "Svátky"45 46 #: tform1.tabsheetoperations.caption47 msgctxt "tform1.tabsheetoperations.caption"48 msgid "Operations"49 msgstr "Operace"50 51 #: tform1.tabsheetterminals.caption52 msgctxt "tform1.tabsheetterminals.caption"53 msgid "Terminals"54 msgstr "Terminály"55 56 #: tform1.tabsheetusers.caption57 msgctxt "tform1.tabsheetusers.caption"58 msgid "Users"59 msgstr "UÅŸivatelé"60 61 #: tform2.caption62 msgctxt "tform2.caption"63 msgid "Setting"64 msgstr "NastavenÃ"65 27 66 28 #: tformconnection.buttoncancel.caption … … 255 217 msgstr "NastavenÃ" 256 218 219 #: tformvirtualaccesscontroler.caption 220 msgid "Virtual Access Controler" 221 msgstr "" 222 257 223 #: uformedit.sitemnotfound 258 224 msgid "Item not found" … … 572 538 msgstr "Rok" 573 539 540 #: umodulechiyuaccesscontrolers.schiyuaccesscontrolers 541 msgid "Chiyu Technology Access Controlers" 542 msgstr "" 543 -
trunk/Languages/ChronIS.po
r19 r20 8 8 #: tdatamoduleattendance.areadfromterminal.hint 9 9 msgid "Read new data from terminal" 10 msgstr "" 11 12 #: tform1.caption 13 msgid "Form1" 10 14 msgstr "" 11 15 … … 192 196 msgstr "" 193 197 198 #: tformvirtualaccesscontroler.caption 199 msgid "Virtual Access Controler" 200 msgstr "" 201 194 202 #: uformedit.sitemnotfound 195 203 msgid "Item not found" … … 508 516 msgstr "" 509 517 518 #: umodulechiyuaccesscontrolers.schiyuaccesscontrolers 519 msgid "Chiyu Technology Access Controlers" 520 msgstr "" 521 -
trunk/Modules/Attendance/UModuleAttendance.pas
r19 r20 52 52 procedure DoStart; override; 53 53 procedure DoStop; override; 54 procedure DoInstall; override; 55 procedure DoUninstall; override; 54 56 public 55 57 constructor Create(Owner: TComponent); override; … … 187 189 ReferencedTable := 'User'; 188 190 with AddItem(SOperation, 'Operation', ctReference, True, Bounds(1, 1, 1, 1)) do 189 ReferencedTable := ' User';191 ReferencedTable := 'Operation'; 190 192 with AddItem(STerminal, 'Terminal', ctReference, True, Bounds(3, 1, 1, 1)) do 191 ReferencedTable := ' User';193 ReferencedTable := 'Terminal'; 192 194 end; 193 195 Name := 'Passage'; … … 283 285 AddItem(SAddress, 'Address', True, 120); 284 286 AddItem(SPort, 'Port', True, 50); 285 AddItem(SType, 'Type', True, 80); 287 with AddItem(SType, 'Type', True, 80) do 288 ReferencedTable := 'TerminalType'; 286 289 AddItem(SNote, 'Note', True, 80); 287 290 end; … … 298 301 AddItem(SAddress, 'Address', ctEdit, True, Bounds(1, 1, 1, 1)); 299 302 AddItem(SPort, 'Port', ctSpinEdit, True, Bounds(3, 1, 1, 1)); 300 AddItem(SType, 'Type', ctComboBox, True, Bounds(1, 2, 1, 1)); 303 with AddItem(SType, 'Type', ctReference, True, Bounds(1, 2, 1, 1)) do 304 ReferencedTable := 'TerminalType'; 301 305 AddItem(SNote, 'Note', ctMemo, True, Bounds(0, 4, 4, 4), alTop); 302 306 end; … … 377 381 end; 378 382 383 procedure TModuleAttendance.DoInstall; 384 begin 385 inherited DoInstall; 386 end; 387 388 procedure TModuleAttendance.DoUninstall; 389 begin 390 inherited DoUninstall; 391 end; 392 379 393 constructor TModuleAttendance.Create(Owner: TComponent); 380 394 begin
Note:
See TracChangeset
for help on using the changeset viewer.