Skip to content

Commit

Permalink
Merge pull request #13 from Pletacka-IoT/last-stable
Browse files Browse the repository at this point in the history
Last stable
  • Loading branch information
JakubAndrysek authored Oct 15, 2022
2 parents f88a1c5 + 91e2a09 commit 10003ca
Show file tree
Hide file tree
Showing 178 changed files with 12,280 additions and 32 deletions.
Empty file modified .github/workflows/doxygen.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/php.yml
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .htaccess
100644 → 100755
Empty file.
Empty file modified Doxyfile
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
67 changes: 48 additions & 19 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,28 +1,57 @@
# Pletacka-website-nette
# Integration into Industry 4.0 [EN]

[<!--lint ignore no-dead-urls-->![GitHub Actions status | Pletacka-IoT/Pletacka-website](https://github.com/Pletacka-IoT/Pletacka-website/workflows/PHP%20Tests/badge.svg)](https://github.com/Pletacka-IoT/Pletacka-website/actions?workflow=PHP+Tests)
[<!--lint ignore no-dead-urls-->![GitHub Actions status | Pletacka-IoT/Pletacka-website](https://github.com/Pletacka-IoT/Pletacka-website/workflows/Deploy%20documentation/badge.svg)](https://github.com/Pletacka-IoT/Pletacka-website/actions?workflow=Deploy+documentation)
![Pletacka](https://raw.githubusercontent.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/master/img/Uvod.png)

<h2>Pletacka <a href="https://jakubandrysek.github.io/Pletacka-website-nette">documentation</a></h2>
![Pletacka](https://github.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/blob/master/img/prehled.png?raw=true)

- [Classes](https://jakubandrysek.github.io/Pletacka-website-nette/annotated.html)
- [Namespaces](https://jakubandrysek.github.io/Pletacka-website-nette/namespaces.html)
- [Files](https://jakubandrysek.github.io/Pletacka-website-nette/files.html)
![Pletacka](https://github.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/blob/master/img/Edit.png?raw=true)

## CZ
Webová s tránka k mé středoškolské odborné činnosti - [SOČ](http://www.soc.cz/)
![Pletacka](https://github.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/blob/master/img/Pletarna.png?raw=true)

## EN
Webpage for my Students` Professional Activities - [SPA](http://www.soc.cz/english/)
![Pletacka](https://github.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/blob/master/img/Princip.png?raw=true)

<h1>Project <a href="https://github.com/JakubAndrysek/Pletacka-website-nette/releases">timeline</a></h1>
![Pletacka](https://github.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/blob/master/img/Databaze.png?raw=true)

## To Use

To clone and run this repository you'll need [Git](https://git-scm.com), [PHP 7.4](https://www.php.net/downloads.php) and web server [Apache](https://httpd.apache.org/download.cgi)+Database installed on your computer. From your command line:

```bash
# Clone this repository to Apache server folder
git clone https://github.com/JakubAndrysek/Pletacka-website-nette.git
```
...
📖 [High school project](https://www.soc.cz/english/) - thesis (2020 - 2021)

## iSocks IoT

### What is iSocks IoT?
iSocks IoT is a system for automatic monitoring of industrial production and its implementation in practice.

The system was designed as a universal platform for monitoring production machines, with a primary focus on knitting machines.

[Project paper](https://github.com/JakubAndrysek/SOC-Integrace-do-prumyslu-4.0/blob/luxembourg/text.pdf) [EN]


# Integrace do průmyslu 4.0 [CZ]

📖 [Středoškolská odborná činnost](https://www.soc.cz/) - textová práce (2020 - 2021)

## Pletačka IoT
Tato práce představuje ucelený systém pro automatický monitoring průmyslové výroby a jeho nasazení do praxe.
Systém byl navrhován jako univerzální platforma pro monitoring výrobních strojů, s primárním zaměřením na pletací stroje.

[Text práce](https://kubaandrysek.cz/2021/06/12/soc-integrace#textová-práce) [CZ]


# More information / více informací

- https://kubaandrysek.cz/2021/06/12/soc-integrace

# Structure of repositories Pletacka-IoT
- [📖 High school project - thesis](https://github.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0)
- [📟 Electronic board for Pletacka-IoT project](https://github.com/Pletacka-IoT/Pletacka-board)
- [📊 Webpage for my project Pletacka-IoT](https://github.com/Pletacka-IoT/Pletacka-website)

# This repository
- [🇨🇿 High school project - thesis](https://github.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/blob/master/text.pdf)
- [🇬🇧 English version - thesis (For Luxembourg conference)](https://github.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/blob/luxembourg/text.pdf)
- [📖 České hlavičky - thesis](https://github.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/blob/ceske-hlavicky/text.pdf)
- [🖥 Poster for conference](https://github.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/blob/poster/luxembourg/Luxembourg_poster_en.pdf)

# Poster

![](https://raw.githubusercontent.com/Pletacka-IoT/SOC-Integrace-do-prumyslu-4.0/poster/luxembourg/Luxembourg_poster_en.png)
2 changes: 1 addition & 1 deletion app/Bootstrap.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static function boot(): Configurator
{
$configurator = new Configurator;

$configurator->setDebugMode(array("192.168.0.112", "192.168.0.134", "25.86.125.145", "192.168.0.114", "192.168.0.15", "192.168.0.141", "25.58.99.187")); // enable for your remote IP
$configurator->setDebugMode(array("192.168.0.112", "192.168.0.134", "25.86.125.145", "192.168.0.114", "192.168.0.15", "192.168.0.141", "25.58.99.187", "192.168.0.154")); // enable for your remote IP
// $configurator->setDebugMode(false);
$configurator->enableTracy(__DIR__ . '/../log');

Expand Down
Empty file.
Empty file.
Empty file.
Empty file modified app/CoreModule/Component/SensorOverview/SensorOverview.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Component/SensorOverview/SensorOverview.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified app/CoreModule/Component/ThisChartControl/ThisChartControl.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified app/CoreModule/Controllers/BaseController.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Controllers/BaseV1Controller.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Controllers/DatabaseSelectionController.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Controllers/SensorsController.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Controllers/ThisSensorController.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Exceptions/MyException.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Forms/SensorsFormFactory.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Forms/ThisSensorFormFactory.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Forms/WorkShiftFormFactory.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Model/ChartManager.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Model/DatabaseSelectionManager.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Model/DatabaseTestManager.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Model/MultiSensorsManager.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Model/RoomManager.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Model/SensorsManager.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Model/SetupManager.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Model/ThisChartManager.php
100644 → 100755
Empty file.
7 changes: 2 additions & 5 deletions app/CoreModule/Model/ThisSensorManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,8 @@ public function sensorHasData($sNumber): bool

public function getPreviousEvent($sNumber, $events)
{
if(!$events) {
return false;
}
$previous = array_key_first($events)-1;
return $this->database->table("A".$sNumber)->where("id =?",$previous)->limit(1)->fetch();
$previous = array_key_first($events)-1;
return $this->database->table("A".$sNumber)->where("id =?",$previous)->fetch();
}


Expand Down
Empty file modified app/CoreModule/Model/WorkShiftManager.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/ConnectPresenter.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/DatabaseTestPresenter.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/HomepagePresenter.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/OverviewPresenter.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/SensorsPresenter.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/SensorsSettingsPresenter.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/SetupPresenter.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/SignPresenter.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/TestPresenter.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/WorkShiftPresenter.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/@layout.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Connect/add.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Connect/default.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/DatabaseTest/default.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Homepage/default.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Overview/default.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Sensors/default.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Sensors/overview.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/SensorsSettings/debug.latte
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified app/CoreModule/Presenters/templates/SensorsSettings/edit.latte
100644 → 100755
Empty file.
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Setup/default.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Sign/in.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Sign/out.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Sign/up.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Test/chart.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/Test/debug.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/WorkShift/default.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/WorkShift/test.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/components/bubbles.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/components/charts.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Presenters/templates/components/form.latte
100644 → 100755
Empty file.
Empty file modified app/CoreModule/TimeManagers/TimeBox.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Utils/BubblesPretty.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Utils/ChartDataPretty.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Utils/ChartDataSetup.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Utils/DatabaseDataExtractorPretty.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Utils/DatabaseSelection.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Utils/DatabaseSelectionPretty.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Utils/NumbersPretty.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/Utils/Pretty.php
100644 → 100755
Empty file.
Empty file modified app/CoreModule/config/config.neon
100644 → 100755
Empty file.
Empty file modified app/Forms/FormFactory.php
100644 → 100755
Empty file.
Empty file modified app/Forms/SignInFormFactory.php
100644 → 100755
Empty file.
Empty file modified app/Forms/SignUpFormFactory.php
100644 → 100755
Empty file.
Empty file modified app/Model/UserManager.php
100644 → 100755
Empty file.
Empty file modified app/Presenters/BasePresenter.php
100644 → 100755
Empty file.
Empty file modified app/Presenters/Error4xxPresenter.php
100644 → 100755
Empty file.
Empty file modified app/Presenters/ErrorAppPresenter.php
100644 → 100755
Empty file.
Empty file modified app/Presenters/ErrorPresenter.php
100644 → 100755
Empty file.
Empty file modified app/Presenters/templates/Error/403.latte
100644 → 100755
Empty file.
Empty file modified app/Presenters/templates/Error/404.latte
100644 → 100755
Empty file.
Empty file modified app/Presenters/templates/Error/405.latte
100644 → 100755
Empty file.
Empty file modified app/Presenters/templates/Error/410.latte
100644 → 100755
Empty file.
Empty file modified app/Presenters/templates/Error/4xx.latte
100644 → 100755
Empty file.
Empty file modified app/Presenters/templates/Error/500.phtml
100644 → 100755
Empty file.
Empty file modified app/Presenters/templates/Error/503.phtml
100644 → 100755
Empty file.
Empty file modified app/Presenters/templates/Error/ErrorMy.latte
100644 → 100755
Empty file.
Empty file modified app/Router/RouterFactory.php
100644 → 100755
Empty file.
10 changes: 5 additions & 5 deletions app/config/common.neon
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ session:
database:
dsn: 'mysql:host=127.0.0.1;dbname=Pletacka-IoT'
# dsn: 'mysql:host=127.0.0.1;dbname=Pletacka-IoT-2.0'
user: pletacka
password: ladasmolik
user: root
password: rakosnicek
# port: 3306
options:
lazy: yes
Expand All @@ -64,9 +64,9 @@ services:
setup:
# - addResource(Error)
# - addResource(Error4xx)

# - allow(guest, Error)
# - allow(guest, Error4xx)
# - allow(guest, Error4xx)

- App\Model\UserManager
# - App\Model\DatabaseManager
Expand All @@ -76,5 +76,5 @@ services:
router: App\Router\RouterFactory::createRouter

includes:
- ../CoreModule/config/config.neon # Načtení konfigurace z CoreModule.
- ../CoreModule/config/config.neon # Načtení konfigurace z CoreModule.

Empty file modified app/config/local.neon
100644 → 100755
Empty file.
Empty file modified bash-scripts/ClearCacheNette.sh
100644 → 100755
Empty file.
Empty file modified bash-scripts/Doxygen.sh
100644 → 100755
Empty file.
Empty file modified bash-scripts/git-updater.sh
100644 → 100755
Empty file.
Empty file modified bin/composer-upgrade.php
100644 → 100755
Empty file.
Empty file modified bin/create-user.php
100644 → 100755
Empty file.
Empty file modified codealike.json
100644 → 100755
Empty file.
Empty file modified composer.json
100644 → 100755
Empty file.
2 changes: 0 additions & 2 deletions log/.gitignore

This file was deleted.

Loading

0 comments on commit 10003ca

Please sign in to comment.