1/*- 2 * See the file LICENSE for redistribution information. 3 * 4 * Copyright (c) 2009 Oracle. All rights reserved. 5 * 6 */ 7using System; 8using System.Collections.Generic; 9using System.Text; 10 11namespace ex_txn { 12 [Serializable()] 13 public class PayloadData { 14 private int oID; 15 private string threadName; 16 private double doubleData; 17 18 public PayloadData(int id, string name, double data) { 19 oID = id; 20 threadName = name; 21 doubleData = data; 22 } 23 24 public double DoubleData { 25 get { return doubleData; } 26 set { doubleData = value; } 27 } 28 29 public int ID { 30 get { return oID; } 31 set { oID = value; } 32 } 33 34 public string ThreadName { 35 get { return threadName; } 36 set { threadName = value; } 37 } 38 } 39} 40