Har muligvis rettet den print fejl der er - men mangler at få det testet. Der er slettet en masse projekter som ikke bliver brugt mere. Og flyttet rundt på de få projekter som er tilbage. Dette er V2 og i sit eget repo, så dette er initial commit
34 lines
1002 B
C#
34 lines
1002 B
C#
using System;
|
|
|
|
namespace ESCPOS_NET
|
|
{
|
|
public class PrinterStatusEventArgs : EventArgs
|
|
{
|
|
public bool? IsWaitingForOnlineRecovery { get; set; }
|
|
|
|
public bool? IsPaperCurrentlyFeeding { get; set; }
|
|
|
|
public bool? IsPaperFeedButtonPushed { get; set; }
|
|
|
|
public bool? IsPrinterOnline { get; set; }
|
|
|
|
public bool? IsCashDrawerOpen { get; set; }
|
|
|
|
public bool? IsCoverOpen { get; set; }
|
|
|
|
public bool? IsPaperLow { get; set; }
|
|
|
|
public bool? IsPaperOut { get; set; }
|
|
|
|
public bool? IsInErrorState => (DidRecoverableErrorOccur ?? false) || (DidUnrecoverableErrorOccur ?? false) || (DidAutocutterErrorOccur ?? false) || (DidRecoverableNonAutocutterErrorOccur ?? false);
|
|
|
|
public bool? DidRecoverableErrorOccur { get; set; }
|
|
|
|
public bool? DidUnrecoverableErrorOccur { get; set; }
|
|
|
|
public bool? DidAutocutterErrorOccur { get; set; }
|
|
|
|
public bool? DidRecoverableNonAutocutterErrorOccur { get; set; }
|
|
|
|
}
|
|
} |