ГАЛАКТИКА РАСПИСАНИЕ УЧЕБНЫХ ЗАНЯТИЙ
Embed Size (px)
TRANSCRIPT
. , .
12.2020
© " ", 2020
3
............................................................................................................................ 123.
................................................................................................................................................ 13 3.1.3.
................................................................................................................................................ 14 3.1.4.
................................................................................................................................................ 15 3.1.5.
................................................................................................................................................ 16 3.1.6.
................................................................................................................................................ 17 3.1.7.
....................................................................................................................... 193.2. Win.
................................................................................................................................................ 19 3.2.1.
................................................................................................................................................ 20 3.2.2.
................................................................................................................................... 21 3.2.2.1.
................................................................................................................................... 21 3.2.2.2.
................................................................................................................................... 23 3.2.3.1.
................................................................................................................................... 24 3.2.3.2.
................................................................................................................................... 25 3.2.3.3.
................................................................................................................................... 27 3.2.4.2.
................................................................................................................................................ 34 3.3.3.
................................................................................................................................................ 35 web- web- c 3.3.4.
................................................................................................................................................ 35 AJAX- 3.3.5.
................................................................................................................................................ 35 3.3.6.
................................................................................................................................................ 38 3.4.3.
....................................................................................................................... 383.6.
................................................................................................................................................ 41 log- 3.7.3.
................................................................................................................................................ 42 3.7.4.
................................................................................................................................................ 42 3.7.5.
................................................................................................................................................ 43 3.7.6.
................................................................................................................................................ 43 3.7.7.
............................................................................................................................ 454.
....................................................................................................................... 454.1.
................................................................................................................................................ 53 4.3.2.
................................................................................................................................................ 53 4.3.3.
................................................................................................................................................ 54 4.3.5.
....................................................................................................................... 554.4.
................................................................................................................................................ 64 6.1.2.
................................................................................................................................................ 65 6.1.3.
................................................................................................................................................ 68 6.1.4.
................................................................................................................................... 69 6.1.5.1.
................................................................................................................................... 72 6.1.5.2.
............................................................................................................................ 807.
............................................................................................................................ 878.
....................................................................................................................... 878.1.
....................................................................................................................... 878.2.
....................................................................................................................... 888.3.
....................................................................................................................... 909.1.
....................................................................................................................... 919.2.
....................................................................................................................... 939.4.
....................................................................................................................... 939.5.
5
................................................................................................................................................ 97 9.5.3.
............................................................................................................................ 9910.
............................................................................................................................ 10211.
, , ERP ( ). ,
.
. 1.
:
· , ( , , , . .);
· xml-;
· excel- ;
· , , ;
· ;
7
· , ;
· (; ; ), ;
· ;
· ;
· ;
· ;
· , , .;
· , ;
· ;
· ;
· — , ;
· — ;
· JSON — JavaScript Object Notation, , JavaScript;
· IIS — Internet Information Services, Microsoft;
· .NET — Microsoft;
· REST — Representational State Transfer, -;
· XAF — eXpressApp Framework, Developer Express .NET- ;
· Xafari — -, XAF ;
· XPO — eXpress Persistent Object, .
9
2.
.Net, XAF, XPO, Xafari.
. 2.
. 3.
windows-.
10
Web- — , REST JSON.
. , , .
. 4.
Web- " " web-, .
Web- " / " web- / , .
102
/ , Android, iOS Windows Phone.
12
3.
· - , . ,
.
· . , ,
. .
· .
· , , (*.xlic) ( , 3.5.0., LiscenseServer) , .
– . . TCP/IP.
(, ) .
3.1.2.
, , , .
GetMachineID.exe
.
Application, , .
13
. Ip- MAC- , , GetMachineID.exe.
, , [email protected] , Galaktika.RUZ.XLIC, .
3.1.3.
.
:
· ( , ..)
·
·
·
! , . - , .
:
Format=X1 ID=11 Licensee= « » Licensor= « » Product=Galaktika.EAM Server=dp p -822.top sof t.local:33444 Signature=WX8goj AiBO3gt9W/nl04y f qBFwXRx6GqzO8bRVqEUeIsL+Q3rguC2vsHdYP YkE+os0zmqQ2ND/hi Y0/QCI+VoG5N9zPR8uAOlg5mnVV6LVxiA527YyUUeTq10f 0eIq5Di2qYIMi8wuYsFf x3l hYF24XUJTNkqCit/JEDf eJueN8qwQDbPI2UgIQRo/03p RH2RYXhX9Yv7A3q0inxQ==# 2(1992452610060513)@3 Sup p ortExp ired=15/07/2014 Token=BgAAABSU0ExAAgAAAEAAQBbXYh4kmrQGlT3gQlFSX1Eh2D7wTwKj 0YOBp q zK7VU8rKWk613EQm8u WJuoOrgAgXHXzN5DI1f XiLeziSmWAqskRVmXn2R2t14i0hgtzwap 0cGp 0nIzwgYOTVZK VlFvkCq/9Ny4dj 6aVmR7xMbydAHDA5f /D5KtlrK1BDbMkBf IX6TgPYJFil4tZAHt7C5eqi 5XD+/mwhw8p H2us3ZKgINbHwVuf 12AG2hQgDqPNgNlG2cWUui#[email protected] -ConcurentConnections-
, , . , , , Galaktika.RUZ.XLIC. . () . 3.5.0. LiscenseServer.
3.1.4.
, :
1.
2. GetMachimeID.exe
3.
4. .
5. ( ) .
6. , .
7. ( ).
8. ( ) , .
. . , ( exe) “.config”. , “Galaktika.EAM.Win.exe”, “Galaktika.EAM.Win.exe.config”.
( , ):
configuration\appSettings:
</appSettings>
“Xaf ariLicenseFile” , -. , ,
15
. "XafariLicenseFile" , License.xlic.
“XafariLicenseServer” . , . , dpp-822.topsoft.local:33444. , - 33444 , .
“XafariDebug” , . - , - , . “XafariDebug” “yes” , .
9. , .
- , :
1. GetMachimeID.exe
2. ,
3.
4.
5. ,
6.
- , .
, :
LicenseMode=Local
.
. , .
3.1.5.
! ( ) .
16
(, ) -.
:
· Xafari.Licensing.Light.exe –
· Xaf ari.Licensing.Light.exe.conf ig –
. , *.xlic. Galaktika.RUZ.xlic 3.5.0.. 3.5.0., LiscenseServer.
“Xafari.Licensing.Light.exe.config” , . <appSettings> , :
<appSettings> <add key="XafariLicenseFile" value="D:
\Galaktika\License.xlic" /> <add key="XafariLicenseServer" value="by01-
945.topsoft.local:33444" /> <add key="XafariDebug" value="no"/>
</appSettings>
“XafariLicenseFile” , . , , .
“Xaf ariLicenseServer” .
– , < >:<>. .
“XafariDebug” - , . - , , - . “XafariDebug” “yes” , .
3.1.6.
! Xafari.Licensing.Light.exe.config .
Xafari.Licensing.Light.exe :
· -i - ( , )
· -u -
17
> Xafari.Licensing.Light.exe –i
, Windows Windows (, net.exe, PowerShell.exe)
3.1.7.
, . .
.
, - , , :
· ,
·
·
·
·
·
18
License server error
Windows. , . , Windows.
. .
. , .
, –
– ,
– - .
19
3.2. Win.
· Windows Server 2003/2008/2012;
· .
· Windows (XP SP3, 7, 8/8.1, Server 2003/2008/2012);
· .NET Framework v.4.5.1 ;
· ( ).
MS SQL Server SQL Server 2005/2008/2012/2014.
Oracle Oracle , . . 32-, Oracle 32-, 64-, Oracle 64- (Oracle 10g, Oracle 11g, Oracle 11R2).
· , , ;
· 100/1Gb — Ethernet; TCP/IP;
· RAID;
· , (SAS, SCSI) (10000-15000 rpm);
· ;
· ;
:
· Intel x86-64 c 1,8 GHz 400 MHz;
· — 8 ;
· ;
· SVGA HiColor (65536 ). — 1024x1280 ;
· ( ).
:
· .
:
· .
3.2.2.
:
· ;
· .
() :
· , ;
· , .
(), . . , .
21
21
21
. 5.
. , , 1 .
3.2.2.13.2.2.1.
.
:
· ;
· ( MS SQL).
.
3.2.2.23.2.2.2.
.
:
· ;
· ;
· :
· ;
· .
.
22
3.2.2.33.2.2.3.
.
— , , , , .
— USB-, . . USB- — .
(License.xlic) , , , .
" ". .
1) . , , . 2) ( ) > .
3.2.3.
:
· Galaktika.RUZ-x.x.x.x.msi;
· .
3.2.3.13.2.3.1.
· (IP-) ;
· .
, , (. ).
. 7.
> .
24 25
· — .
C:\%ProgramFiles(x86)%\Galaktika. [ ] .
3.2.3.23.2.3.2.
. 8.
. - .
[].
:
· ;
(IP-) .
[].
(""/"System") . .
> , .
3.2.3.33.2.3.3.
· ;
· .
USB- .
( ):
· ;
(IP-) .
( ) — .
[].
24
26
> , :
· — ;
· — ;
· — ;
· — .
C:\%ProgramFiles(x86)%\Galaktika. [ ] .
3.2.4.
3.2.4.13.2.4.1.
, .
MS SQL Server PostgreeSQL
/ . , , , , .
/ :
· SQL Server Windows- , , , / (, , . .) SQL Server.
· SQL- , / (, , . .) SQL Server.
, .
, , .
PostgreeSQL MS SQL Server.
Oracle
Oracle Oracle Oracle- ( User ID ) . . , , .
39
:
· Oracle ( );
· User ID Password ;
· , / ( ).
, .
XML-
, , ( , XML- ).
, / ( ).
, .
3.2.4.23.2.4.2.
. = = : Windows .
Windows- Active Directory .
. 10. Windows-
28
.
"galaktika", . 3.x , , .
Windows-, ( ).
.
3.2.4.33.2.4.3.
XML- :
·
> ;
· < >\Import.
, .
3.2.5.
:
53 49
· ;
· .
. .
3.2.6.
> > . Windows 7 — > > .
= =
.
, . , . .
3.3. Web-
1) web- Galaktika.RUZ.Service, .
2) , web-:
· : ASP.NET 4.0 , HTTP Activation ( );
· web-, IIS (Internet Information Services) ( );
· IIS ;
· web- ;
29
22
30
33
34
35
102
( ).
. 12.
web-, .
32
. 15. web-
, IIS_IUSRS .
33
(Identity), LocalSystem.
. 17. web-
IIS :
· http://msdn.microsoft.com/ru-ru/library/bb763174%28v=vs.90%29.aspx;
, web- , :
· , web- — netsh http add urlacl url=http:// +:8080/RUZService user=DOMAIN\user, : netsh http add urlacl url=http:// +:8080/RUZService user=topsoft.local\ivanov;
· ASP.NET IIS — : aspnet_regiis –i, : C: \Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis –i;
· web- runcert.bat — , web-;
· ( MSSQL "NT AUTHORITY\SYSTEM"), public db_owner.
. 18. web-
3.3.3.
Web- , , , . Web.config, connectionStrings .
.
<add... > <connectionStrings> Galaktika.Win.exe.config, :
<connectionStrings> <add name="ConnectionString" connectionString="Integrated Security=SSPI;Pooling=false;Data Source=(local); Initial Catalog=Galaktika.RUZ" /> </connectionStrings>
<!-- ... -->.
39
web-, web- , , web-:
· web-, IIS (Internet Information Services);
· web- IIS;
· IIS;
· web- ( , web- , : <endpoint address="http://localhost:8080/RUZService" binding= "basicHttpBinding", localhost — IP- ).
3.3.5. AJAX-
AJAX- , , web-, Access-Control-Allow-Origin. , . , . , "*", web-. , "*" POST-- web- (, ). Proxy.
<system.webServer> <httpProtocol> <customHeaders> <!-- AJAX- . CORS - value: , ; * - . --> <!--<add name="Access-Control-Allow-Origin" value="MyDomen"/>--> <remove name="X-Powered-By"/> </customHeaders> </httpProtocol> <modules runAllManagedModulesForAllRequests="false"/> </system.webServer>
3.3.6.
web- IIS.
:
http ://localhost/RUZService.svc
web-, localhost, IP- web- . RUZService — web- ( IIS).
36
1) web- Galaktika.RUZ.View.WebApp ( ).
2) , web-:
· web-, IIS (Internet Information Services);
· IIS ;
· web-;
IIS web- " " web- .
IIS .
. 19. IIS
3.4.2.
Web.config — .NET. web-. .
36
36
38
30
() . :
<add name="ConnectionString" connectionString="Integrated Security=SSPI; Pooling=false; Data Source=server01\SQL2008R2; Initial Catalog=Galaktika.RUZ" />
connectionString . , :
· MS SQL Server;
· Oracle;
· PostgreSQL;
· XML-.
MS SQL Server.
MS SQL Server Galaktika.RUZ, serverName.domain.local:
<add name="ConnectionString" connectionString="Persist Security Info=False; User ID=RUZ; Password=123; Data Source= serverName.domain.local; Initial Catalog=Galaktika.RUZ"/>
, ( RUZ 123).
serverName.domain.local MS SQL Server RUZ Galaktika.RUZ.
38
. 20. MS SQL Server
. 21. MS SQL Server
. .
3.4.3.
http ://localhost/RUZViewWeb
RUZViewWeb — web- ( IIS).
3.5. Web. /
web- " / " web- " ". Galaktika.RUZ.Ban.WebApp - RUZBanWeb.
3.6.
Android, iOS Windows Phone. :
39
web- , web- .
AppStore, GoogleMarket WindowsStore — .
, , web- .
. 22.
3.7.
3.7.1.
:
connectionString . , :
· MS SQL Server;
MS SQL Server
MS SQL Server :
Integrated Security=SSPI;Pooling=false;Data Source=.\;Initial Catalog=Galaktika.RUZ
:
· Initial Catalog — ;
· Integrated Sequrity=SSPI — , ;
· User ID — SQL , ;
· Password — SQL , .
Integrated Sequrity=SSPI User ID; Password.
Oracle
Oracle :
XpoProvider=Oracle;Data Source=ORCL_RUZ;User ID=RUZ;Password=1
:
· User ID — Oracle, ;
· Password — Oracle, .
PostgreSQL
PostgreSQL :
XpoProvider=Postgres;Server=127.0.0.1;User ID=RUZ;Password=1; Database=Galaktika.RUZ;Encoding=UNICODE
:
· User ID — PostgreSQL, ;
· Password — PostgreSQL, .
XML-
XML- :
XpoProvider=XmlDataSet;Data Source=Galaktika.RUZ.Demo.xml;read only=false;
:
3.7.2.
:
41
value . , . , dpp-822.topsoft.local:33444.
3.7.3. log-
- , . , - . , .
eXpressAppFramework.log. :
· , GlobalLocationForLogAndModels:
<add key="GlobalLocationForLogAndModels" value="D:\\PathToFolder1"/>
· , , TraceLogLocation:
<add key="TraceLogLocation" value="ApplicationFolder"/>
Value : ApplicationFolder, CurrentUserApplicationDataFolder ( C:\Documents and Settings\<>\Local Settings\Galaktika\Galaktika.RUZ\x.x.<>.0).
· , - .
- . , , .
, -. system.diagnostics:
<system.diagnostics> <trace autoflush="true" indentsize="3" /> <switches> <!-- Use the one of predefined values: 0-Off, 1-Errors, 2- Warnings, 3-Info, 4-Verbose. The default value is 3. --> <add name="eXpressAppFramework" value="1"/> <add name="XPO" value="1"/> <add name="Ranet" value="1"/> <add name="ApsModuleInfo" value="2"/> <add name="ApsModuleServiceInfo" value="4"/> <add name="WomInfo" value="3"/> <add name="WomSqlInfo" value="3"/> </switches> </system.diagnostics>
eXpressAppFramework XAF, XPO -. :
· 0 — ;
· 2 — ;
· 3 — ;
42
· 4 — .
- , .
3.7.4.
Model.User.< >.xafml Model.User.< >_ru.xafml (: Model.User..xafml, Model.User._ru.xafml) , .
:
<add key="UserModelDiffsLocation" value="CurrentUserApplicationDataFolder"/>
.
, CurrentUserApplicationDataFolder ( C:\Documents and Settings\<>\ Galaktika\Galaktika.RUZ\x.x.<>.0).
, CurrentUserAp p licationDataFolder (<add key="UserModelDiffsLocation"
value="CurrentUserApplicationDataFolder"/>) .
LogonParameters, .
/.
GlobalLocationForLogAndModels , :
<add key="GlobalLocationForLogAndModels" value="D:\\PathToFolder1"/>
3.7.5.
ModelAssembly.dll. ( ) , GlobalLocationForModelAssembly:
<add key="GlobalLocationForModelAssembly" value="D:\ \PathToFolder2"/>
, , . . . . , . , , . . , , , .
43
, . . , , .
3.7.6.
<appSettings> <add key="EnableDiagnosticActions" value="True" /> </appSettings>
.
XAF.
3.7.7.
— windows .
Web- .
OnlyWindowsAuthentification:
<appSettings> <add key="OnlyWindowsAuthentification " value="True" /> </appSettings>
windows-.
3.7.8.
, - . :
· <add key="CanChangeDatabase" value="true"/>:
<appSettings> <add key="CanChangeDatabase" value="true"/> </appSettings>
· , .
27
1. onnectionString ( ).
2. , , / . , , .
45
4.
4.1.
, , , , . . .
> .
.
> , , > .
, .
. — /.
(, , , , ) (, , .).
, / , ( ). Enter , .
. 24.
90
. , , :
· / - ;
· //;
· .
. .
. 25.
.
. 1.
48
Auditoriums BanOfAuditoriums
Schedules Groups Streams
ContentOfLoads
:
1. . , , , , , . .
2. . .
4.2.
· Administrator;
· / ;
· ;
· .
, . , .
( , ( *;Lecturer), , . ).
. 26. " "
/
/ :
· / ;
· ;
· ;
51
· ;
· - ;
· ;
/ :
· / ;
· ;
· ;
· .
, / . , , , .. . , , /:
1) ( ), /. ;
2) /. / .
/, (, , ..) /.
4.3.
4.3.1. /
> .
, , , Administrator.
52
. 27.
(), , , Email.
, . .
VIP- , (, ).
/ .
, , .
. — (, , ). , . ( ) , .
, . , , , ( ).
/
53
, / /.
/ , / .
/ , / ( /), .
/ , .
/ / , , .
. .
4.3.2.
. . .
. .
, .
4.3.3.
.
4.3.4.
· Administrator;
· ;
· / ;
· / ;
· ;
· .
, . . . .
53
.
4.3.5.
.
:
· / ;
· / ;
· .
, / , / (), :
· , . . / , /;
· / / ;
· / , / ( /), () ;
· /, ;
· , , .
(), :
· ;
· /, ;
· , , .
(), :
· ;
· / /, ( );
· , , .
55
4.4.
.
( ), . , , .
Windows- WindowsActiveDirectory . , .
.
Windows- .
windows- .
Windows-, .
Windows- :
· ;
· , , . .
( , ) .
27
. 28. windows-
. 29. windows-
( > ) , .
(*.csv, *.html, *.xlsx ..).
57
5.
— . :
· ;
· ;
· .
. " " () , . " " () — , / ( >
> ).
web- : , , — , web-. web- .
— :
· , , , / .
· EMail, SMS Pusn .
· . . - — . , , , . . :
- ;
- , ;
- .
. , "" . , "" ,
58
- ;
- ;
- , .
· . , .
SMS- — SMS- . SMS- http://smsc.ru/.
EMail- — EMail- .
SMS- EMail- :
· ( , , /);
· ;
· / .
— . .
:
· — ( ) , ; ;
· , — ( — , — );
· — ; ;
· — , .
— , — : ( Δ , " — " — ):
· Δ —
( " — ");
· Δ — , ( " — ");
, , .
( ) — , , .
— , . . .
() .
— , .
- « » .
5.2.
> .
. , .
( ), , . .
5.3.
60
, .NET 4.5.1+.
.
?
, xml- . , . , .
61
.
62
6.
() , : , - , , , .
:
· — xml;
· ( );
· , , , ;
· , , ;
· "" ;
· (ID) — , ID — " " (long, Long64, – 9 223 372 036 854 775 808 .. 9 223 372 036 854 775 807);
· , , ;
· , , , . . , ;
· :
- ;
- ;
- .
63
64
63
. 32.
:
1. ( ).
2. () .
3. .
6.1.1. (corTable.xml)
<?xml version="1.0" encoding="WINDOWS-1251"?> <FileConf> <ListTable> <table name="Faculty.xml" value="34" name_ru=""/> <table name="CycleOfDiscipline.xml" value="33" name_ru=" "/> <table name="KindOfActivity.xml" value="32" name_ru=" "/> <table name="TypeOfAuditorium.xml" value="31" name_ru=" "/> <table name="FormOfEducation.xml" value="30" name_ru=" "/> <table name="Post.xml" value="29" name_ru=""/> <table name="Building.xml" value="28" name_ru=""/>
... </ListTable> <Data>
</Object>
</Object> ...
( ). .
. 2.
2 CycleOfDiscipline
4 TypeOfAuditorium
5 FormOfEducation
24 DenormalizationOfLoad
6.1.2.26.1.2.2. (ContentOfLoad.xml)
(ContentOfLoad.xml).
<?xml version="1.0" encoding="WINDOWS-1251"?> <!--Copyright " "--> <Data_Root> <Descript ExpSet_Name="ContentOfLoad" ExpSet_Code="023"> <![CDATA[]]> </Descript> <Data> <Collection child_tags="Object" name="Data.ContentOfLoad" caption=""> <Object name=" " id="123458005" class_id="ContentOfLoad"> <Collection child_tags="prop_value" name="Prop_Values" caption=""> <prop_value value="" prop_name="YearOfEducation"/> <prop_value value="01.09.2013" prop_name="DateFrom"/> <prop_value value="31.12.2013" prop_name="DateTo"/> <prop_value value="72" prop_name="Amount"/> <prop_value value="0" prop_name="Unit"/> <prop_value value="72" prop_name="AmountInUnit"/> <prop_value value="0" prop_name="SignOfContinuity"/> <prop_value value="2" prop_name="TypeOfContingent"/> <prop_value value="" prop_name="ID_Stream" rlt_class=""/> <prop_value value="123457729" prop_name="ID_Group" rlt_class=""/> <prop_value value="" prop_name="ID_SubGroup" rlt_class=""/> <prop_value value="123457476" prop_name="ID_KindOfWork" rlt_class=""/> <prop_value value="123457516" prop_name="ID_Discipline" rlt_class=""/> <prop_value value="123457602" prop_name="ID_Lecturer" rlt_class=""/> <prop_value value="" prop_name="ID_Chair" rlt_class=""/> <prop_value value="" prop_name="ID_CycleOfDiscipline" rlt_class=""/> <prop_value value="" prop_name="PackageNumber"/> <prop_value value="" prop_name="ID_Auditorium" rlt_class=""/> <prop_value value="" prop_name="ID_Semester" rlt_class=""/> <prop_value value="" prop_name="Remotely"/> </Collection> </Object> ... </Collection> </Data> </Data_Root>
6.1.3.
excel- ForImport.xlsm, . .
134
134
66
. 33. Excel
, .
. 34. -
:
· ;
· , , ;
· ( ), , ( );
· ;
· -, , .
, . . , 2 : .
67
. / ( ) . .
, , :
· — Excel xml- . xml- result, -. , .
:
- — .
- — , .
- — . ... ( — 1000 ). 2- (2, 3 . .).
. xml-
, , corTable.xml (, : ContentOfLoad.xml, ContentOfLoad1.xml, ContentOfLoad_1.xml; Auditorium.xml, Auditorium_1.xml, Auditorium_2.xml).
- — . .
. , , , .
, - ForImp ort.xlsm corTable.xml .
· — , .
· — ( ).
· — . , .
· — . , .
63
· — . . : ( ) (, ), . - . .
6.1.4.
> . .
Ctrl+N.
:
· [] — . ;
· [ ] — ;
· [ , ] — , .
. : ( ); ; ; ; .
. 35.
69
, , .
ID — () . ForImport.xlsm.
6.1.5. ERP
, ERP, .
(, , ), . , , . , . .
ERP xml-,
.
ERP , , .
6.1.5.16.1.5.1.
ERP EIO.cfg EXE\xml ( ERP).
EIO.cf g ERP ( , U_StProc) .
- XML >
- .
65
69
72
. 36.
XML > XML :
· Faculty ();
· Chair ();
· ContentOfLoad ().
, .
71
.
! : 1) Stream () ; 2) Staf f Of Stream ( ) ; 3) ContentOf Load ( ) .
. 38.
72
6.1.5.26.1.5.2.
ERP .
, , . . (, ) . ,
. ():
· ERP - ;
· () .
. . , (Post.xml) (Lecturer.xml), (ContentOfLoad.xml).
6.2.
(). , .
. 3.
2 iCycleOfDiscipline
4 iTypeOfAuditorium
5 iFormOfEducation
24 iDenormalizationOfLoad
, ForImport.xlsm, .
. 4. (iContentOf Load)
Name Code Type P M
YearOfEducation int
. 1 Amount float X
2 TypeOfContingent int X
ID 3 ID_Stream long
ID 4 ID_Group long
ID 5 ID_SubGroup long
ID ID_Discipline long X
ID ID_DisciplineInPlan char(200)
ID ID_Lecturer long X
ID ID_Chair long
ID ID_ContentOfLoad long X X
121
()6 Unit int X
AmountUnit int X
7 SignOfContiniuty boolean
8 PackageNumber int
ID 9 ID_Auditorium long
ID ID_Semester long
10 Remotely boolean
12 ID_Language long
2 1 — , 2 — , 3 — .
3 , TypeOfContingent = 3.
4 , TypeOfContingent = 2.
5 , TypeOfContingent = 1.
6 0 — (, . .), 1 — (, , . .).
7 true , (, . .).
8 0, , — , , .
9 ; — ( ); .
10 , "ID " "" ( ). "ID " "".
11 0 — ( ), 1 — , 2 — .
12 1 — ( ), 2 — .
:
3) YearOfEducation Semester.
:
133
- StartDate, ID_Discipline, ID_KindOfWork, ID_Lecturer, ID_SubGroup.
: 1) , null. 2) , (ID_Stream, ID_Group , ID_SubGroup ) . 3) Typ eOf Contingent .
. 5. (iResourceLanguage)
Name Code Type P M
ID ID_ResourceLanguage long X X
ID 1 ID_Language long X
2 ObjectApply int X
ID 3 ID_ObjectOID long X
Abbr chair(80)
1 1 — ( ), 2 — .
2 1 — Discipline (), 2 — Lecturer (), 3 — Post (), 4 — KindOfWork ( ), 5 — Building (), 6 — Auditorium (), 7 — Stream (), 8 — Group (), 9 — Subgroup ().
3 iDiscipline.ID_Discipline ObjectApply = 1, iLecturer.ID_Lecturer ObjectApply = 2 . .
iResourceLanguage / , . . ( ) .
2. .
4. .
5. -.
. :
· ;
· , , , ;
· ;
76
· , ;
· ;
· () " " (long, Int64, - 9 223 372 036 854 775 808 .. 9 223 372 036 854 775 807).
2–4
> . , . , .
. 39.
:
· :
- — , , ;
- —
;
· EMail-, EMail — ;
· — , ;
· - "1", . , . iParametr.ActiveLoad "1", - "0". " " ;
77
· / - .
,
, .
.
corTable.xml ( ).
, :
· ;
· ;
· ;
· .
() :
· , ;
· , ;
· , -.
( ) .
( ). , .
:
· (log-);
· .
[ ] log-. :
· , , ;
· , , .
— .
. 6. (iLog)
63
RUZUser long
StartDate datetime
EndDate datetime
LogName char(100)
(e) 1 Rezult int
1 : 0 — ; 1 — , ; 2 — .
, .
. 7.
Name Code Type
UID char(2000)
1 : 0 — , ; 1 — ; 2 —
2 :
· 0 — ;
· 10 — ; 11 — ; 12 — - ;
· 20 — ; 21 — ; 22 — - ;
· 30 — ; 31 — ; 32 — - .
:
· > > ;
· .
:
runcmd /c runimp ort /logon AuthenticationTyp e:ActiveDirectory
runcmd /c runimp ort /logon AuthenticationTyp e:Standard UserName:< > Password:< >
:
· runimp ort — .
79
.
runcmd.exe . : /?, /h, /help . runcmd.exe.conf ig. , , ( ConnectionString) .
, :
· ;
· / .
39
. 40.
. . , , . , , .
:
3) .
:
· ;
82
) > .
. 41.
, , .
:
1) (. );
2) ;
4) .
:
· ;
· (Ctrl+N) (
82
) ( , , , , );
· [].
> .
, , , .
. 42.
7.2.
. . , , , , . " " " " () .
83 83
- (Header, Detail Footer), , ( ). . , Header Footer " " " " .
. 43.
/ , ( ).
PageHeaderBand
GroupHeaderBand ( Grouping Data)
DetailBand , -
DetailReportBand
ReportFooterBand -
PageFooterBand , ,
BottomMarginBand
7.2.2.
( ).
:
· ;
· , .
:
· ;
· , .
. 44.
:
· ;
· ;
· , ; [] / , (. . ).
86
87
8.
8.1.
:
· — ;
· — ;
· - — ;
· — .
, , (, ).
, , . . / .
. — , .
. , , .
8.2.
xml-. , , , . .
.
,
( ) .
() corTable.xml. .
Auditorium key , , value. , key.
88
. 47. /
8.3.
.
8.4.
(, .). , , — "".
, , . . .
.
1:
· . (, ). .
· ( ForImport.xlsm).
68
· :
- > ( );
- (Ctrl+D);
- , .
· .
3:
· .
· ForImport.xlsm ( ), xml-.
· ( 1).
· xml-.
· .
9.1.
XAF (eXpressApp Framework). , , , . ., — (Application Model).
. 48.
:
1) , . , , .
2) , . , , . DevExpress.ExpressApp.ModelEditor.vXX.X.exe ( , ). , , .
3) , . . . , , , . . > . .
( ).
42
45
. , , .
9.2.
. :
· ActionDesign — (Actions) (Controllers), .
· BOModel — -, - -.
· CreatableItems — .
· DetailViewItems — , .
· ImageSources — . .
· Localization — , , , . .
· NavigationItem — . Xaf ari.
· Op tions — .
· Validation — (Contexts) (Rules), . , .
· ViewItems — , .
· Views — .
· Xaf ari — ( ) Xafari.
93
. 49.
9.3.
, , , . . .
, , , , , , .
: Save, Reload, Back, Forward, Search . (Language) (Def ault language) , Model…xafml. ru, Model…_ru.xafml.
, Localization. Translated Value, (Ctrl+F), ( ), . .
93
. 50.
, : https://documentation.devexpress.com/#Xaf/CustomDocument2582.
9.4.
. .
- . Reset Differences.
9.5.
· ;
· .
.
runtime. . . .
, . . - .
, , (<add key="EnableDiagnosticActions" value="True" />) .
. 51.
> .
9.5.1.
:
· IsGroup PanelVisible — ;
· IsFooterVisible — footer-;
95
. 52.
. 53.
Columns.
96
. 54.
Alt+Up/Down.
Index = -1.
, Group Index -1 . , .
SortIndex.
9.5.2.
Views > Galaktika.RUZ.Framework.Data. _DetailView.
Layout. .
97
. 55.
. Drag&Drop . , . .
, : https://documentation.devexpress.com/#WindowsForms/CustomDocument2307.
9.5.3.
Views > Galaktika.RUZ.Framework.Data. _Lookup ListView.
. Lookup EditorMode, :
· Auto — ( ) . Lookup SmallCollectionItemCount ( Op tions), , — .
· AllItems — , . .
· Search — . [] ( , ). [], .
· AllItemsWithSearch — , .
. 56.
, , . . .94
99
10.
Windows 7, Windows 10
Windows 7 Windows 10 , .
:
1) .
2)
.
.
, .. , .
, , . .
, , . .
,
Galaktika.RUZ.Win.exe.config, . . XML-. config- .
. ?
:
· ;
56
· .
, .
. , .
.
. ,
:
· .
:
· "" : -; , , ; - .
log- . , " ".
Oracle ORA-12154
: "ORA-12154: TNS: ".
tnsnames.ora (Oracle). .
Oracle . config- Oracle, :
<add name="ConnectionString" connectionString="XpoProvider=Oracle;Data Source=(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ORUAP-SERVER)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL_RUZ) ) );User ID=RUZ;Password=1" />
Oracle Oracle.
39
Oracle BadImageFormatException
: " Oracle BadImageFormatExcep tion. 64- , 32- Oracle".
Oracle OC. 32-, Oracle 32-. 64-, Oracle 64-.
, , . :
· , ;
· ;
· eXpressAppFramework.log;
HTTP-: GET.
· Int KindEducation ( ) — : 0 — , 1 — , 2 — , 3 — , 4 — , 5 — .
· IsScheduleActive ( ) — ( ); : true, false.
· Long GID ( ) — ; , (Group.GID=GID).
:
· int FormOfEducationOid — id ;
· int SpecialityGid — id ;
· int SpecialityOid — id ;
· int YearOfEducation — ;
· int chairOid — id ;
· int facultyOid — id ;
· string formOfEducation — ;
· int groupOid — id ;
· int KindEducation — ;
· string Number — ;
2.
URL : http://servername/ruzservice.svc/lecturers?chairoid={value}.
:
· int chairOid — id ;
· char lecturerCustomUID — , person (char);
· int lecturerGid — id ;
· int lecturerOid — id ;
· string lecturer_rank - ;
· string shortFIO — ... (, - ).
3.
URL : http://servername/ruzservice.svc/auditoriums?buildingoid={value}.
104
:
· string Building — ;
· int buildingOid — id ;
· string TypeOfAuditorium — ;
· intTypeOfAuditoriumOid — id ;
· int hideincapacity — , (0 - , 1 - );
· string Number — .
· int amount — .
URL : http://servername/ruzservice.svc/typeofauditoriums.
· int TypeOfAuditoriumGid — id ;
· string Name — ;
· string Abbr — ;
· string Code — ;
· int hideinCapacity — , .
5.
URL : http://servername/ruzservice.svc/kindofworks.
· int kindOfWorkGid — id ;
· string Name — ;
· string Abbr — ;
· string Unit — .
6.
· string Name — ;
· string Abbr — ;
· string Address — ;
· string Name — ;
· string Abbr — ;
· string Institute — ;
· string Code — .
:
· string Name — ;
· string Abbr — ;
· string Faculty — ;
· string Code — .
· string Name — ;
· string Abbr — ;
· string Faculty — ;
· string Course — ;
· int FormOfEducationGid — id ;
· int YearOfEducation — .
10.
· string Group — ;
· int groupOid — id ;
· string Name — ;
· string Abbr — .
URL : http://servername/ruzservice.svc/messages?id={messageId}.
:
12. /
URL : http://servername/ruzservice.svc/notifications?days={days}.
: .
: JSON.
Int days — . N , / .
:
· string senderEmail — , ;
· string note — ;
· string noteFull — ;
· int notificationOid — id .
URL : http://servername/ruzservice.svc/banofauditoriums?fromdate={fromDate} &todate={toDate}.
: .
: JSON.
· string auditorium — ;
· int auditoriumOid — id ;
· int typeOfLimitation — : 0 — , 1 — , 2 — ;
· int typeOfSource — : 0 — , 1 — , 2 — , 3 — ;
· int status — : 0 — , 1 — , 2 — , 3 — ;
· int typeOfAuditoriumOid — id ;
· string typeOfAuditorium — ;
· int kindOfWorkOid — id ;
· string kindOfWork — ;
· int buildingOid — id ;
· string building — ;
· int tableType — : 0 — , 1 — , 2 — , 3 — ;
· string note — ;
· int equipment — : 0 — , 1 — , 2 — ;
· bool computerEquipment — ;
· string lecturer — ( , ";", );
· int supervision — : 1 — , 0 — .
14. / , .
URL : http://servername/ruzservice.svc/setbanofauditorium.
HTTP : POST.
: .
: JSON.
:
JSON (. 13 , " ").
: kindBanOfAuditorium, auditoriumOid, dateOfNest, timeBeg, timeEnd.
:
· string Description — .
· Code: 0, Description: "OK".
· Code: 2, Description: " ."
· Code: 3, Description: " ."
· Code: 4, Description: " ."
· Code: 5, Description: " ."
· Code: 6, Description: " ."
· Code: 7, Description: " ."
· Code: 8, Description: " ."
· Code: 9, Description: " ."
· Code: 10, Description: " ."
· Code: 11, Description: " ."
· Code:12, Description: " ."
· Code: 13, Description: " ."
108
· Code: 14, Description: " ."
contingent () . , , ";", : 151;121;13-1. , " " .
15.
URL : http://servername/ruzservice.svc/token.
· string Login — ( );
· string Password — ( );
· int OSType — : 0 — , 1 — Android, 2 — iOS, 3 — WindowsPhone ( Push- );
· string DeviceID — id ( Push- ).
:
: .
16.
URL : http://servername/ruzservice.svc/getavailableauditoriums? dateofnest={dateOfNest}&timebeg={timeBeg}&timeend={timeEnd} &kindbanofauditorium={kindBanOfAuditorium} &typeofauditoriumoid={typeOfAuditoriumOid}&buildingoid={buildingOid} &equipment={equipment}&computerequipment={computerEquipment} &mediaequipment={mediaEquipment}&amount={amount}&tabletype={tableType}.
HTTP-: GET.
: .
: JSON.
111
· int kindBanOfAuditorium — : 0 — , 1 — ;
· int typeOfAuditoriumOid — id ;
· int buildingOid — id ( );
· int equipment — : 0 — , 1 — , 2 — ;
· bool computerEquipment — ;
· int amount — ;
· int tableType — : 0 — , 1 — , 2 — , 3 — .
:
URL : http://servername/ruzservice.svc/staffofgroup?groupOid={groupOid}.
:
· string fio — ... ();
18.
URL : http://servername/ruzservice.svc/staffofstream?streamoid={streamOid}.
112
:
· string GroupNumber — ;
· int SubgroupOid — id ;
· string SubgroupName — .
19. / ( 180 )
URL : http://servername/ruzservice.svc/lessons?fromdate={fromDate} &todate={toDate}&groupoid={groupOid}&lectureroid={lecturerOid} &auditoriumoid={auditoriumOid}&language={language}.
HTTP-: GET.
· string fromDate — ;
· string toDate — ;
· int groupOid — id ;
· int lecturerOid — id ;
· int auditoriumOid — id ;
· int language — : 1 — ( ), 2 — ; , 1;
· int lessonOid — .
· string date — ;
· string dateOfNest — Unix timestamp;
· int dayOfWeek — (enum System.DayOfWeek);
· string dayOfWeekString — ( , , , , , , );
· string beginLesson — ;
· string endLesson — ;
113
· string discipline — ;
· int disciplineOid — id ;
· int disciplinetypeload — ;
· string auditorium — ;
· int auditoriumOid — id ;
· int auditoriumAmount — ;
· string lecturer — ... ;
· int lecturerOid — id ;
· string author — - ;
· date createddate — ISO 8601;
· date dateOfNest — ISO 8601;
· int hideinCapacity — (1 - , 0 - );
· int isBan — , , / ;
· int lessonNumberStart — ;
· int lessonNumberEnd — ;
· date modifieddate — ISO 8601;
· string parentschedule — -;
URL : http://servername/ruzservice.svc/personlessons?fromdate={fromDate} &todate={toDate}&receivertype={receiverType}&groupoid={groupOid} &lectureroid={lecturerOid}&auditoriumoid={auditoriumOid}&studentoid={studentOid} &uns={UNS}&email={email}&language={language}.
HTTP-: GET.
· int receiverType — , : 0 — ( ), 1 — , 2 — , 3 — , 4 — , 5 - . ( , , ), 6 — , 7— , 8 — ;
· int groupOid — id ( receiverType = 3);
· int lecturerOid — id ( receiverType = 1);
· int auditoriumOid — id ( receiverType = 2);
· int buildingOid — id ( receiverType = 4);
· int personOid — id ( receiverType = 5);
· int facultyoid — id ( receiverType = 6);
· int disciplineinplan — id ( receiverType = 7);
· int lessonOid — ( receiverType = 8);
· int studentOid — id ;
· str UNS — ;
· str email — ;
·
receiverTyp e = 0, : studentOid, email UNS. . group Oid, .
:
· string groupUID — id ;
· string auditorium — ;
· int auditoriumAmount — ;
· int auditoriumOid — id ;
· string building — ;
· int contentOfLoadOid — , ;
· int contentOfLoadUID — , ;
115
· string date — ;
· string dateOfNest — Unix timestamp;
· int dayOfWeek — (enum System.DayOfWeek);
· string dayOfWeekString — ( - , , , , , , );
· string detailInfo — ;
· int disciplinetypeload — ;
· int duration — ;
· string group — ( );
· int group_facultyoid — id ( );
· int hideinCapacity — (1 - , 0 - );
· int isBan — , , / ;
· string kindOfWork — (, . .); BanOfAuditorium.Supervision=true " ";
· int kindOfWorkOid — id ;
· int kindOfWorkGid — id ;
· string lecturer — ... ;
· string lecturerEmail —
· int lecturerOid — id ;
· string lecturer_rank — ;
· string lecturer_title — ... ;
· int lessonOid —
· string note — ;
116
· url1 — 1
· url1_description — 1
· url2 — 2
· url2_description — 2
· int buildingGid — id ;
· int buildingOid — id ;
· int contentTableOfLessonsOid — id ;
· string tableofLessonsName — ;
· string contentTableOfLessonsName —
21. / ( 180 ), 2
URL : http://servername/ruzservice.svc/v2/personlessons?fromdate={fromDate} &todate={toDate}&receivertype={receiverType}&groupoid={groupOid} &lectureroid={lecturerOid}&auditoriumoid={auditoriumOid}&studentoid={studentOid} &uns={UNS}&email={email}&iscount={isCount}&language={language}.
HTTP-: GET.
.
· int receiverType — , : 0 — ( ), 1 — , 2 — , 3 — ;
· int groupOid — id ( receiverType = 3);
· int lecturerOid — id ( receiverType = 1);
· int auditoriumOid — id ( receiverType = 2);
· int studentOid — id ;
117
· bool isCount — (true/false);
· int language — : 1 — ( ), 2 — ; , 1.
receiverTyp e = 0, : studentOid, email UNS. . group Oid, .
:
{"Count":,"Lessons":null,"StatusCode":{"Code": ,"Description":""}}
· StatusCode:
:
· string date — ;
· int dayOfWeek — (enum System.DayOfWeek);
· string dayOfWeekString — ( - , , , , , , );
· string beginLesson — ;
· string endLesson — ;
· int duration — ;
· int contentOfLoadUID — , ;
118
· string discipline — ;
· int disciplineOid — id ;
· int disciplinetypeload — ;
· string building — ;
· string auditorium — ;
· int auditoriumOid — id ;
· int auditoriumAmount — ;
· int lecturerOid — id ;
· char lecturerCustomUID — , person (char).
· string author — - ;
· string note — ;
· string dateOfNest — Unix timestamp;
· int hideinCapacity — (1 - , 0 - );
· int isBan — , , / ;
· int lessonNumberStart — ;
· int lessonNumberEnd — ;
· date modifieddate — RFC;
· string parentschedule — -;
:
· Code = 20, Description = " ."
· Code = 21, Description = " ."
· Code = 22, Description = " ."
· Code = 23, Description = " ."
22. /
119
.ics ( 180 )
URL : http://servername/ruzservice.svc/lessonscalendar?fromdate={fromDate} &todate={toDate}&receivertype={receiverType}&groupoid={groupOid} &lectureroid={lecturerOid}&auditoriumoid={auditoriumOid}&studentoid={studentOid} &uns={UNS}&email={email}&language={language}.
HTTP-: GET.
:
· int receiverType — , : 0 — ( ), 1 — , 2 — , 3 — ;
· int groupOid — id ( receiverType = 3);
· int lecturerOid — id ( receiverType = 1);
· int auditoriumOid — id ( receiverType = 2);
· int studentOid — id ;
· str UNS — ;
· str email — ;
· int language — : 1 — ( ), 2 — ; , 1.
receiverTyp e = 0, : studentOid, email UNS. . group Oid, .
:
23.
URL : http://servername/ruzservice.svc/semester
120
· int semesterFlag — (0-; 1-);
· int semesterGid — id ;
· string semesterName — ;
· int semesterOid — id ;
· int semesterParentID — id -;
24.
• string code — ;
• string name — ;
• int tableoflessonoid — id ;
• int withdifferencesbydayofweek — - : 0 - ( ); 1 - ;
• int yearofeducation — .
URL : http://servername/ruzservice.svc/contenttableoflesson
• int duration — , ;
• int extdayofweek — (0 – . 1 – ..);
• int number — ;
• int tableoflesson — id ;
• string timebeg — ;
• string timeend — .
26. - //
121
:
• string dateOfNest — Unix timestamp
• string discilplineUID — ;
• int disciplineOid — id ;
11.2.
:
· Name — ;
· Code — , , corTable.xml ;
· Type — ;
· P — , ( );
· M — .
. ID_ UID_.
: (ID_) (UID_) .
· ID_ — long int;
63
. 8. (Faculty )
Abbr char(20)
:
Name Code Type P M
Abbr char(20)
ID ID_CycleOfDiscipline long
UID UID_CycleOfDiscipline char(2000)
:
Name Code Type P M
Abbr char(20)
Code char(20)
UID
UID_KindOfActivity char(2000)
Name Code Type P M
Abbr char(20)
ID ID_TypeOfAuditorium long
UID UID_TypeOfAuditorium char(2000)
:
Name Code Type P M
Abbr char(20)
Name char(200)
:
Abbr char(20)
Code char(20)
:
- Name, Code.
Abbr char(20)
Floor long
. , . . SquareClass float
ID ID_Building long
UID UID_Building char(2000)
124
:
Code char(20)
:
- Name, Code.
Code char(20)
ID ID_Speciality long
UID ID_Specialization long
UID UID_Speciality char(2000)
:
Name Code Type P M
Abbr char(20)
Code char(20)
ID ID_KindOfWork long
ID ID_KindOfActivity long
2 Complexity tinylong
UID
UID_KindOfActivity char(2000)
1 0 ( ) — , 1 — , 2 — .
2 [0..100].
:
125
Abbr char(20)
Code char(20)
ID ID_Faculty long
UID UID_Faculty char(2000)
Name Code Type P M
Abbr char(20)
Code char(20)
2 Complexity tinylong
UID UID_Chair char(2000)
1 [0..100].
2 [0..100].
:
1 Availability tinylong
Priority tinylong
ID ID_Lecturer long
FIO char(200)
UID UID_Lecturer char(2000)
126
lecturerCustomUID lecturerCustomUID char(2000)
1 0 — . ., 1 ( ) — , 2 — .
:
. 21. (Auditorium)
Name Code Type P M
Abbr char(20)
( )
Amount int
Name char(200)
Number char(20)
ID ID_Chair long
ID ID_Faculty long
UID UID_Chair char(2000)
UID UID_Faculty char(2000)
, .. Square float
1 Equipment long
2 TableType long
127
:
1 YearOfEducation long
()
Amount int
Name char(200)
ID ID_Chair long
ID ID_FormOfEducation long
ID /
ID_Specialization long
UID UID_Chair char(2000)
UID UID_FormOfEducation char(2000)
UID /
UID_Specialization char(2000)
Note char(1000)
1 YYYY (: 2011, 2012 . .).
2 0 — ; 1 — .
3 , Kind = 1; 0 — ; 1 — .
4 0 — ; 1 — ; 2 — .
:
128
2) ID_Specialization (UID_Specialization) , Speciality.Specializations.
3) ID_Chair ID_Faculty (UID_Chair UID_Faculty) .
:
. 23. (Student)
ID ID_Stududent long
UID 1 UID_Group char(2000)
UID UID_Studdent char(2000)
( )
:
Name Code Type P M
ID ID_Group long X
ID ID_StaffGroup long X X
ID ID_Student long X
UID UID_Group char(2000) X
UID UID_StaffGroup char(2000) X X
UID UID_Student char(2000) X
:
Abbr char(20)
Name char(200)
129
ID ID_SubGroup char(2000)
UID UID_Group char(2000)
UID UID_SubGroup char(2000)
:
Name Code Type P M
ID ID_SubGroup long
ID ID_StaffOfSubGroup long
ID ID_Student long
UID UID_SubGroup char(2000)
UID UID_StaffOfSubGroup char(2000)
UID UID_Student char(2000)
:
. 27. (Stream)
Abbr char(20)
Amount int
Name char(200)
ID ID_Faculty long
UID UID_Course char(2000)
UID UID_Faculty char(2000)
UID UID_FormOfEducation char(2000)
1 TypeOfPersistence tinylong
1 0 — , 1 — ( ).
:
- YearOfEducation, Name.
130
ID ID_StaffOfStream long X X
ID ID_Stream long X
1 TypeOfContingent int X
ID 2 ID_Group long
ID 3 ID_SubGroup long
ID 4 ID_Student long
UID 2 UID_Group char(2000)
UID 3 UID_SubGroup char(2000)
UID 4 UID_Student char(2000)
2 , TypeOfContingent = 2.
3 , TypeOfContingent = 1.
4 , TypeOfContingent = 0.
:
. 29. (Semester)
Name Code Type P M
Abbr char(20)
Name char(200) X
ID ID_Semester char(2000) X X
UID UID_Parent char(2000) X
UID UID_Semester char(2000) X X
: StartDate < EndDate.
. 30. (ContentOf Load)
Name Code Type P M
YearOfEducation int
. 1 Amount float X
2 TypeOfContingent int X
ID 3 ID_Stream long
ID 4 ID_Group long
ID 5 ID_SubGroup long
ID ID_Discipline long X
ID ID_Lecturer long X
ID ID_Chair long
ID ID_ContentOfLoad long X X
UID 3 UID_Stream char(2000)
UID 4 UID_Group char(2000)
UID 5 UID_SubGroup char(2000)
UID UID_Discipline char(2000) X
UID UID_Lecturer char(2000) X
UID UID_Chair char(2000)
UID UID_ContentOfLoad char(2000) X X
()6 Unit int X
AmountUnit int X
7 SignOfContiniuty boolean
8 PackageNumber int
ID 9 ID_Auditorium long
ID ID_Semester long
UID 9 UID_Auditorium char(2000)
UID UID_Semester char(2000)
10 Remotely boolean
2 1 — , 2 — , 3 — .
3 , TypeOfContingent = 3.
4 , TypeOfContingent = 2.
5 , TypeOfContingent = 1.
132
6 0 — (, . .), 1 — (, , . .).
7 true , (, . .).
8 0, , — , , .
9 ; — ( ); .
10 , "ID " "" ( ). "ID " "".
:
3) YearOfEducation Semester.
:
- StartDate, ID_Discipline, ID_KindOfWork, ID_Lecturer, ID_Stream ( UID_Discipline, UID_KindOfWork, UID_Lecturer, UID_Stream);
- StartDate, ID_Discipline, ID_KindOfWork, ID_Lecturer, ID_Group ( UID_Discipline, UID_KindOfWork, UID_Lecturer, UID_Group);
- StartDate, ID_Discipline, ID_KindOfWork, ID_Lecturer, ID_SubGroup ( UID_Discipline, UID_KindOfWork, UID_Lecturer, UID_SubGroup).
: 1) , null. 2) , (ID_Stream, ID_Group , ID_SubGroup UID_Stream, UID_Group , UID_SubGroup ) . 3) Typ eOf Contingent .
. .
. 31. (DenormalizationOf Load)
Name Code Type P M
EndDate date
StartDate date
133
65
UID UID_ContentOfLoad char(2000) X
1 ; , 2 . , :
· Discreteness >= 1;
· Discreteness <= Amount;
:
:
3) — .
4) .
5) ContentOfLoad.StartDate .. ContentOfLoad.EndDate.
. 32. (AuditoriumPref erred)
Name Code Type P M
1 Priority int
ID ID_Auditorium long X
ID ID_ContentOfLoad long X
UID
UID UID_ContentOfLoad char(2000) X
1 [0..10]; , .
:
(e) 1 KindEducation int X
YearOfEducation int X
, MasterProgramm char(200)
, MasterSpecialization char(200)
Name char(200) X
ID ID_Specialization long
ID ID_Curriculum long X X
ID ID_Faculty long X
UID UID_Course char(2000) X
UID UID_Specialization char(2000)
UID UID_Curriculum char(2000) X X
UID UID_Faculty char(2000) X
1 0 — , 1 — , 2 — .
: ID_Specialization , Speciality.Specializations.
: YearOfEducation, ID_Faculty ( UID_Faculty), ID_Course ( UID_Course), Name.
. 34. (DistanceBetweenBuilding)
Name Code Type P M
ID ID_Building2 long X
ID ID_Building1 long X
ID ID_DistanceBetweenBuilding long X X
() Distance int X
UID UID_Building2 char(2000) X
UID UID_Building1 char(2000) X
UID UID_DistanceBetweenBuilding char(2000) X X
. 35. (ResourceLanguage)
Name Code Type P M
ID ID_ResourceLanguage long X X
ID 1 ID_Language long X
2 ObjectApply int X
ID 3 ID_ObjectOID long X
Abbr char(80)
1 1 — ( ), 2 — .
2 1 — Discipline (), 2 — Lecturer (), 3 — Post (), 4 — KindOfWork ( ), 5 — Building (), 6 — Auditorium (), 7 — Stream (), 8 — Group (), 9 — Subgroup ().
135
3 ID_Discipline ObjectApply = 1, ID_Lecturer ObjectApply = 2 . .
ResourceLanguage / , .. ( ) .
1
3
3.1.3
3.1.5
3.1.6
3.1.7
3.2 Win.
3.2.2
3.2.2.2
3.2.2.3
3.2.3
3.2.3.1
3.2.3.2
3.2.3.3
3.3.5 AJAX-
3.3.6
3.6
3.7.4
3.7.5
3.7.6
4.1
4.3.3
4.3.4
4.4
6.1.1 (corTable.xml)
6.1.3
6.1.4
6.1.5.1
6.1.5.2
7
9.1
9.2
9.4
9.5
9.5.1
9.5.2
10
11
12.2020
© " ", 2020
3
............................................................................................................................ 123.
................................................................................................................................................ 13 3.1.3.
................................................................................................................................................ 14 3.1.4.
................................................................................................................................................ 15 3.1.5.
................................................................................................................................................ 16 3.1.6.
................................................................................................................................................ 17 3.1.7.
....................................................................................................................... 193.2. Win.
................................................................................................................................................ 19 3.2.1.
................................................................................................................................................ 20 3.2.2.
................................................................................................................................... 21 3.2.2.1.
................................................................................................................................... 21 3.2.2.2.
................................................................................................................................... 23 3.2.3.1.
................................................................................................................................... 24 3.2.3.2.
................................................................................................................................... 25 3.2.3.3.
................................................................................................................................... 27 3.2.4.2.
................................................................................................................................................ 34 3.3.3.
................................................................................................................................................ 35 web- web- c 3.3.4.
................................................................................................................................................ 35 AJAX- 3.3.5.
................................................................................................................................................ 35 3.3.6.
................................................................................................................................................ 38 3.4.3.
....................................................................................................................... 383.6.
................................................................................................................................................ 41 log- 3.7.3.
................................................................................................................................................ 42 3.7.4.
................................................................................................................................................ 42 3.7.5.
................................................................................................................................................ 43 3.7.6.
................................................................................................................................................ 43 3.7.7.
............................................................................................................................ 454.
....................................................................................................................... 454.1.
................................................................................................................................................ 53 4.3.2.
................................................................................................................................................ 53 4.3.3.
................................................................................................................................................ 54 4.3.5.
....................................................................................................................... 554.4.
................................................................................................................................................ 64 6.1.2.
................................................................................................................................................ 65 6.1.3.
................................................................................................................................................ 68 6.1.4.
................................................................................................................................... 69 6.1.5.1.
................................................................................................................................... 72 6.1.5.2.
............................................................................................................................ 807.
............................................................................................................................ 878.
....................................................................................................................... 878.1.
....................................................................................................................... 878.2.
....................................................................................................................... 888.3.
....................................................................................................................... 909.1.
....................................................................................................................... 919.2.
....................................................................................................................... 939.4.
....................................................................................................................... 939.5.
5
................................................................................................................................................ 97 9.5.3.
............................................................................................................................ 9910.
............................................................................................................................ 10211.
, , ERP ( ). ,
.
. 1.
:
· , ( , , , . .);
· xml-;
· excel- ;
· , , ;
· ;
7
· , ;
· (; ; ), ;
· ;
· ;
· ;
· ;
· , , .;
· , ;
· ;
· ;
· — , ;
· — ;
· JSON — JavaScript Object Notation, , JavaScript;
· IIS — Internet Information Services, Microsoft;
· .NET — Microsoft;
· REST — Representational State Transfer, -;
· XAF — eXpressApp Framework, Developer Express .NET- ;
· Xafari — -, XAF ;
· XPO — eXpress Persistent Object, .
9
2.
.Net, XAF, XPO, Xafari.
. 2.
. 3.
windows-.
10
Web- — , REST JSON.
. , , .
. 4.
Web- " " web-, .
Web- " / " web- / , .
102
/ , Android, iOS Windows Phone.
12
3.
· - , . ,
.
· . , ,
. .
· .
· , , (*.xlic) ( , 3.5.0., LiscenseServer) , .
– . . TCP/IP.
(, ) .
3.1.2.
, , , .
GetMachineID.exe
.
Application, , .
13
. Ip- MAC- , , GetMachineID.exe.
, , [email protected] , Galaktika.RUZ.XLIC, .
3.1.3.
.
:
· ( , ..)
·
·
·
! , . - , .
:
Format=X1 ID=11 Licensee= « » Licensor= « » Product=Galaktika.EAM Server=dp p -822.top sof t.local:33444 Signature=WX8goj AiBO3gt9W/nl04y f qBFwXRx6GqzO8bRVqEUeIsL+Q3rguC2vsHdYP YkE+os0zmqQ2ND/hi Y0/QCI+VoG5N9zPR8uAOlg5mnVV6LVxiA527YyUUeTq10f 0eIq5Di2qYIMi8wuYsFf x3l hYF24XUJTNkqCit/JEDf eJueN8qwQDbPI2UgIQRo/03p RH2RYXhX9Yv7A3q0inxQ==# 2(1992452610060513)@3 Sup p ortExp ired=15/07/2014 Token=BgAAABSU0ExAAgAAAEAAQBbXYh4kmrQGlT3gQlFSX1Eh2D7wTwKj 0YOBp q zK7VU8rKWk613EQm8u WJuoOrgAgXHXzN5DI1f XiLeziSmWAqskRVmXn2R2t14i0hgtzwap 0cGp 0nIzwgYOTVZK VlFvkCq/9Ny4dj 6aVmR7xMbydAHDA5f /D5KtlrK1BDbMkBf IX6TgPYJFil4tZAHt7C5eqi 5XD+/mwhw8p H2us3ZKgINbHwVuf 12AG2hQgDqPNgNlG2cWUui#[email protected] -ConcurentConnections-
, , . , , , Galaktika.RUZ.XLIC. . () . 3.5.0. LiscenseServer.
3.1.4.
, :
1.
2. GetMachimeID.exe
3.
4. .
5. ( ) .
6. , .
7. ( ).
8. ( ) , .
. . , ( exe) “.config”. , “Galaktika.EAM.Win.exe”, “Galaktika.EAM.Win.exe.config”.
( , ):
configuration\appSettings:
</appSettings>
“Xaf ariLicenseFile” , -. , ,
15
. "XafariLicenseFile" , License.xlic.
“XafariLicenseServer” . , . , dpp-822.topsoft.local:33444. , - 33444 , .
“XafariDebug” , . - , - , . “XafariDebug” “yes” , .
9. , .
- , :
1. GetMachimeID.exe
2. ,
3.
4.
5. ,
6.
- , .
, :
LicenseMode=Local
.
. , .
3.1.5.
! ( ) .
16
(, ) -.
:
· Xafari.Licensing.Light.exe –
· Xaf ari.Licensing.Light.exe.conf ig –
. , *.xlic. Galaktika.RUZ.xlic 3.5.0.. 3.5.0., LiscenseServer.
“Xafari.Licensing.Light.exe.config” , . <appSettings> , :
<appSettings> <add key="XafariLicenseFile" value="D:
\Galaktika\License.xlic" /> <add key="XafariLicenseServer" value="by01-
945.topsoft.local:33444" /> <add key="XafariDebug" value="no"/>
</appSettings>
“XafariLicenseFile” , . , , .
“Xaf ariLicenseServer” .
– , < >:<>. .
“XafariDebug” - , . - , , - . “XafariDebug” “yes” , .
3.1.6.
! Xafari.Licensing.Light.exe.config .
Xafari.Licensing.Light.exe :
· -i - ( , )
· -u -
17
> Xafari.Licensing.Light.exe –i
, Windows Windows (, net.exe, PowerShell.exe)
3.1.7.
, . .
.
, - , , :
· ,
·
·
·
·
·
18
License server error
Windows. , . , Windows.
. .
. , .
, –
– ,
– - .
19
3.2. Win.
· Windows Server 2003/2008/2012;
· .
· Windows (XP SP3, 7, 8/8.1, Server 2003/2008/2012);
· .NET Framework v.4.5.1 ;
· ( ).
MS SQL Server SQL Server 2005/2008/2012/2014.
Oracle Oracle , . . 32-, Oracle 32-, 64-, Oracle 64- (Oracle 10g, Oracle 11g, Oracle 11R2).
· , , ;
· 100/1Gb — Ethernet; TCP/IP;
· RAID;
· , (SAS, SCSI) (10000-15000 rpm);
· ;
· ;
:
· Intel x86-64 c 1,8 GHz 400 MHz;
· — 8 ;
· ;
· SVGA HiColor (65536 ). — 1024x1280 ;
· ( ).
:
· .
:
· .
3.2.2.
:
· ;
· .
() :
· , ;
· , .
(), . . , .
21
21
21
. 5.
. , , 1 .
3.2.2.13.2.2.1.
.
:
· ;
· ( MS SQL).
.
3.2.2.23.2.2.2.
.
:
· ;
· ;
· :
· ;
· .
.
22
3.2.2.33.2.2.3.
.
— , , , , .
— USB-, . . USB- — .
(License.xlic) , , , .
" ". .
1) . , , . 2) ( ) > .
3.2.3.
:
· Galaktika.RUZ-x.x.x.x.msi;
· .
3.2.3.13.2.3.1.
· (IP-) ;
· .
, , (. ).
. 7.
> .
24 25
· — .
C:\%ProgramFiles(x86)%\Galaktika. [ ] .
3.2.3.23.2.3.2.
. 8.
. - .
[].
:
· ;
(IP-) .
[].
(""/"System") . .
> , .
3.2.3.33.2.3.3.
· ;
· .
USB- .
( ):
· ;
(IP-) .
( ) — .
[].
24
26
> , :
· — ;
· — ;
· — ;
· — .
C:\%ProgramFiles(x86)%\Galaktika. [ ] .
3.2.4.
3.2.4.13.2.4.1.
, .
MS SQL Server PostgreeSQL
/ . , , , , .
/ :
· SQL Server Windows- , , , / (, , . .) SQL Server.
· SQL- , / (, , . .) SQL Server.
, .
, , .
PostgreeSQL MS SQL Server.
Oracle
Oracle Oracle Oracle- ( User ID ) . . , , .
39
:
· Oracle ( );
· User ID Password ;
· , / ( ).
, .
XML-
, , ( , XML- ).
, / ( ).
, .
3.2.4.23.2.4.2.
. = = : Windows .
Windows- Active Directory .
. 10. Windows-
28
.
"galaktika", . 3.x , , .
Windows-, ( ).
.
3.2.4.33.2.4.3.
XML- :
·
> ;
· < >\Import.
, .
3.2.5.
:
53 49
· ;
· .
. .
3.2.6.
> > . Windows 7 — > > .
= =
.
, . , . .
3.3. Web-
1) web- Galaktika.RUZ.Service, .
2) , web-:
· : ASP.NET 4.0 , HTTP Activation ( );
· web-, IIS (Internet Information Services) ( );
· IIS ;
· web- ;
29
22
30
33
34
35
102
( ).
. 12.
web-, .
32
. 15. web-
, IIS_IUSRS .
33
(Identity), LocalSystem.
. 17. web-
IIS :
· http://msdn.microsoft.com/ru-ru/library/bb763174%28v=vs.90%29.aspx;
, web- , :
· , web- — netsh http add urlacl url=http:// +:8080/RUZService user=DOMAIN\user, : netsh http add urlacl url=http:// +:8080/RUZService user=topsoft.local\ivanov;
· ASP.NET IIS — : aspnet_regiis –i, : C: \Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis –i;
· web- runcert.bat — , web-;
· ( MSSQL "NT AUTHORITY\SYSTEM"), public db_owner.
. 18. web-
3.3.3.
Web- , , , . Web.config, connectionStrings .
.
<add... > <connectionStrings> Galaktika.Win.exe.config, :
<connectionStrings> <add name="ConnectionString" connectionString="Integrated Security=SSPI;Pooling=false;Data Source=(local); Initial Catalog=Galaktika.RUZ" /> </connectionStrings>
<!-- ... -->.
39
web-, web- , , web-:
· web-, IIS (Internet Information Services);
· web- IIS;
· IIS;
· web- ( , web- , : <endpoint address="http://localhost:8080/RUZService" binding= "basicHttpBinding", localhost — IP- ).
3.3.5. AJAX-
AJAX- , , web-, Access-Control-Allow-Origin. , . , . , "*", web-. , "*" POST-- web- (, ). Proxy.
<system.webServer> <httpProtocol> <customHeaders> <!-- AJAX- . CORS - value: , ; * - . --> <!--<add name="Access-Control-Allow-Origin" value="MyDomen"/>--> <remove name="X-Powered-By"/> </customHeaders> </httpProtocol> <modules runAllManagedModulesForAllRequests="false"/> </system.webServer>
3.3.6.
web- IIS.
:
http ://localhost/RUZService.svc
web-, localhost, IP- web- . RUZService — web- ( IIS).
36
1) web- Galaktika.RUZ.View.WebApp ( ).
2) , web-:
· web-, IIS (Internet Information Services);
· IIS ;
· web-;
IIS web- " " web- .
IIS .
. 19. IIS
3.4.2.
Web.config — .NET. web-. .
36
36
38
30
() . :
<add name="ConnectionString" connectionString="Integrated Security=SSPI; Pooling=false; Data Source=server01\SQL2008R2; Initial Catalog=Galaktika.RUZ" />
connectionString . , :
· MS SQL Server;
· Oracle;
· PostgreSQL;
· XML-.
MS SQL Server.
MS SQL Server Galaktika.RUZ, serverName.domain.local:
<add name="ConnectionString" connectionString="Persist Security Info=False; User ID=RUZ; Password=123; Data Source= serverName.domain.local; Initial Catalog=Galaktika.RUZ"/>
, ( RUZ 123).
serverName.domain.local MS SQL Server RUZ Galaktika.RUZ.
38
. 20. MS SQL Server
. 21. MS SQL Server
. .
3.4.3.
http ://localhost/RUZViewWeb
RUZViewWeb — web- ( IIS).
3.5. Web. /
web- " / " web- " ". Galaktika.RUZ.Ban.WebApp - RUZBanWeb.
3.6.
Android, iOS Windows Phone. :
39
web- , web- .
AppStore, GoogleMarket WindowsStore — .
, , web- .
. 22.
3.7.
3.7.1.
:
connectionString . , :
· MS SQL Server;
MS SQL Server
MS SQL Server :
Integrated Security=SSPI;Pooling=false;Data Source=.\;Initial Catalog=Galaktika.RUZ
:
· Initial Catalog — ;
· Integrated Sequrity=SSPI — , ;
· User ID — SQL , ;
· Password — SQL , .
Integrated Sequrity=SSPI User ID; Password.
Oracle
Oracle :
XpoProvider=Oracle;Data Source=ORCL_RUZ;User ID=RUZ;Password=1
:
· User ID — Oracle, ;
· Password — Oracle, .
PostgreSQL
PostgreSQL :
XpoProvider=Postgres;Server=127.0.0.1;User ID=RUZ;Password=1; Database=Galaktika.RUZ;Encoding=UNICODE
:
· User ID — PostgreSQL, ;
· Password — PostgreSQL, .
XML-
XML- :
XpoProvider=XmlDataSet;Data Source=Galaktika.RUZ.Demo.xml;read only=false;
:
3.7.2.
:
41
value . , . , dpp-822.topsoft.local:33444.
3.7.3. log-
- , . , - . , .
eXpressAppFramework.log. :
· , GlobalLocationForLogAndModels:
<add key="GlobalLocationForLogAndModels" value="D:\\PathToFolder1"/>
· , , TraceLogLocation:
<add key="TraceLogLocation" value="ApplicationFolder"/>
Value : ApplicationFolder, CurrentUserApplicationDataFolder ( C:\Documents and Settings\<>\Local Settings\Galaktika\Galaktika.RUZ\x.x.<>.0).
· , - .
- . , , .
, -. system.diagnostics:
<system.diagnostics> <trace autoflush="true" indentsize="3" /> <switches> <!-- Use the one of predefined values: 0-Off, 1-Errors, 2- Warnings, 3-Info, 4-Verbose. The default value is 3. --> <add name="eXpressAppFramework" value="1"/> <add name="XPO" value="1"/> <add name="Ranet" value="1"/> <add name="ApsModuleInfo" value="2"/> <add name="ApsModuleServiceInfo" value="4"/> <add name="WomInfo" value="3"/> <add name="WomSqlInfo" value="3"/> </switches> </system.diagnostics>
eXpressAppFramework XAF, XPO -. :
· 0 — ;
· 2 — ;
· 3 — ;
42
· 4 — .
- , .
3.7.4.
Model.User.< >.xafml Model.User.< >_ru.xafml (: Model.User..xafml, Model.User._ru.xafml) , .
:
<add key="UserModelDiffsLocation" value="CurrentUserApplicationDataFolder"/>
.
, CurrentUserApplicationDataFolder ( C:\Documents and Settings\<>\ Galaktika\Galaktika.RUZ\x.x.<>.0).
, CurrentUserAp p licationDataFolder (<add key="UserModelDiffsLocation"
value="CurrentUserApplicationDataFolder"/>) .
LogonParameters, .
/.
GlobalLocationForLogAndModels , :
<add key="GlobalLocationForLogAndModels" value="D:\\PathToFolder1"/>
3.7.5.
ModelAssembly.dll. ( ) , GlobalLocationForModelAssembly:
<add key="GlobalLocationForModelAssembly" value="D:\ \PathToFolder2"/>
, , . . . . , . , , . . , , , .
43
, . . , , .
3.7.6.
<appSettings> <add key="EnableDiagnosticActions" value="True" /> </appSettings>
.
XAF.
3.7.7.
— windows .
Web- .
OnlyWindowsAuthentification:
<appSettings> <add key="OnlyWindowsAuthentification " value="True" /> </appSettings>
windows-.
3.7.8.
, - . :
· <add key="CanChangeDatabase" value="true"/>:
<appSettings> <add key="CanChangeDatabase" value="true"/> </appSettings>
· , .
27
1. onnectionString ( ).
2. , , / . , , .
45
4.
4.1.
, , , , . . .
> .
.
> , , > .
, .
. — /.
(, , , , ) (, , .).
, / , ( ). Enter , .
. 24.
90
. , , :
· / - ;
· //;
· .
. .
. 25.
.
. 1.
48
Auditoriums BanOfAuditoriums
Schedules Groups Streams
ContentOfLoads
:
1. . , , , , , . .
2. . .
4.2.
· Administrator;
· / ;
· ;
· .
, . , .
( , ( *;Lecturer), , . ).
. 26. " "
/
/ :
· / ;
· ;
· ;
51
· ;
· - ;
· ;
/ :
· / ;
· ;
· ;
· .
, / . , , , .. . , , /:
1) ( ), /. ;
2) /. / .
/, (, , ..) /.
4.3.
4.3.1. /
> .
, , , Administrator.
52
. 27.
(), , , Email.
, . .
VIP- , (, ).
/ .
, , .
. — (, , ). , . ( ) , .
, . , , , ( ).
/
53
, / /.
/ , / .
/ , / ( /), .
/ , .
/ / , , .
. .
4.3.2.
. . .
. .
, .
4.3.3.
.
4.3.4.
· Administrator;
· ;
· / ;
· / ;
· ;
· .
, . . . .
53
.
4.3.5.
.
:
· / ;
· / ;
· .
, / , / (), :
· , . . / , /;
· / / ;
· / , / ( /), () ;
· /, ;
· , , .
(), :
· ;
· /, ;
· , , .
(), :
· ;
· / /, ( );
· , , .
55
4.4.
.
( ), . , , .
Windows- WindowsActiveDirectory . , .
.
Windows- .
windows- .
Windows-, .
Windows- :
· ;
· , , . .
( , ) .
27
. 28. windows-
. 29. windows-
( > ) , .
(*.csv, *.html, *.xlsx ..).
57
5.
— . :
· ;
· ;
· .
. " " () , . " " () — , / ( >
> ).
web- : , , — , web-. web- .
— :
· , , , / .
· EMail, SMS Pusn .
· . . - — . , , , . . :
- ;
- , ;
- .
. , "" . , "" ,
58
- ;
- ;
- , .
· . , .
SMS- — SMS- . SMS- http://smsc.ru/.
EMail- — EMail- .
SMS- EMail- :
· ( , , /);
· ;
· / .
— . .
:
· — ( ) , ; ;
· , — ( — , — );
· — ; ;
· — , .
— , — : ( Δ , " — " — ):
· Δ —
( " — ");
· Δ — , ( " — ");
, , .
( ) — , , .
— , . . .
() .
— , .
- « » .
5.2.
> .
. , .
( ), , . .
5.3.
60
, .NET 4.5.1+.
.
?
, xml- . , . , .
61
.
62
6.
() , : , - , , , .
:
· — xml;
· ( );
· , , , ;
· , , ;
· "" ;
· (ID) — , ID — " " (long, Long64, – 9 223 372 036 854 775 808 .. 9 223 372 036 854 775 807);
· , , ;
· , , , . . , ;
· :
- ;
- ;
- .
63
64
63
. 32.
:
1. ( ).
2. () .
3. .
6.1.1. (corTable.xml)
<?xml version="1.0" encoding="WINDOWS-1251"?> <FileConf> <ListTable> <table name="Faculty.xml" value="34" name_ru=""/> <table name="CycleOfDiscipline.xml" value="33" name_ru=" "/> <table name="KindOfActivity.xml" value="32" name_ru=" "/> <table name="TypeOfAuditorium.xml" value="31" name_ru=" "/> <table name="FormOfEducation.xml" value="30" name_ru=" "/> <table name="Post.xml" value="29" name_ru=""/> <table name="Building.xml" value="28" name_ru=""/>
... </ListTable> <Data>
</Object>
</Object> ...
( ). .
. 2.
2 CycleOfDiscipline
4 TypeOfAuditorium
5 FormOfEducation
24 DenormalizationOfLoad
6.1.2.26.1.2.2. (ContentOfLoad.xml)
(ContentOfLoad.xml).
<?xml version="1.0" encoding="WINDOWS-1251"?> <!--Copyright " "--> <Data_Root> <Descript ExpSet_Name="ContentOfLoad" ExpSet_Code="023"> <![CDATA[]]> </Descript> <Data> <Collection child_tags="Object" name="Data.ContentOfLoad" caption=""> <Object name=" " id="123458005" class_id="ContentOfLoad"> <Collection child_tags="prop_value" name="Prop_Values" caption=""> <prop_value value="" prop_name="YearOfEducation"/> <prop_value value="01.09.2013" prop_name="DateFrom"/> <prop_value value="31.12.2013" prop_name="DateTo"/> <prop_value value="72" prop_name="Amount"/> <prop_value value="0" prop_name="Unit"/> <prop_value value="72" prop_name="AmountInUnit"/> <prop_value value="0" prop_name="SignOfContinuity"/> <prop_value value="2" prop_name="TypeOfContingent"/> <prop_value value="" prop_name="ID_Stream" rlt_class=""/> <prop_value value="123457729" prop_name="ID_Group" rlt_class=""/> <prop_value value="" prop_name="ID_SubGroup" rlt_class=""/> <prop_value value="123457476" prop_name="ID_KindOfWork" rlt_class=""/> <prop_value value="123457516" prop_name="ID_Discipline" rlt_class=""/> <prop_value value="123457602" prop_name="ID_Lecturer" rlt_class=""/> <prop_value value="" prop_name="ID_Chair" rlt_class=""/> <prop_value value="" prop_name="ID_CycleOfDiscipline" rlt_class=""/> <prop_value value="" prop_name="PackageNumber"/> <prop_value value="" prop_name="ID_Auditorium" rlt_class=""/> <prop_value value="" prop_name="ID_Semester" rlt_class=""/> <prop_value value="" prop_name="Remotely"/> </Collection> </Object> ... </Collection> </Data> </Data_Root>
6.1.3.
excel- ForImport.xlsm, . .
134
134
66
. 33. Excel
, .
. 34. -
:
· ;
· , , ;
· ( ), , ( );
· ;
· -, , .
, . . , 2 : .
67
. / ( ) . .
, , :
· — Excel xml- . xml- result, -. , .
:
- — .
- — , .
- — . ... ( — 1000 ). 2- (2, 3 . .).
. xml-
, , corTable.xml (, : ContentOfLoad.xml, ContentOfLoad1.xml, ContentOfLoad_1.xml; Auditorium.xml, Auditorium_1.xml, Auditorium_2.xml).
- — . .
. , , , .
, - ForImp ort.xlsm corTable.xml .
· — , .
· — ( ).
· — . , .
· — . , .
63
· — . . : ( ) (, ), . - . .
6.1.4.
> . .
Ctrl+N.
:
· [] — . ;
· [ ] — ;
· [ , ] — , .
. : ( ); ; ; ; .
. 35.
69
, , .
ID — () . ForImport.xlsm.
6.1.5. ERP
, ERP, .
(, , ), . , , . , . .
ERP xml-,
.
ERP , , .
6.1.5.16.1.5.1.
ERP EIO.cfg EXE\xml ( ERP).
EIO.cf g ERP ( , U_StProc) .
- XML >
- .
65
69
72
. 36.
XML > XML :
· Faculty ();
· Chair ();
· ContentOfLoad ().
, .
71
.
! : 1) Stream () ; 2) Staf f Of Stream ( ) ; 3) ContentOf Load ( ) .
. 38.
72
6.1.5.26.1.5.2.
ERP .
, , . . (, ) . ,
. ():
· ERP - ;
· () .
. . , (Post.xml) (Lecturer.xml), (ContentOfLoad.xml).
6.2.
(). , .
. 3.
2 iCycleOfDiscipline
4 iTypeOfAuditorium
5 iFormOfEducation
24 iDenormalizationOfLoad
, ForImport.xlsm, .
. 4. (iContentOf Load)
Name Code Type P M
YearOfEducation int
. 1 Amount float X
2 TypeOfContingent int X
ID 3 ID_Stream long
ID 4 ID_Group long
ID 5 ID_SubGroup long
ID ID_Discipline long X
ID ID_DisciplineInPlan char(200)
ID ID_Lecturer long X
ID ID_Chair long
ID ID_ContentOfLoad long X X
121
()6 Unit int X
AmountUnit int X
7 SignOfContiniuty boolean
8 PackageNumber int
ID 9 ID_Auditorium long
ID ID_Semester long
10 Remotely boolean
12 ID_Language long
2 1 — , 2 — , 3 — .
3 , TypeOfContingent = 3.
4 , TypeOfContingent = 2.
5 , TypeOfContingent = 1.
6 0 — (, . .), 1 — (, , . .).
7 true , (, . .).
8 0, , — , , .
9 ; — ( ); .
10 , "ID " "" ( ). "ID " "".
11 0 — ( ), 1 — , 2 — .
12 1 — ( ), 2 — .
:
3) YearOfEducation Semester.
:
133
- StartDate, ID_Discipline, ID_KindOfWork, ID_Lecturer, ID_SubGroup.
: 1) , null. 2) , (ID_Stream, ID_Group , ID_SubGroup ) . 3) Typ eOf Contingent .
. 5. (iResourceLanguage)
Name Code Type P M
ID ID_ResourceLanguage long X X
ID 1 ID_Language long X
2 ObjectApply int X
ID 3 ID_ObjectOID long X
Abbr chair(80)
1 1 — ( ), 2 — .
2 1 — Discipline (), 2 — Lecturer (), 3 — Post (), 4 — KindOfWork ( ), 5 — Building (), 6 — Auditorium (), 7 — Stream (), 8 — Group (), 9 — Subgroup ().
3 iDiscipline.ID_Discipline ObjectApply = 1, iLecturer.ID_Lecturer ObjectApply = 2 . .
iResourceLanguage / , . . ( ) .
2. .
4. .
5. -.
. :
· ;
· , , , ;
· ;
76
· , ;
· ;
· () " " (long, Int64, - 9 223 372 036 854 775 808 .. 9 223 372 036 854 775 807).
2–4
> . , . , .
. 39.
:
· :
- — , , ;
- —
;
· EMail-, EMail — ;
· — , ;
· - "1", . , . iParametr.ActiveLoad "1", - "0". " " ;
77
· / - .
,
, .
.
corTable.xml ( ).
, :
· ;
· ;
· ;
· .
() :
· , ;
· , ;
· , -.
( ) .
( ). , .
:
· (log-);
· .
[ ] log-. :
· , , ;
· , , .
— .
. 6. (iLog)
63
RUZUser long
StartDate datetime
EndDate datetime
LogName char(100)
(e) 1 Rezult int
1 : 0 — ; 1 — , ; 2 — .
, .
. 7.
Name Code Type
UID char(2000)
1 : 0 — , ; 1 — ; 2 —
2 :
· 0 — ;
· 10 — ; 11 — ; 12 — - ;
· 20 — ; 21 — ; 22 — - ;
· 30 — ; 31 — ; 32 — - .
:
· > > ;
· .
:
runcmd /c runimp ort /logon AuthenticationTyp e:ActiveDirectory
runcmd /c runimp ort /logon AuthenticationTyp e:Standard UserName:< > Password:< >
:
· runimp ort — .
79
.
runcmd.exe . : /?, /h, /help . runcmd.exe.conf ig. , , ( ConnectionString) .
, :
· ;
· / .
39
. 40.
. . , , . , , .
:
3) .
:
· ;
82
) > .
. 41.
, , .
:
1) (. );
2) ;
4) .
:
· ;
· (Ctrl+N) (
82
) ( , , , , );
· [].
> .
, , , .
. 42.
7.2.
. . , , , , . " " " " () .
83 83
- (Header, Detail Footer), , ( ). . , Header Footer " " " " .
. 43.
/ , ( ).
PageHeaderBand
GroupHeaderBand ( Grouping Data)
DetailBand , -
DetailReportBand
ReportFooterBand -
PageFooterBand , ,
BottomMarginBand
7.2.2.
( ).
:
· ;
· , .
:
· ;
· , .
. 44.
:
· ;
· ;
· , ; [] / , (. . ).
86
87
8.
8.1.
:
· — ;
· — ;
· - — ;
· — .
, , (, ).
, , . . / .
. — , .
. , , .
8.2.
xml-. , , , . .
.
,
( ) .
() corTable.xml. .
Auditorium key , , value. , key.
88
. 47. /
8.3.
.
8.4.
(, .). , , — "".
, , . . .
.
1:
· . (, ). .
· ( ForImport.xlsm).
68
· :
- > ( );
- (Ctrl+D);
- , .
· .
3:
· .
· ForImport.xlsm ( ), xml-.
· ( 1).
· xml-.
· .
9.1.
XAF (eXpressApp Framework). , , , . ., — (Application Model).
. 48.
:
1) , . , , .
2) , . , , . DevExpress.ExpressApp.ModelEditor.vXX.X.exe ( , ). , , .
3) , . . . , , , . . > . .
( ).
42
45
. , , .
9.2.
. :
· ActionDesign — (Actions) (Controllers), .
· BOModel — -, - -.
· CreatableItems — .
· DetailViewItems — , .
· ImageSources — . .
· Localization — , , , . .
· NavigationItem — . Xaf ari.
· Op tions — .
· Validation — (Contexts) (Rules), . , .
· ViewItems — , .
· Views — .
· Xaf ari — ( ) Xafari.
93
. 49.
9.3.
, , , . . .
, , , , , , .
: Save, Reload, Back, Forward, Search . (Language) (Def ault language) , Model…xafml. ru, Model…_ru.xafml.
, Localization. Translated Value, (Ctrl+F), ( ), . .
93
. 50.
, : https://documentation.devexpress.com/#Xaf/CustomDocument2582.
9.4.
. .
- . Reset Differences.
9.5.
· ;
· .
.
runtime. . . .
, . . - .
, , (<add key="EnableDiagnosticActions" value="True" />) .
. 51.
> .
9.5.1.
:
· IsGroup PanelVisible — ;
· IsFooterVisible — footer-;
95
. 52.
. 53.
Columns.
96
. 54.
Alt+Up/Down.
Index = -1.
, Group Index -1 . , .
SortIndex.
9.5.2.
Views > Galaktika.RUZ.Framework.Data. _DetailView.
Layout. .
97
. 55.
. Drag&Drop . , . .
, : https://documentation.devexpress.com/#WindowsForms/CustomDocument2307.
9.5.3.
Views > Galaktika.RUZ.Framework.Data. _Lookup ListView.
. Lookup EditorMode, :
· Auto — ( ) . Lookup SmallCollectionItemCount ( Op tions), , — .
· AllItems — , . .
· Search — . [] ( , ). [], .
· AllItemsWithSearch — , .
. 56.
, , . . .94
99
10.
Windows 7, Windows 10
Windows 7 Windows 10 , .
:
1) .
2)
.
.
, .. , .
, , . .
, , . .
,
Galaktika.RUZ.Win.exe.config, . . XML-. config- .
. ?
:
· ;
56
· .
, .
. , .
.
. ,
:
· .
:
· "" : -; , , ; - .
log- . , " ".
Oracle ORA-12154
: "ORA-12154: TNS: ".
tnsnames.ora (Oracle). .
Oracle . config- Oracle, :
<add name="ConnectionString" connectionString="XpoProvider=Oracle;Data Source=(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ORUAP-SERVER)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL_RUZ) ) );User ID=RUZ;Password=1" />
Oracle Oracle.
39
Oracle BadImageFormatException
: " Oracle BadImageFormatExcep tion. 64- , 32- Oracle".
Oracle OC. 32-, Oracle 32-. 64-, Oracle 64-.
, , . :
· , ;
· ;
· eXpressAppFramework.log;
HTTP-: GET.
· Int KindEducation ( ) — : 0 — , 1 — , 2 — , 3 — , 4 — , 5 — .
· IsScheduleActive ( ) — ( ); : true, false.
· Long GID ( ) — ; , (Group.GID=GID).
:
· int FormOfEducationOid — id ;
· int SpecialityGid — id ;
· int SpecialityOid — id ;
· int YearOfEducation — ;
· int chairOid — id ;
· int facultyOid — id ;
· string formOfEducation — ;
· int groupOid — id ;
· int KindEducation — ;
· string Number — ;
2.
URL : http://servername/ruzservice.svc/lecturers?chairoid={value}.
:
· int chairOid — id ;
· char lecturerCustomUID — , person (char);
· int lecturerGid — id ;
· int lecturerOid — id ;
· string lecturer_rank - ;
· string shortFIO — ... (, - ).
3.
URL : http://servername/ruzservice.svc/auditoriums?buildingoid={value}.
104
:
· string Building — ;
· int buildingOid — id ;
· string TypeOfAuditorium — ;
· intTypeOfAuditoriumOid — id ;
· int hideincapacity — , (0 - , 1 - );
· string Number — .
· int amount — .
URL : http://servername/ruzservice.svc/typeofauditoriums.
· int TypeOfAuditoriumGid — id ;
· string Name — ;
· string Abbr — ;
· string Code — ;
· int hideinCapacity — , .
5.
URL : http://servername/ruzservice.svc/kindofworks.
· int kindOfWorkGid — id ;
· string Name — ;
· string Abbr — ;
· string Unit — .
6.
· string Name — ;
· string Abbr — ;
· string Address — ;
· string Name — ;
· string Abbr — ;
· string Institute — ;
· string Code — .
:
· string Name — ;
· string Abbr — ;
· string Faculty — ;
· string Code — .
· string Name — ;
· string Abbr — ;
· string Faculty — ;
· string Course — ;
· int FormOfEducationGid — id ;
· int YearOfEducation — .
10.
· string Group — ;
· int groupOid — id ;
· string Name — ;
· string Abbr — .
URL : http://servername/ruzservice.svc/messages?id={messageId}.
:
12. /
URL : http://servername/ruzservice.svc/notifications?days={days}.
: .
: JSON.
Int days — . N , / .
:
· string senderEmail — , ;
· string note — ;
· string noteFull — ;
· int notificationOid — id .
URL : http://servername/ruzservice.svc/banofauditoriums?fromdate={fromDate} &todate={toDate}.
: .
: JSON.
· string auditorium — ;
· int auditoriumOid — id ;
· int typeOfLimitation — : 0 — , 1 — , 2 — ;
· int typeOfSource — : 0 — , 1 — , 2 — , 3 — ;
· int status — : 0 — , 1 — , 2 — , 3 — ;
· int typeOfAuditoriumOid — id ;
· string typeOfAuditorium — ;
· int kindOfWorkOid — id ;
· string kindOfWork — ;
· int buildingOid — id ;
· string building — ;
· int tableType — : 0 — , 1 — , 2 — , 3 — ;
· string note — ;
· int equipment — : 0 — , 1 — , 2 — ;
· bool computerEquipment — ;
· string lecturer — ( , ";", );
· int supervision — : 1 — , 0 — .
14. / , .
URL : http://servername/ruzservice.svc/setbanofauditorium.
HTTP : POST.
: .
: JSON.
:
JSON (. 13 , " ").
: kindBanOfAuditorium, auditoriumOid, dateOfNest, timeBeg, timeEnd.
:
· string Description — .
· Code: 0, Description: "OK".
· Code: 2, Description: " ."
· Code: 3, Description: " ."
· Code: 4, Description: " ."
· Code: 5, Description: " ."
· Code: 6, Description: " ."
· Code: 7, Description: " ."
· Code: 8, Description: " ."
· Code: 9, Description: " ."
· Code: 10, Description: " ."
· Code: 11, Description: " ."
· Code:12, Description: " ."
· Code: 13, Description: " ."
108
· Code: 14, Description: " ."
contingent () . , , ";", : 151;121;13-1. , " " .
15.
URL : http://servername/ruzservice.svc/token.
· string Login — ( );
· string Password — ( );
· int OSType — : 0 — , 1 — Android, 2 — iOS, 3 — WindowsPhone ( Push- );
· string DeviceID — id ( Push- ).
:
: .
16.
URL : http://servername/ruzservice.svc/getavailableauditoriums? dateofnest={dateOfNest}&timebeg={timeBeg}&timeend={timeEnd} &kindbanofauditorium={kindBanOfAuditorium} &typeofauditoriumoid={typeOfAuditoriumOid}&buildingoid={buildingOid} &equipment={equipment}&computerequipment={computerEquipment} &mediaequipment={mediaEquipment}&amount={amount}&tabletype={tableType}.
HTTP-: GET.
: .
: JSON.
111
· int kindBanOfAuditorium — : 0 — , 1 — ;
· int typeOfAuditoriumOid — id ;
· int buildingOid — id ( );
· int equipment — : 0 — , 1 — , 2 — ;
· bool computerEquipment — ;
· int amount — ;
· int tableType — : 0 — , 1 — , 2 — , 3 — .
:
URL : http://servername/ruzservice.svc/staffofgroup?groupOid={groupOid}.
:
· string fio — ... ();
18.
URL : http://servername/ruzservice.svc/staffofstream?streamoid={streamOid}.
112
:
· string GroupNumber — ;
· int SubgroupOid — id ;
· string SubgroupName — .
19. / ( 180 )
URL : http://servername/ruzservice.svc/lessons?fromdate={fromDate} &todate={toDate}&groupoid={groupOid}&lectureroid={lecturerOid} &auditoriumoid={auditoriumOid}&language={language}.
HTTP-: GET.
· string fromDate — ;
· string toDate — ;
· int groupOid — id ;
· int lecturerOid — id ;
· int auditoriumOid — id ;
· int language — : 1 — ( ), 2 — ; , 1;
· int lessonOid — .
· string date — ;
· string dateOfNest — Unix timestamp;
· int dayOfWeek — (enum System.DayOfWeek);
· string dayOfWeekString — ( , , , , , , );
· string beginLesson — ;
· string endLesson — ;
113
· string discipline — ;
· int disciplineOid — id ;
· int disciplinetypeload — ;
· string auditorium — ;
· int auditoriumOid — id ;
· int auditoriumAmount — ;
· string lecturer — ... ;
· int lecturerOid — id ;
· string author — - ;
· date createddate — ISO 8601;
· date dateOfNest — ISO 8601;
· int hideinCapacity — (1 - , 0 - );
· int isBan — , , / ;
· int lessonNumberStart — ;
· int lessonNumberEnd — ;
· date modifieddate — ISO 8601;
· string parentschedule — -;
URL : http://servername/ruzservice.svc/personlessons?fromdate={fromDate} &todate={toDate}&receivertype={receiverType}&groupoid={groupOid} &lectureroid={lecturerOid}&auditoriumoid={auditoriumOid}&studentoid={studentOid} &uns={UNS}&email={email}&language={language}.
HTTP-: GET.
· int receiverType — , : 0 — ( ), 1 — , 2 — , 3 — , 4 — , 5 - . ( , , ), 6 — , 7— , 8 — ;
· int groupOid — id ( receiverType = 3);
· int lecturerOid — id ( receiverType = 1);
· int auditoriumOid — id ( receiverType = 2);
· int buildingOid — id ( receiverType = 4);
· int personOid — id ( receiverType = 5);
· int facultyoid — id ( receiverType = 6);
· int disciplineinplan — id ( receiverType = 7);
· int lessonOid — ( receiverType = 8);
· int studentOid — id ;
· str UNS — ;
· str email — ;
·
receiverTyp e = 0, : studentOid, email UNS. . group Oid, .
:
· string groupUID — id ;
· string auditorium — ;
· int auditoriumAmount — ;
· int auditoriumOid — id ;
· string building — ;
· int contentOfLoadOid — , ;
· int contentOfLoadUID — , ;
115
· string date — ;
· string dateOfNest — Unix timestamp;
· int dayOfWeek — (enum System.DayOfWeek);
· string dayOfWeekString — ( - , , , , , , );
· string detailInfo — ;
· int disciplinetypeload — ;
· int duration — ;
· string group — ( );
· int group_facultyoid — id ( );
· int hideinCapacity — (1 - , 0 - );
· int isBan — , , / ;
· string kindOfWork — (, . .); BanOfAuditorium.Supervision=true " ";
· int kindOfWorkOid — id ;
· int kindOfWorkGid — id ;
· string lecturer — ... ;
· string lecturerEmail —
· int lecturerOid — id ;
· string lecturer_rank — ;
· string lecturer_title — ... ;
· int lessonOid —
· string note — ;
116
· url1 — 1
· url1_description — 1
· url2 — 2
· url2_description — 2
· int buildingGid — id ;
· int buildingOid — id ;
· int contentTableOfLessonsOid — id ;
· string tableofLessonsName — ;
· string contentTableOfLessonsName —
21. / ( 180 ), 2
URL : http://servername/ruzservice.svc/v2/personlessons?fromdate={fromDate} &todate={toDate}&receivertype={receiverType}&groupoid={groupOid} &lectureroid={lecturerOid}&auditoriumoid={auditoriumOid}&studentoid={studentOid} &uns={UNS}&email={email}&iscount={isCount}&language={language}.
HTTP-: GET.
.
· int receiverType — , : 0 — ( ), 1 — , 2 — , 3 — ;
· int groupOid — id ( receiverType = 3);
· int lecturerOid — id ( receiverType = 1);
· int auditoriumOid — id ( receiverType = 2);
· int studentOid — id ;
117
· bool isCount — (true/false);
· int language — : 1 — ( ), 2 — ; , 1.
receiverTyp e = 0, : studentOid, email UNS. . group Oid, .
:
{"Count":,"Lessons":null,"StatusCode":{"Code": ,"Description":""}}
· StatusCode:
:
· string date — ;
· int dayOfWeek — (enum System.DayOfWeek);
· string dayOfWeekString — ( - , , , , , , );
· string beginLesson — ;
· string endLesson — ;
· int duration — ;
· int contentOfLoadUID — , ;
118
· string discipline — ;
· int disciplineOid — id ;
· int disciplinetypeload — ;
· string building — ;
· string auditorium — ;
· int auditoriumOid — id ;
· int auditoriumAmount — ;
· int lecturerOid — id ;
· char lecturerCustomUID — , person (char).
· string author — - ;
· string note — ;
· string dateOfNest — Unix timestamp;
· int hideinCapacity — (1 - , 0 - );
· int isBan — , , / ;
· int lessonNumberStart — ;
· int lessonNumberEnd — ;
· date modifieddate — RFC;
· string parentschedule — -;
:
· Code = 20, Description = " ."
· Code = 21, Description = " ."
· Code = 22, Description = " ."
· Code = 23, Description = " ."
22. /
119
.ics ( 180 )
URL : http://servername/ruzservice.svc/lessonscalendar?fromdate={fromDate} &todate={toDate}&receivertype={receiverType}&groupoid={groupOid} &lectureroid={lecturerOid}&auditoriumoid={auditoriumOid}&studentoid={studentOid} &uns={UNS}&email={email}&language={language}.
HTTP-: GET.
:
· int receiverType — , : 0 — ( ), 1 — , 2 — , 3 — ;
· int groupOid — id ( receiverType = 3);
· int lecturerOid — id ( receiverType = 1);
· int auditoriumOid — id ( receiverType = 2);
· int studentOid — id ;
· str UNS — ;
· str email — ;
· int language — : 1 — ( ), 2 — ; , 1.
receiverTyp e = 0, : studentOid, email UNS. . group Oid, .
:
23.
URL : http://servername/ruzservice.svc/semester
120
· int semesterFlag — (0-; 1-);
· int semesterGid — id ;
· string semesterName — ;
· int semesterOid — id ;
· int semesterParentID — id -;
24.
• string code — ;
• string name — ;
• int tableoflessonoid — id ;
• int withdifferencesbydayofweek — - : 0 - ( ); 1 - ;
• int yearofeducation — .
URL : http://servername/ruzservice.svc/contenttableoflesson
• int duration — , ;
• int extdayofweek — (0 – . 1 – ..);
• int number — ;
• int tableoflesson — id ;
• string timebeg — ;
• string timeend — .
26. - //
121
:
• string dateOfNest — Unix timestamp
• string discilplineUID — ;
• int disciplineOid — id ;
11.2.
:
· Name — ;
· Code — , , corTable.xml ;
· Type — ;
· P — , ( );
· M — .
. ID_ UID_.
: (ID_) (UID_) .
· ID_ — long int;
63
. 8. (Faculty )
Abbr char(20)
:
Name Code Type P M
Abbr char(20)
ID ID_CycleOfDiscipline long
UID UID_CycleOfDiscipline char(2000)
:
Name Code Type P M
Abbr char(20)
Code char(20)
UID
UID_KindOfActivity char(2000)
Name Code Type P M
Abbr char(20)
ID ID_TypeOfAuditorium long
UID UID_TypeOfAuditorium char(2000)
:
Name Code Type P M
Abbr char(20)
Name char(200)
:
Abbr char(20)
Code char(20)
:
- Name, Code.
Abbr char(20)
Floor long
. , . . SquareClass float
ID ID_Building long
UID UID_Building char(2000)
124
:
Code char(20)
:
- Name, Code.
Code char(20)
ID ID_Speciality long
UID ID_Specialization long
UID UID_Speciality char(2000)
:
Name Code Type P M
Abbr char(20)
Code char(20)
ID ID_KindOfWork long
ID ID_KindOfActivity long
2 Complexity tinylong
UID
UID_KindOfActivity char(2000)
1 0 ( ) — , 1 — , 2 — .
2 [0..100].
:
125
Abbr char(20)
Code char(20)
ID ID_Faculty long
UID UID_Faculty char(2000)
Name Code Type P M
Abbr char(20)
Code char(20)
2 Complexity tinylong
UID UID_Chair char(2000)
1 [0..100].
2 [0..100].
:
1 Availability tinylong
Priority tinylong
ID ID_Lecturer long
FIO char(200)
UID UID_Lecturer char(2000)
126
lecturerCustomUID lecturerCustomUID char(2000)
1 0 — . ., 1 ( ) — , 2 — .
:
. 21. (Auditorium)
Name Code Type P M
Abbr char(20)
( )
Amount int
Name char(200)
Number char(20)
ID ID_Chair long
ID ID_Faculty long
UID UID_Chair char(2000)
UID UID_Faculty char(2000)
, .. Square float
1 Equipment long
2 TableType long
127
:
1 YearOfEducation long
()
Amount int
Name char(200)
ID ID_Chair long
ID ID_FormOfEducation long
ID /
ID_Specialization long
UID UID_Chair char(2000)
UID UID_FormOfEducation char(2000)
UID /
UID_Specialization char(2000)
Note char(1000)
1 YYYY (: 2011, 2012 . .).
2 0 — ; 1 — .
3 , Kind = 1; 0 — ; 1 — .
4 0 — ; 1 — ; 2 — .
:
128
2) ID_Specialization (UID_Specialization) , Speciality.Specializations.
3) ID_Chair ID_Faculty (UID_Chair UID_Faculty) .
:
. 23. (Student)
ID ID_Stududent long
UID 1 UID_Group char(2000)
UID UID_Studdent char(2000)
( )
:
Name Code Type P M
ID ID_Group long X
ID ID_StaffGroup long X X
ID ID_Student long X
UID UID_Group char(2000) X
UID UID_StaffGroup char(2000) X X
UID UID_Student char(2000) X
:
Abbr char(20)
Name char(200)
129
ID ID_SubGroup char(2000)
UID UID_Group char(2000)
UID UID_SubGroup char(2000)
:
Name Code Type P M
ID ID_SubGroup long
ID ID_StaffOfSubGroup long
ID ID_Student long
UID UID_SubGroup char(2000)
UID UID_StaffOfSubGroup char(2000)
UID UID_Student char(2000)
:
. 27. (Stream)
Abbr char(20)
Amount int
Name char(200)
ID ID_Faculty long
UID UID_Course char(2000)
UID UID_Faculty char(2000)
UID UID_FormOfEducation char(2000)
1 TypeOfPersistence tinylong
1 0 — , 1 — ( ).
:
- YearOfEducation, Name.
130
ID ID_StaffOfStream long X X
ID ID_Stream long X
1 TypeOfContingent int X
ID 2 ID_Group long
ID 3 ID_SubGroup long
ID 4 ID_Student long
UID 2 UID_Group char(2000)
UID 3 UID_SubGroup char(2000)
UID 4 UID_Student char(2000)
2 , TypeOfContingent = 2.
3 , TypeOfContingent = 1.
4 , TypeOfContingent = 0.
:
. 29. (Semester)
Name Code Type P M
Abbr char(20)
Name char(200) X
ID ID_Semester char(2000) X X
UID UID_Parent char(2000) X
UID UID_Semester char(2000) X X
: StartDate < EndDate.
. 30. (ContentOf Load)
Name Code Type P M
YearOfEducation int
. 1 Amount float X
2 TypeOfContingent int X
ID 3 ID_Stream long
ID 4 ID_Group long
ID 5 ID_SubGroup long
ID ID_Discipline long X
ID ID_Lecturer long X
ID ID_Chair long
ID ID_ContentOfLoad long X X
UID 3 UID_Stream char(2000)
UID 4 UID_Group char(2000)
UID 5 UID_SubGroup char(2000)
UID UID_Discipline char(2000) X
UID UID_Lecturer char(2000) X
UID UID_Chair char(2000)
UID UID_ContentOfLoad char(2000) X X
()6 Unit int X
AmountUnit int X
7 SignOfContiniuty boolean
8 PackageNumber int
ID 9 ID_Auditorium long
ID ID_Semester long
UID 9 UID_Auditorium char(2000)
UID UID_Semester char(2000)
10 Remotely boolean
2 1 — , 2 — , 3 — .
3 , TypeOfContingent = 3.
4 , TypeOfContingent = 2.
5 , TypeOfContingent = 1.
132
6 0 — (, . .), 1 — (, , . .).
7 true , (, . .).
8 0, , — , , .
9 ; — ( ); .
10 , "ID " "" ( ). "ID " "".
:
3) YearOfEducation Semester.
:
- StartDate, ID_Discipline, ID_KindOfWork, ID_Lecturer, ID_Stream ( UID_Discipline, UID_KindOfWork, UID_Lecturer, UID_Stream);
- StartDate, ID_Discipline, ID_KindOfWork, ID_Lecturer, ID_Group ( UID_Discipline, UID_KindOfWork, UID_Lecturer, UID_Group);
- StartDate, ID_Discipline, ID_KindOfWork, ID_Lecturer, ID_SubGroup ( UID_Discipline, UID_KindOfWork, UID_Lecturer, UID_SubGroup).
: 1) , null. 2) , (ID_Stream, ID_Group , ID_SubGroup UID_Stream, UID_Group , UID_SubGroup ) . 3) Typ eOf Contingent .
. .
. 31. (DenormalizationOf Load)
Name Code Type P M
EndDate date
StartDate date
133
65
UID UID_ContentOfLoad char(2000) X
1 ; , 2 . , :
· Discreteness >= 1;
· Discreteness <= Amount;
:
:
3) — .
4) .
5) ContentOfLoad.StartDate .. ContentOfLoad.EndDate.
. 32. (AuditoriumPref erred)
Name Code Type P M
1 Priority int
ID ID_Auditorium long X
ID ID_ContentOfLoad long X
UID
UID UID_ContentOfLoad char(2000) X
1 [0..10]; , .
:
(e) 1 KindEducation int X
YearOfEducation int X
, MasterProgramm char(200)
, MasterSpecialization char(200)
Name char(200) X
ID ID_Specialization long
ID ID_Curriculum long X X
ID ID_Faculty long X
UID UID_Course char(2000) X
UID UID_Specialization char(2000)
UID UID_Curriculum char(2000) X X
UID UID_Faculty char(2000) X
1 0 — , 1 — , 2 — .
: ID_Specialization , Speciality.Specializations.
: YearOfEducation, ID_Faculty ( UID_Faculty), ID_Course ( UID_Course), Name.
. 34. (DistanceBetweenBuilding)
Name Code Type P M
ID ID_Building2 long X
ID ID_Building1 long X
ID ID_DistanceBetweenBuilding long X X
() Distance int X
UID UID_Building2 char(2000) X
UID UID_Building1 char(2000) X
UID UID_DistanceBetweenBuilding char(2000) X X
. 35. (ResourceLanguage)
Name Code Type P M
ID ID_ResourceLanguage long X X
ID 1 ID_Language long X
2 ObjectApply int X
ID 3 ID_ObjectOID long X
Abbr char(80)
1 1 — ( ), 2 — .
2 1 — Discipline (), 2 — Lecturer (), 3 — Post (), 4 — KindOfWork ( ), 5 — Building (), 6 — Auditorium (), 7 — Stream (), 8 — Group (), 9 — Subgroup ().
135
3 ID_Discipline ObjectApply = 1, ID_Lecturer ObjectApply = 2 . .
ResourceLanguage / , .. ( ) .
1
3
3.1.3
3.1.5
3.1.6
3.1.7
3.2 Win.
3.2.2
3.2.2.2
3.2.2.3
3.2.3
3.2.3.1
3.2.3.2
3.2.3.3
3.3.5 AJAX-
3.3.6
3.6
3.7.4
3.7.5
3.7.6
4.1
4.3.3
4.3.4
4.4
6.1.1 (corTable.xml)
6.1.3
6.1.4
6.1.5.1
6.1.5.2
7
9.1
9.2
9.4
9.5
9.5.1
9.5.2
10
11