コード例 #1
0
ファイル: Receipts.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Initializes a new instance of the <see cref="Receipts"/> class.
 /// </summary>
 public Receipts()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _panelLibrary = null;
 }
コード例 #2
0
ファイル: BadStart.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Initializes a new instance of the <see cref="BadStart"/> class.
 /// </summary>
 public BadStart()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
 }
コード例 #3
0
ファイル: Weights.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Initializes a new instance of the <see cref="Weights"/> class.
 /// </summary>
 public Weights()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
 }
コード例 #4
0
ファイル: Nak.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Initializes a new instance of the <see cref="Nak"/> class.
 /// </summary>
 public Nak()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _panelLibrary = null;
 }
コード例 #5
0
ファイル: Clock.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Initializes a new instance of the <see cref="Clock"/> class.
 /// </summary>
 public Clock()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
 }
コード例 #6
0
ファイル: Wakeup.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Initializes a new instance of the <see cref="Wakeup"/> class.
 /// </summary>
 public Wakeup()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
 }
コード例 #7
0
ファイル: Receipts.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Initializes a new instance of the <see cref="Receipts"/> class.
 /// </summary>
 public Receipts()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
 }
コード例 #8
0
ファイル: Sleep.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Initializes a new instance of the <see cref="Sleep"/> class.
 /// </summary>
 public Sleep()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
 }
コード例 #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CancelTicket"/> class.
 /// </summary>
 public CancelTicket()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _panelLibrary = null;
 }
コード例 #10
0
ファイル: BadStart.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Initializes a new instance of the <see cref="BadStart"/> class.
 /// </summary>
 public BadStart()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _panelLibrary = null;
 }
コード例 #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CancelTicket"/> class.
 /// </summary>
 public CancelTicket()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
 }
コード例 #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlantStatus"/> class.
 /// </summary>
 public PlantStatus()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _panelLibrary = null;
 }
コード例 #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeleteMixes"/> class.
 /// </summary>
 public DeleteMixes()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _panelLibrary = null;
 }
コード例 #14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlantStatus"/> class.
 /// </summary>
 public PlantStatus()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
 }
コード例 #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CancelWeights"/> class.
 /// </summary>
 public CancelWeights()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _panelLibrary = null;
 }
コード例 #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeleteMixes"/> class.
 /// </summary>
 public DeleteMixes()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
 }
コード例 #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DownloadMixes"/> class.
 /// </summary>
 public DownloadMixes()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
     _lastStart = -1;
 }
コード例 #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PrintTicket"/> class.
 /// </summary>
 public PrintTicket()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _inputs = null;
     _lastStart = -1;
 }
コード例 #19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DownloadMixes"/> class.
 /// </summary>
 public DownloadMixes()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _panelLibrary = null;
     _lastStart = 0;
     _key = string.Empty;
 }
コード例 #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PrintTicket"/> class.
 /// </summary>
 public PrintTicket()
 {
     if (_isLoaded)
     {
         UnLoad();
     }
     _isLoaded = false;
     _panelLibrary = null;
     _lastStart = 0;
     _key = string.Empty;
     _packet = string.Empty;
 }
コード例 #21
0
ファイル: Nak.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Called when [unloaded].
 /// </summary>
 /// <returns></returns>
 public bool UnLoad()
 {
     if (_isLoaded)
     {
         if (_panelLibrary != null)
         {
             _panelLibrary.PropertyChanged -= _panelLibrary_PropertyChanged;
             _panelLibrary = null;
         }
     }
     Events.DoLog(this, Name + " UnLoaded!");
     _isLoaded = false;
     return true;
 }
コード例 #22
0
ファイル: Nak.cs プロジェクト: meprogrammerguy/plugins
 /// <summary>
 /// Called when [load].
 /// </summary>
 /// <returns></returns>
 public bool Load(PanelLibrary panelLibrary)
 {
     if (!_isLoaded)
     {
         _panelLibrary = panelLibrary;
         _panelLibrary.PropertyChanged += _panelLibrary_PropertyChanged;
     }
     Events.DoLog(this, Name + " Loaded!");
     _isLoaded = true;
     return true;
 }
コード例 #23
0
ファイル: Timer.cs プロジェクト: meprogrammerguy/plugins
 public Timer(PanelLibrary panelLibrary)
 {
     _panelLibrary = panelLibrary;
     _batchingTimer = new System.Threading.Timer(Callback, null, 1000, System.Threading.Timeout.Infinite);
 }
コード例 #24
0
 /// <summary>
 /// Called when [unloaded].
 /// </summary>
 /// <returns></returns>
 public bool UnLoad()
 {
     if (_isLoaded)
     {
         if (_inputs != null)
         {
             _inputs.PropertyChanged -= _inputs_PropertyChanged;
             _inputs = null;
         }
     }
     Events.DoLog(this, Name + " UnLoaded!");
     _isLoaded = false;
     return true;
 }
コード例 #25
0
 /// <summary>
 /// Called when [load].
 /// </summary>
 /// <returns></returns>
 public bool Load(PanelLibrary inputs)
 {
     if (!_isLoaded)
     {
         _inputs = inputs;
         _inputs.PropertyChanged += _inputs_PropertyChanged;
     }
     Events.DoLog(this, Name + " Loaded!");
     _isLoaded = true;
     return true;
 }