Pump tandem, ver. 3.1.1606
This commit is contained in:
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("3.1.1605.0")]
|
||||
[assembly: AssemblyFileVersion("3.1.1605.0")]
|
||||
[assembly: AssemblyVersion("3.1.1606.0")]
|
||||
[assembly: AssemblyFileVersion("3.1.1606.0")]
|
||||
|
||||
@@ -53,10 +53,10 @@ namespace TBF.Rig.BuiltIn.PumpTandem
|
||||
{
|
||||
pumpCfg = cfg as PumpCfg;
|
||||
|
||||
pump1 = (GenericDevices.IPump)TbfComponents.FindComponent(pumpCfg.Pump1, components);
|
||||
pump1 = TbfComponents.FindComponent(pumpCfg.Pump1, components) as GenericDevices.IPump;
|
||||
if (pump1 == null) throw new Exception("Cannot find component Pump 1");
|
||||
|
||||
pump2 = (GenericDevices.IPump)TbfComponents.FindComponent(pumpCfg.Pump2, components);
|
||||
pump2 = TbfComponents.FindComponent(pumpCfg.Pump2, components) as GenericDevices.IPump;
|
||||
if (pump2 == null) throw new Exception("Cannot find component Pump 2");
|
||||
|
||||
pumpFm1 = pump1 as GenericDevices.IPumpFM;
|
||||
@@ -157,6 +157,7 @@ namespace TBF.Rig.BuiltIn.PumpTandem
|
||||
case CurrentOp.TurnOn:
|
||||
TurnOn(powerForOp);
|
||||
return;
|
||||
|
||||
case CurrentOp.TurnOff:
|
||||
default:
|
||||
TurnOff();
|
||||
|
||||
Reference in New Issue
Block a user