time erzeugt und wird jetzt auch benutzt

This commit is contained in:
Wafa Sadri
2014-04-11 11:41:20 +02:00
parent 8c4e337e82
commit 736b90c72b
3 changed files with 16 additions and 1 deletions

View File

@@ -65,6 +65,7 @@
<Compile Include="src\Result.cs" /> <Compile Include="src\Result.cs" />
<Compile Include="src\Challenge.cs" /> <Compile Include="src\Challenge.cs" />
<Compile Include="src\YourID.cs" /> <Compile Include="src\YourID.cs" />
<Compile Include="src\DefaultGui\Time.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup /> <ItemGroup />
</Project> </Project>

14
src/DefaultGui/Time.cs Normal file
View File

@@ -0,0 +1,14 @@
using System;
namespace inf3
{
public class Time
{
long t_;
public Time (long t)
{
t_ = t;
}
}
}

View File

@@ -277,7 +277,7 @@ namespace WorldOfPeacecraft
LinkedList <string> unnamedValues = timeBlock.GetUnnamedValues (); LinkedList <string> unnamedValues = timeBlock.GetUnnamedValues ();
string stringValue = unnamedValues.First.Value; string stringValue = unnamedValues.First.Value;
long longValue = long.Parse (stringValue); long longValue = long.Parse (stringValue);
//Time t = new Time(longValue); Time t = new Time(longValue);
} }
private void ProcessOnline (Block onlineBlock) private void ProcessOnline (Block onlineBlock)