-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Volumes added in Chart - 5 min Chart added - Chart Zooming by mouse wheel - Alerts added - Many UI Improvements
- Loading branch information
bitwhiskey
committed
Jan 17, 2018
1 parent
1c90199
commit a43f557
Showing
40 changed files
with
2,891 additions
and
1,232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Timers; | ||
|
||
namespace BitWhiskey | ||
{ | ||
public class Alert | ||
{ | ||
private static int IdCounter=0; | ||
public int id; | ||
public string caption; | ||
public string tickerPair; | ||
public DateTime createDate; | ||
public double createPrice; | ||
|
||
public double priceAlert; | ||
|
||
public bool showInChart; | ||
public bool playSound; | ||
|
||
public bool alertExecute; | ||
|
||
public Alert(string caption_) | ||
{ | ||
IdCounter++; | ||
id = IdCounter; | ||
|
||
caption = caption_; | ||
createDate = DateTime.Now; | ||
showInChart = true; | ||
alertExecute = false; | ||
} | ||
public static int GetNewId() | ||
{ | ||
return IdCounter + 1; | ||
} | ||
|
||
} | ||
|
||
|
||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.IO; | ||
|
||
|
||
namespace BitWhiskey | ||
{ | ||
public class ApplicationPath | ||
{ | ||
static public string directory; | ||
static public string directoryAppBin; | ||
static ApplicationPath() | ||
{ | ||
#if DEBUG | ||
directory = @"t:\DevelopNew\Crypt\BitWhiskeyBIN\"; | ||
directoryAppBin = Path.Combine(directory, @"AppBin"); | ||
#else | ||
directory = Environment.CurrentDirectory.Replace(@"\bin\Debug", ""); | ||
directoryAppBin = Path.Combine(directory, @"AppBin"); | ||
#endif | ||
|
||
} | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.