16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 15:59:18 +02:00

basic plc implementation

This commit is contained in:
tmj-fstate
2020-06-29 15:27:52 +02:00
parent 0af9e84453
commit 065c490bea
7 changed files with 585 additions and 0 deletions

View File

@@ -1458,6 +1458,8 @@ void TMoverParameters::compute_movement_( double const Deltatime ) {
// automatic doors
update_doors( Deltatime );
m_plc.update( Deltatime );
PowerCouplersCheck( Deltatime, coupling::highvoltage );
PowerCouplersCheck( Deltatime, coupling::power110v );
PowerCouplersCheck( Deltatime, coupling::power24v );