Skip to content

Commit

Permalink
2021.1 - Soft Release
Browse files Browse the repository at this point in the history
2020.1 - Soft Release
  • Loading branch information
Philip-S-Martin authored Feb 19, 2021
2 parents f4811f2 + 9df1839 commit 1f8094c
Show file tree
Hide file tree
Showing 147 changed files with 3,784 additions and 2,694 deletions.
Binary file added InstallForge/2021_1_InstallProject.ifp
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using ProtocolMaster.Model.Protocol;
using ProtocolMasterCore.Protocol;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SchedulinoDriver.Generator
namespace Schedulino.Generator
{
class Interval : IEquatable<Interval>, IComparable<Interval>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using ProtocolMaster.Model.Protocol;
using ProtocolMasterCore.Protocol;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SchedulinoDriver.Generator
namespace Schedulino.Generator
{
// Pairing Handler: calls the delivery handler for
delegate void SoundHandler();
Expand Down Expand Up @@ -147,7 +144,7 @@ private void GenerateSoundsBlock()
prevSoundInterval = si;
}
exp_end = potential_end;
}
}
}

private void GeneratePreSounds(ref UInt32 timeMs, ref SoundInterval prevSoundInterval)
Expand Down Expand Up @@ -335,7 +332,7 @@ private void CenteredDelivery(Stimulus stim, UInt32 begin, UInt32 end)
totalTime += duration[i] + between[i];
}
uint timeMs;
if (end-begin > totalTime)
if (end - begin > totalTime)
timeMs = begin + ((end - begin) - totalTime) / 2;
else timeMs = begin - (totalTime - (end - begin)) / 2;
for (int i = 0; i < stim.stims_per_sound; i++)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace SchedulinoDriver.Generator
namespace Schedulino.Generator
{
class Sound
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
using ProtocolMaster.Model.Protocol;
using System;
using ProtocolMasterCore.Protocol;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SchedulinoDriver.Generator
namespace Schedulino.Generator
{
class SoundInterval : Interval
{
public Sound sound;
public SoundInterval previous;
public SoundInterval next;
public SoundInterval(Sound sound, SoundInterval previous, uint begin, uint end):base(begin, end)
public SoundInterval(Sound sound, SoundInterval previous, uint begin, uint end) : base(begin, end)
{
this.sound = sound;
this.previous = previous;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace SchedulinoDriver.Generator
namespace Schedulino.Generator
{
class Stimulus
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using ProtocolMaster.Model.Protocol;
using System;
using ProtocolMasterCore.Protocol;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SchedulinoDriver.Generator
namespace Schedulino.Generator
{
class StimulusInterval : Interval
{
Expand Down
28 changes: 28 additions & 0 deletions McIntyreAFC/McIntyreAFC.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>..\ProtocolMasterWPF\bin\Debug\netcoreapp3.1\Extensions\</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<WarningLevel>5</WarningLevel>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<OutputPath>..\ProtocolMasterWPF\bin\Release\netcoreapp3.1\Extensions\</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SerialPortStream" Version="2.2.2" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\ProtocolMasterCore\ProtocolMasterCore.csproj">
<Private>false</Private>
</ProjectReference>
</ItemGroup>

</Project>
Loading

0 comments on commit 1f8094c

Please sign in to comment.