Big changes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Raytheon.Instruments.PowerSupply;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -18,7 +19,7 @@ namespace ProgramLib
|
||||
/// <summary>
|
||||
/// Set data for a power supply module
|
||||
/// </summary>
|
||||
public void SetData(string moduleName, double voltage, double current, Raytheon.Instruments.PowerSupplies.PowerSupplyModuleInfo powerSupplyModuleInfo)
|
||||
public void SetData(string moduleName, double voltage, double current, PowerSupplyModuleInfo powerSupplyModuleInfo)
|
||||
{
|
||||
lock (syncObj)
|
||||
{
|
||||
@@ -28,7 +29,7 @@ namespace ProgramLib
|
||||
syncObjDict[moduleName] = new object();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
lock (syncObjDict[moduleName])
|
||||
{
|
||||
if (!_powerSupplyDataDict.ContainsKey(moduleName))
|
||||
|
||||
Reference in New Issue
Block a user