public static ControlTagCacheObject createTestProcessAlive(){
  ControlTagCacheObject cacheObject=new ControlTagCacheObject(new Long(510),"Test process alive tag","Long",DataTagConstants.MODE_TEST);
  cacheObject.setDescription("test alive description");
  cacheObject.setLogged(false);
  cacheObject.setUnit("seconds since 1970");
  cacheObject.setDipAddress("testDIPaddress");
  cacheObject.setJapcAddress("testJAPCaddress");
  cacheObject.setValue(new Long(System.currentTimeMillis()));
  cacheObject.setValueDescription("test value description");
  cacheObject.setSimulated(false);
  cacheObject.setMinValue(Long.MIN_VALUE);
  cacheObject.setMaxValue(Long.MAX_VALUE);
  cacheObject.setValueDictionary(new DataTagValueDictionary());
  cacheObject.setAddress(new DataTagAddress());
  cacheObject.setDataTagQuality(createValidQuality());
  cacheObject.setCacheTimestamp(new Timestamp(System.currentTimeMillis()));
  cacheObject.setDaqTimestamp(new Timestamp(System.currentTimeMillis()));
  cacheObject.setSourceTimestamp(new Timestamp(System.currentTimeMillis()));
  return cacheObject;
}

public static ControlTagCacheObject createTestProcessAlive ( ) { ControlTagCacheObject cacheObject = new ControlTagCacheObject ( new Long ( 510 ) , "Test process alive tag" , "Long" , DataTagConstants . MODE_TEST ) ; cacheObject . setDescription ( "test alive description" ) ; cacheObject . setLogged ( false ) ; cacheObject . setUnit ( "seconds since 1970" ) ; cacheObject . setDipAddress ( "testDIPaddress" ) ; cacheObject . setJapcAddress ( "testJAPCaddress" ) ; cacheObject . setValue ( new Long ( System . currentTimeMillis ( ) ) ) ; cacheObject . setValueDescription ( "test value description" ) ; cacheObject . setSimulated ( false ) ; cacheObject . setMinValue ( Long . MIN_VALUE ) ; cacheObject . setMaxValue ( Long . MAX_VALUE ) ; cacheObject . setValueDictionary ( new DataTagValueDictionary ( ) ) ; cacheObject . setAddress ( new DataTagAddress ( ) ) ; cacheObject . setDataTagQuality ( createValidQuality ( ) ) ; cacheObject . setCacheTimestamp ( new Timestamp ( System . currentTimeMillis ( ) ) ) ; cacheObject . setDaqTimestamp ( new Timestamp ( System . currentTimeMillis ( ) ) ) ; cacheObject . setSourceTimestamp ( new Timestamp ( System . currentTimeMillis ( ) ) ) ; return cacheObject ; }
creates an alivetimer for a process
