Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace LifeLog
- {
- class EventTypes
- {
- string EventID;
- int locationX;
- int locationY;
- string dateTimeStamp;
- public EventTypes()
- {
- EventID = "";
- locationX = 0;
- locationY = 0;
- dateTimeStamp = "";
- }
- public EventTypes(string EventID, int locationX, int locationY, string dateTimeStamp)
- {
- this.EventID = EventID;
- this.locationX = locationX;
- this.locationY = locationY;
- this.dateTimeStamp = dateTimeStamp; ;
- }
- public string GetEventID()
- {
- return EventID;
- }
- public void SetEventID(string EventID)
- {
- this.EventID = EventID;
- }
- public int GetLocationX()
- {
- return locationX;
- }
- public void SetLocationX(int locationX)
- {
- this.locationX = locationX;
- }
- public int GetLocationY()
- {
- return locationY;
- }
- public void SetLocationY(int locationY)
- {
- this.locationY = locationY;
- }
- public string GetDateTimeStamp()
- {
- return dateTimeStamp;
- }
- public void SetDateTimeStamp(string dateTimeStamp)
- {
- this.dateTimeStamp = dateTimeStamp;
- }
- class Tweet : EventTypes
- {
- string EventType = "tweet";
- string text;
- public Tweet()
- {
- EventID = "";
- locationX = 0;
- locationY = 0;
- dateTimeStamp = "";
- text = "";
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement