Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ozkankafadar authored Aug 9, 2020
0 parents commit a353c1b
Show file tree
Hide file tree
Showing 12 changed files with 732 additions and 0 deletions.
20 changes: 20 additions & 0 deletions RaspMI-GUI/RaspMI.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RaspMT", "RaspMT\RaspMT.csproj", "{7175B8CA-7C33-468E-AF11-487F335CD4E5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7175B8CA-7C33-468E-AF11-487F335CD4E5}.Debug|x86.ActiveCfg = Debug|x86
{7175B8CA-7C33-468E-AF11-487F335CD4E5}.Debug|x86.Build.0 = Debug|x86
{7175B8CA-7C33-468E-AF11-487F335CD4E5}.Release|x86.ActiveCfg = Release|x86
{7175B8CA-7C33-468E-AF11-487F335CD4E5}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = RaspMT\RaspMT.csproj
EndGlobalSection
EndGlobal
13 changes: 13 additions & 0 deletions RaspMI-GUI/RaspMI.userprefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|x86" />
<MonoDevelop.Ide.Workbench ActiveDocument="RaspMT/MainWindow.cs">
<Files>
<File FileName="RaspMT/Program.cs" Line="1" Column="1" />
<File FileName="RaspMT/MainWindow.cs" Line="371" Column="3" />
</Files>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
</Properties>
16 changes: 16 additions & 0 deletions RaspMI-GUI/RaspMI/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using Gtk;

namespace RaspMT
{
class MainClass
{
public static void Main (string[] args)
{
Application.Init ();
MainWindow win = new MainWindow ();
win.Show ();
Application.Run ();
}
}
}
22 changes: 22 additions & 0 deletions RaspMI-GUI/RaspMI/Properties/AssemblyInfo.cs
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 ("RaspMT")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assembly: AssemblyCompany ("")]
[assembly: AssemblyProduct ("")]
[assembly: AssemblyCopyright ("pi")]
[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("")]

76 changes: 76 additions & 0 deletions RaspMI-GUI/RaspMI/RaspMI.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?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)' == '' ">x86</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7175B8CA-7C33-468E-AF11-487F335CD4E5}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>RaspMT</RootNamespace>
<AssemblyName>RaspMT</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<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>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
<SpecificVersion>False</SpecificVersion>
<Package>gtk-sharp-2.0</Package>
</Reference>
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
<SpecificVersion>False</SpecificVersion>
<Package>gtk-sharp-2.0</Package>
</Reference>
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
<SpecificVersion>False</SpecificVersion>
<Package>glib-sharp-2.0</Package>
</Reference>
<Reference Include="glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
<SpecificVersion>False</SpecificVersion>
<Package>glade-sharp-2.0</Package>
</Reference>
<Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
<SpecificVersion>False</SpecificVersion>
<Package>gtk-sharp-2.0</Package>
</Reference>
<Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
<SpecificVersion>False</SpecificVersion>
<Package>gtk-sharp-2.0</Package>
</Reference>
<Reference Include="Mono.Posix" />
<Reference Include="Mono.Cairo" />
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="gtk-gui\gui.stetic">
<LogicalName>gui.stetic</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Include="gtk-gui\generated.cs" />
<Compile Include="MainWindow.cs" />
<Compile Include="gtk-gui\MainWindow.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>
Binary file added RaspMI-GUI/RaspMI/bin/Debug/RaspMI.exe
Binary file not shown.
Binary file added RaspMI-GUI/RaspMI/bin/Debug/RaspMI.exe.mdb
Binary file not shown.
Binary file added RaspMI-GUI/RaspMI/bin/Debug/core
Binary file not shown.
170 changes: 170 additions & 0 deletions RaspMI-GUI/RaspMI/gtk-gui/MainWindow.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@

// This file has been generated by the GUI designer. Do not modify.
public partial class MainWindow
{
private global::Gtk.Table table2;
private global::Gtk.DrawingArea plotdrwarea;
private global::Gtk.Table table3;
private global::Gtk.Table table4;
private global::Gtk.Button connectbtn;
private global::Gtk.Button GPSbtn;
private global::Gtk.Button startbtn;
private global::Gtk.Button stopbtn;
private global::Gtk.ComboBoxEntry timecombo;
private global::Gtk.DrawingArea timeinfodrwarea;
private global::Gtk.Table table5;
private global::Gtk.Label devicelbl;
private global::Gtk.Label GPSlbl;

protected virtual void Build ()
{
global::Stetic.Gui.Initialize (this);
// Widget MainWindow
this.Name = "MainWindow";
this.Title = global::Mono.Unix.Catalog.GetString ("RaspMI");
this.WindowPosition = ((global::Gtk.WindowPosition)(3));
this.DefaultWidth = 794;
this.DefaultHeight = 476;
// Container child MainWindow.Gtk.Container+ContainerChild
this.table2 = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false);
this.table2.Name = "table2";
this.table2.RowSpacing = ((uint)(6));
this.table2.ColumnSpacing = ((uint)(6));
// Container child table2.Gtk.Table+TableChild
this.plotdrwarea = new global::Gtk.DrawingArea ();
this.plotdrwarea.Name = "plotdrwarea";
this.table2.Add (this.plotdrwarea);
global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table2 [this.plotdrwarea]));
w1.TopAttach = ((uint)(1));
w1.BottomAttach = ((uint)(2));
// Container child table2.Gtk.Table+TableChild
this.table3 = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false);
this.table3.Name = "table3";
this.table3.RowSpacing = ((uint)(6));
this.table3.ColumnSpacing = ((uint)(6));
// Container child table3.Gtk.Table+TableChild
this.table4 = new global::Gtk.Table (((uint)(1)), ((uint)(6)), false);
this.table4.Name = "table4";
this.table4.RowSpacing = ((uint)(6));
this.table4.ColumnSpacing = ((uint)(6));
// Container child table4.Gtk.Table+TableChild
this.connectbtn = new global::Gtk.Button ();
this.connectbtn.CanFocus = true;
this.connectbtn.Name = "connectbtn";
this.connectbtn.UseUnderline = true;
this.connectbtn.Label = global::Mono.Unix.Catalog.GetString ("CONNECT");
this.table4.Add (this.connectbtn);
global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table4 [this.connectbtn]));
w2.LeftAttach = ((uint)(2));
w2.RightAttach = ((uint)(3));
w2.XOptions = ((global::Gtk.AttachOptions)(4));
w2.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table4.Gtk.Table+TableChild
this.GPSbtn = new global::Gtk.Button ();
this.GPSbtn.CanFocus = true;
this.GPSbtn.Name = "GPSbtn";
this.GPSbtn.UseUnderline = true;
this.GPSbtn.Label = global::Mono.Unix.Catalog.GetString ("GPS");
this.table4.Add (this.GPSbtn);
global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table4 [this.GPSbtn]));
w3.LeftAttach = ((uint)(5));
w3.RightAttach = ((uint)(6));
w3.XOptions = ((global::Gtk.AttachOptions)(4));
w3.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table4.Gtk.Table+TableChild
this.startbtn = new global::Gtk.Button ();
this.startbtn.CanFocus = true;
this.startbtn.Name = "startbtn";
this.startbtn.UseUnderline = true;
this.startbtn.Label = global::Mono.Unix.Catalog.GetString ("START");
this.table4.Add (this.startbtn);
global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4 [this.startbtn]));
w4.LeftAttach = ((uint)(3));
w4.RightAttach = ((uint)(4));
w4.XOptions = ((global::Gtk.AttachOptions)(4));
w4.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table4.Gtk.Table+TableChild
this.stopbtn = new global::Gtk.Button ();
this.stopbtn.CanFocus = true;
this.stopbtn.Name = "stopbtn";
this.stopbtn.UseUnderline = true;
this.stopbtn.Label = global::Mono.Unix.Catalog.GetString ("STOP");
this.table4.Add (this.stopbtn);
global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table4 [this.stopbtn]));
w5.LeftAttach = ((uint)(4));
w5.RightAttach = ((uint)(5));
w5.XOptions = ((global::Gtk.AttachOptions)(4));
w5.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table4.Gtk.Table+TableChild
this.timecombo = global::Gtk.ComboBoxEntry.NewText ();
this.timecombo.AppendText (global::Mono.Unix.Catalog.GetString ("Time"));
this.timecombo.AppendText (global::Mono.Unix.Catalog.GetString ("1 min"));
this.timecombo.AppendText (global::Mono.Unix.Catalog.GetString ("3 min"));
this.timecombo.AppendText (global::Mono.Unix.Catalog.GetString ("10 min"));
this.timecombo.AppendText (global::Mono.Unix.Catalog.GetString ("30 min"));
this.timecombo.AppendText (global::Mono.Unix.Catalog.GetString ("60 min"));
this.timecombo.WidthRequest = 120;
this.timecombo.Name = "timecombo";
this.table4.Add (this.timecombo);
global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table4 [this.timecombo]));
w6.LeftAttach = ((uint)(1));
w6.RightAttach = ((uint)(2));
w6.XOptions = ((global::Gtk.AttachOptions)(4));
w6.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table4.Gtk.Table+TableChild
this.timeinfodrwarea = new global::Gtk.DrawingArea ();
this.timeinfodrwarea.WidthRequest = 100;
this.timeinfodrwarea.Name = "timeinfodrwarea";
this.table4.Add (this.timeinfodrwarea);
global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table4 [this.timeinfodrwarea]));
w7.YOptions = ((global::Gtk.AttachOptions)(4));
this.table3.Add (this.table4);
global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.table4]));
w8.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table3.Gtk.Table+TableChild
this.table5 = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false);
this.table5.Name = "table5";
this.table5.RowSpacing = ((uint)(6));
this.table5.ColumnSpacing = ((uint)(6));
// Container child table5.Gtk.Table+TableChild
this.devicelbl = new global::Gtk.Label ();
this.devicelbl.WidthRequest = 170;
this.devicelbl.Name = "devicelbl";
this.devicelbl.LabelProp = global::Mono.Unix.Catalog.GetString ("Device : Not Connected");
this.devicelbl.Justify = ((global::Gtk.Justification)(3));
this.table5.Add (this.devicelbl);
global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table5 [this.devicelbl]));
w9.XOptions = ((global::Gtk.AttachOptions)(4));
w9.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table5.Gtk.Table+TableChild
this.GPSlbl = new global::Gtk.Label ();
this.GPSlbl.WidthRequest = 470;
this.GPSlbl.Name = "GPSlbl";
this.GPSlbl.LabelProp = global::Mono.Unix.Catalog.GetString ("GPS : Not Connected");
this.GPSlbl.Justify = ((global::Gtk.Justification)(3));
this.table5.Add (this.GPSlbl);
global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table5 [this.GPSlbl]));
w10.LeftAttach = ((uint)(2));
w10.RightAttach = ((uint)(3));
w10.XOptions = ((global::Gtk.AttachOptions)(4));
w10.YOptions = ((global::Gtk.AttachOptions)(4));
this.table3.Add (this.table5);
global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.table5]));
w11.TopAttach = ((uint)(1));
w11.BottomAttach = ((uint)(2));
w11.YOptions = ((global::Gtk.AttachOptions)(4));
this.table2.Add (this.table3);
global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.table3]));
w12.YOptions = ((global::Gtk.AttachOptions)(4));
this.Add (this.table2);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
this.Show ();
this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
this.stopbtn.Clicked += new global::System.EventHandler (this.OnStopbtnClicked);
this.startbtn.Clicked += new global::System.EventHandler (this.OnStartbtnClicked);
this.GPSbtn.Clicked += new global::System.EventHandler (this.OnGPSbtnClicked);
this.connectbtn.Clicked += new global::System.EventHandler (this.OnConnectbtnClicked);
}
}
29 changes: 29 additions & 0 deletions RaspMI-GUI/RaspMI/gtk-gui/generated.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

// This file has been generated by the GUI designer. Do not modify.
namespace Stetic
{
internal class Gui
{
private static bool initialized;

internal static void Initialize (Gtk.Widget iconRenderer)
{
if ((Stetic.Gui.initialized == false)) {
Stetic.Gui.initialized = true;
}
}
}

internal class ActionGroups
{
public static Gtk.ActionGroup GetActionGroup (System.Type type)
{
return Stetic.ActionGroups.GetActionGroup (type.FullName);
}

public static Gtk.ActionGroup GetActionGroup (string name)
{
return null;
}
}
}
Loading

0 comments on commit a353c1b

Please sign in to comment.