-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3,509 changed files
with
5,558,321 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
81 changes: 81 additions & 0 deletions
81
CommunicationModule/Its.CommunicationModule/Its.CommunicationModule.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{8DF71E70-9048-43E3-AA4E-3B0846AA0EE0}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>Its.CommunicationModule</RootNamespace> | ||
<AssemblyName>Its.CommunicationModule</AssemblyName> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug</OutputPath> | ||
<DefineConstants>DEBUG;</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<ConsolePause>false</ConsolePause> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>full</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<ConsolePause>false</ConsolePause> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="log4net"> | ||
<HintPath>..\..\log4net.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.AnalysisServices.AdomdClient"> | ||
<HintPath>..\..\Microsoft.AnalysisServices.AdomdClient.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.AnalysisServices"> | ||
<HintPath>..\..\Microsoft.AnalysisServices.DLL</HintPath> | ||
</Reference> | ||
<Reference Include="Mono.Addins"> | ||
<HintPath>..\..\Mono.Addins.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Nini"> | ||
<HintPath>..\..\Nini.dll</HintPath> | ||
</Reference> | ||
<Reference Include="OpenMetaverse"> | ||
<HintPath>..\..\OpenMetaverse.dll</HintPath> | ||
</Reference> | ||
<Reference Include="OpenMetaverse.StructuredData"> | ||
<HintPath>..\..\OpenMetaverse.StructuredData.dll</HintPath> | ||
</Reference> | ||
<Reference Include="OpenMetaverseTypes"> | ||
<HintPath>..\..\OpenMetaverseTypes.dll</HintPath> | ||
</Reference> | ||
<Reference Include="OpenSim.Framework"> | ||
<HintPath>..\..\OpenSim.Framework.dll</HintPath> | ||
</Reference> | ||
<Reference Include="OpenSim.Region.Framework"> | ||
<HintPath>..\..\OpenSim.Region.Framework.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="TutorRegionModule.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\TutoringModule\TutoringCoordinator\ReactiveTutor\Its.TutoringModule.TutoringCoordinator.ReactiveTutor\Its.TutoringModule.TC.RTutor.csproj"> | ||
<Project>{17D5BDC5-93B7-4B54-BB7D-8041942658A3}</Project> | ||
<Name>Its.TutoringModule.TC.RTutor</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\TutoringModule\TutoringCoordinator\Its.TutoringModule.TutoringCoordinator\Its.TutoringModule.TC.csproj"> | ||
<Project>{7FE32128-C2F9-481E-8D73-79A1875E15DB}</Project> | ||
<Name>Its.TutoringModule.TC</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
</Project> |
22 changes: 22 additions & 0 deletions
22
CommunicationModule/Its.CommunicationModule/Properties/AssemblyInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
|
||
// Information about this assembly is defined by the following attributes. | ||
// Change them to the values specific to your project. | ||
[assembly: AssemblyTitle ("Communication")] | ||
[assembly: AssemblyDescription ("")] | ||
[assembly: AssemblyConfiguration ("")] | ||
[assembly: AssemblyCompany ("")] | ||
[assembly: AssemblyProduct ("")] | ||
[assembly: AssemblyCopyright ("DiegoDotor")] | ||
[assembly: AssemblyTrademark ("")] | ||
[assembly: AssemblyCulture ("")] | ||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". | ||
// The form "{Major}.{Minor}.*" will automatically update the build and revision, | ||
// and "{Major}.{Minor}.{Build}.*" will update just the revision. | ||
[assembly: AssemblyVersion ("1.0.*")] | ||
// The following attributes are used to specify the signing key for the assembly, | ||
// if desired. See the Mono documentation for more information about signing. | ||
//[assembly: AssemblyDelaySign(false)] | ||
//[assembly: AssemblyKeyFile("")] | ||
|
143 changes: 143 additions & 0 deletions
143
CommunicationModule/Its.CommunicationModule/TutorRegionModule.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
using System; | ||
using Its.TutoringModule.TutoringCoordinator.ReactiveTutor; | ||
|
||
using System.Reflection; | ||
using log4net; | ||
using Nini.Config; | ||
using OpenMetaverse; | ||
using OpenMetaverse.StructuredData; | ||
using OpenSim.Framework; | ||
using OpenSim.Region.Framework.Interfaces; | ||
using OpenSim.Region.Framework.Scenes; | ||
using Mono.Addins; | ||
using System.Data; | ||
|
||
using System.Collections; | ||
using System.Collections.Generic; | ||
|
||
|
||
[assembly: Addin("TutorRegionModule", "0.1")] | ||
[assembly: AddinDependency("OpenSim", "0.8.1.1")] | ||
namespace Its.CommunicationModule | ||
//namespace TutorRegionModule | ||
{ | ||
|
||
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "TutorRegionModule")] | ||
public class TutorRegionModule:INonSharedRegionModule | ||
{ | ||
private Tutor tutor = new Tutor(); | ||
private IConfig m_config = null; | ||
private bool m_enabled = true; | ||
private Scene m_scene = null; | ||
|
||
private IScriptModuleComms m_comms; | ||
|
||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
|
||
public string Name { get { return this.GetType().Name;} } | ||
|
||
public void Initialise(IConfigSource config) | ||
{ | ||
m_log.WarnFormat("[TutorRegionModule] start configuration"); | ||
try | ||
{ | ||
if ((m_config = config.Configs["TutorRegionModule"]) != null) | ||
m_enabled = m_config.GetBoolean("Enabled", m_enabled); | ||
} | ||
catch (Exception e) | ||
{ | ||
m_log.ErrorFormat("[PruebaOS] initialization error: {0}",e.Message); | ||
return; | ||
} | ||
|
||
m_log.ErrorFormat("[TutorRegionModule] module {0} enabled",(m_enabled ? "is" : "is not")); | ||
} | ||
|
||
public void PostInitialise() | ||
{ | ||
if (m_enabled) {} | ||
} | ||
|
||
public void Close() { } | ||
public void AddRegion(Scene scene) { } | ||
public void RemoveRegion(Scene scene) { } | ||
|
||
public void RegionLoaded(Scene scene) | ||
{ | ||
if (m_enabled) | ||
{ | ||
m_scene = scene; | ||
m_comms = m_scene.RequestModuleInterface<IScriptModuleComms>(); | ||
if (m_comms == null) | ||
{ | ||
m_log.WarnFormat("[PruebaOS] ScriptModuleComms interface not defined"); | ||
m_enabled = false; | ||
|
||
return; | ||
} | ||
|
||
m_comms.RegisterScriptInvocation(this,"CreateStudent"); | ||
m_comms.RegisterScriptInvocation(this,"LoadStudents"); | ||
m_comms.RegisterScriptInvocation(this,"LoadWorld"); | ||
m_comms.RegisterScriptInvocation(this,"LoadDomain"); | ||
m_comms.RegisterScriptInvocation(this,"ToTutor"); | ||
|
||
// Register some constants as well | ||
|
||
} | ||
} | ||
|
||
public Type ReplaceableInterface | ||
{ | ||
get { return null; } | ||
} | ||
|
||
#region ScriptInvocationInteface | ||
public float CreateStudent(UUID hostID, UUID scriptID, string key, string name, string middleName, string surname, string lastName) | ||
{ | ||
m_log.WarnFormat("[TutorRegionModule] Suma parameter"); | ||
tutor.CreateStudent (key, name, middleName, surname, lastName); | ||
return 1; | ||
} | ||
|
||
public float LoadStudents(UUID hostID, UUID scriptID) | ||
{ | ||
m_log.WarnFormat("[TutorRegionModule] Load students"); | ||
tutor.LoadStudents (); | ||
return 1; | ||
} | ||
|
||
public float LoadWorld(UUID hostID, UUID scriptID, string virtualEnvironmentKey) | ||
{ | ||
m_log.WarnFormat("[TutorRegionModule] Load students"); | ||
tutor.LoadWorld (virtualEnvironmentKey); | ||
return 1; | ||
} | ||
|
||
public float LoadDomain(UUID hostID, UUID scriptID, string key) | ||
{ | ||
m_log.WarnFormat("[TutorRegionModule] Load students"); | ||
tutor.LoadDomain (key); | ||
return 1; | ||
} | ||
|
||
|
||
public object ToTutor(UUID hostID, UUID scriptID, string actionName, string domainName, string studentKey, string objectName) | ||
{ | ||
m_log.WarnFormat("[TutorRegionModule] Load students"); | ||
|
||
List<string> messages=null; | ||
tutor.ToTutor(actionName, domainName, studentKey, objectName,out messages); | ||
return messages; | ||
} | ||
|
||
|
||
#endregion | ||
|
||
|
||
|
||
|
||
} | ||
|
||
} | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{CDA1BB2F-93D2-451C-BB9A-76CA38127E4C}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<RootNamespace>LoadLogsBiotech</RootNamespace> | ||
<AssemblyName>LoadLogsBiotech</AssemblyName> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug</OutputPath> | ||
<DefineConstants>DEBUG;</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Externalconsole>true</Externalconsole> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>full</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Externalconsole>true</Externalconsole> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Configuration" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
<ItemGroup> | ||
<None Include="LoadLogsBiotech.exe.config"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\Factories\Its.Factories\Its.Factories.csproj"> | ||
<Project>{F61F36FF-7AB3-4027-BD01-74F3528ED088}</Project> | ||
<Name>Its.Factories</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\TutoringModule\TutoringCoordinator\ReactiveTutor\Its.TutoringModule.TutoringCoordinator.ReactiveTutor.ObjectModel\Its.TutoringModule.TC.RTutor.OM.csproj"> | ||
<Project>{BE49666E-929B-4CF9-9F37-DDB4E4D6C762}</Project> | ||
<Name>Its.TutoringModule.TC.RTutor.OM</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\StudentModule\Its.StudentModule.ObjectModel\Its.StudentModule.OM.csproj"> | ||
<Project>{EEED4FBB-9FCA-46C9-927A-765F7BC05666}</Project> | ||
<Name>Its.StudentModule.OM</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\StudentModule\Its.StudentModule.DataAccess\Its.StudentModule.DA.csproj"> | ||
<Project>{B16D75E5-FEC4-4F6E-BBAC-4F004F0581C4}</Project> | ||
<Name>Its.StudentModule.DA</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\ExpertModule\Its.ExpertModule.ObjectModel\Its.ExpertModule.OM.csproj"> | ||
<Project>{8B928308-3D38-4CF5-8352-162A23F9A5EA}</Project> | ||
<Name>Its.ExpertModule.OM</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\ExpertModule\Its.ExpertModule\Its.ExpertModule.csproj"> | ||
<Project>{053D479C-7695-452A-ABFF-237300DB84AE}</Project> | ||
<Name>Its.ExpertModule</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\WorldModule\Its.WorldModule\Its.WorldModule.csproj"> | ||
<Project>{44A3A108-F052-4126-A905-4ADEC242E7E9}</Project> | ||
<Name>Its.WorldModule</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\StudentModule\Its.StudentModule\Its.StudentModule.csproj"> | ||
<Project>{C407248F-9674-45D8-B58F-72A2684555AB}</Project> | ||
<Name>Its.StudentModule</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<configuration> | ||
<appSettings> | ||
<add key="initialColumn" value="2" /> | ||
<add key="finalColumn" value="22" /> | ||
<add key="initialRow" value="1" /> | ||
<add key="ontologyPath" value="..\..\..\..\StudentModule\Its.StudentModule.Ontology\"/> | ||
<add key="logsPath" value="..\..\..\..\StudentModule\Its.StudentModule.Ontology/Logs\"/> | ||
<add key="domainConfigurationPath" value="..\..\..\..\DomainConf\"/> | ||
<add key="worldConfigurationPath" value="..\..\..\..\WorldConf\"/> | ||
</appSettings> | ||
</configuration> |
Binary file not shown.
Oops, something went wrong.