Remove unused members
This commit is contained in:
parent
3c15b99d61
commit
a3700ba8cb
1 changed files with 0 additions and 13 deletions
|
|
@ -37,7 +37,6 @@ namespace MatterHackers.MatterControl.DataStorage
|
|||
{
|
||||
public class Datastore
|
||||
{
|
||||
public bool ConnectionError = false;
|
||||
private bool wasExited = false;
|
||||
public ISQLite dbSQLite;
|
||||
private string datastoreLocation = ApplicationDataStorage.Instance.DatastorePath;
|
||||
|
|
@ -156,18 +155,6 @@ namespace MatterHackers.MatterControl.DataStorage
|
|||
dbSQLite.Insert(activeSession);
|
||||
}
|
||||
|
||||
private void GenerateSampleData()
|
||||
{
|
||||
for (int index = 1; index <= 5; index++)
|
||||
{
|
||||
Printer printer = new Printer();
|
||||
printer.ComPort = string.Format("COM{0}", index);
|
||||
printer.BaudRate = "250000";
|
||||
printer.Name = string.Format("Printer {0}", index);
|
||||
Datastore.Instance.dbSQLite.Insert(printer);
|
||||
}
|
||||
}
|
||||
|
||||
// Checks if the datastore contains the appropriate tables - adds them if necessary
|
||||
private void ValidateSchema()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue