Browse Source

Fixed bugs.

RD125632 10 years ago
parent
commit
2ae239b98e

+ 1 - 1
Proftaak Remote Healthcare/Server/AppGlobal.cs

@@ -17,7 +17,7 @@ namespace Server
             get { return _instance ?? (_instance = new AppGlobal()); }
         }
 
-        public AppGlobal()
+        public AppGlobal() 
         {
             users = new List<User>();
             users.Add(new User("no", "no", 0, false, 0));

+ 1 - 1
Proftaak Remote Healthcare/Server/JSONObjecten/Measurement.cs

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
 
 namespace Server.JSONObjecten
 {
-    class Measurement
+    public class Measurement
     {
         public int rpm { get; private set; }
         public int wattage { get; private set; }

+ 6 - 1
Proftaak Remote Healthcare/Server/Server.csproj

@@ -45,9 +45,11 @@
   <ItemGroup>
     <Compile Include="AppGlobal.cs" />
     <Compile Include="Client.cs" />
+    <Compile Include="JSONObjecten\Measurement.cs" />
+    <Compile Include="JSONObjecten\Session.cs" />
+    <Compile Include="JSONObjecten\User.cs" />
     <Compile Include="Program.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="User.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="App.config" />
@@ -58,6 +60,9 @@
       <Name>Fietsclient</Name>
     </ProjectReference>
   </ItemGroup>
+  <ItemGroup>
+    <Folder Include="JSONObjecten\JSON Files\" />
+  </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.