Changeset 289 for trunk/CrypPlugins/CLK


Ignore:
Timestamp:
Apr 15, 2009, 8:59:29 PM (13 years ago)
Author:
Sören Rinne
Message:
  • updated GUIDs and keys of CLK, LFSR, XORBinary
Location:
trunk/CrypPlugins/CLK
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/CLK/CLK.cs

    r288 r289  
    1515namespace Cryptool.Plugins.CLK
    1616{
    17   [Author("Soeren Rinne", "soeren.rinne@cryptool.org", "Uni Bochum", "http://www.rub.de")]
     17    [Author("Soeren Rinne", "soeren.rinne@cryptool.de", "Ruhr-Universitaet Bochum, Chair for System Security", "http://www.trust.rub.de/")]
    1818  [PluginInfo(true, "CLK", "Simple clock for clock-based plugins.", null, "CLK/icon.png", "CLK/Images/true.png", "CLK/Images/false.png")]
    1919  public class CLK : IInput
     
    131131        aTimer.Elapsed += new ElapsedEventHandler(sendCLKSignal);
    132132
    133         // Set the Interval to 2 seconds (2000 milliseconds).
     133        // Set the Interval to 'timeout' seconds (in milliseconds).
    134134        aTimer.Interval = timeout;
    135135        aTimer.Enabled = true;
     
    148148        else
    149149        {
     150            // disable timer
    150151            aTimer.Enabled = false;
    151152            // globally remove timer event
     
    165166    public void Stop()
    166167    {
     168        // disable timer
    167169        aTimer.Enabled = false;
    168170        // globally remove timer event
     
    172174    public void Initialize()
    173175    {
    174       output = settings.SetClockToTrue;
    175       if (output) StatusChanged((int)CLKImage.True);
    176       else StatusChanged((int)CLKImage.False);
    177       settings.CLKTimeout = timeout;
     176        output = settings.SetClockToTrue;
     177        if (output) StatusChanged((int)CLKImage.True);
     178        else StatusChanged((int)CLKImage.False);
     179        settings.CLKTimeout = timeout;
    178180    }
    179181
Note: See TracChangeset for help on using the changeset viewer.