From 5262e8e962f79cd7b238d36846ea352bb1ad341f Mon Sep 17 00:00:00 2001
From: jestin
Date: Wed, 6 Mar 2002 13:23:00 +0000
Subject: Moved the Counter to examples.
---
src/Counter.java | 98 ---------------------------------------------------
src/TestIvySwing.java | 6 ++--
2 files changed, 4 insertions(+), 100 deletions(-)
delete mode 100644 src/Counter.java
diff --git a/src/Counter.java b/src/Counter.java
deleted file mode 100644
index 7e355db..0000000
--- a/src/Counter.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- * a software bus package geiger counter
- *
- * @author Yannick Jestin
- * @author http://www.tls.cena.fr/products/ivy/
- *
- */
-package fr.dgac.ivy ;
-
-import fr.dgac.ivy.* ;
-import gnu.getopt.Getopt ;
-
-
-/**
- * A program to count to the Ivy software bus messages.
- * The class itself can be used to collect data and send them on the terminal
- * or on the bus.
- */
-public class Counter implements IvyMessageListener, Runnable {
-
- private Ivy bus ;
- private int[] secCount = new int[60];
- private int totalminute=0;
- private int totaldix=0;
- private int counter=0;
- private int moindix=secCount.length-10;
- private int moinune=1;
- private Thread thread;
- boolean isRunning=false;
- boolean quiet=false;
-
- public static final String helpmsg = "usage: java Counter -[options]\n\t-b BUS\tspecifies the Ivy bus domain\n\t-q\tquiet, no tty output\n\t-d\tdebug\n\t-h\thelp\n";
-
- public Counter(String domain,boolean quiet) {
- this.quiet=quiet;
- for (int j=0;j