共用方式為


CatBasic Class

Definition

public abstract class CatBasic : Microsoft.PointOfService.Cat, IDisposable
type CatBasic = class
    inherit Cat
    interface IDisposable
Public MustInherit Class CatBasic
Inherits Cat
Implements IDisposable
Inheritance
Implements

Constructors

CatBasic()

Fields

ExtendedErrorCenterError

Indicates an error was returned from the approval agency in CenterResultCode.

(Inherited from Cat)
ExtendedErrorCommandError

Indicates the command sent to the CAT is incorrect.

(Inherited from Cat)
ExtendedErrorCommunicationError

Indicates a communication error has occurred between the approval agency and the CAT.

(Inherited from Cat)
ExtendedErrorDailyLogOverflow

Indicates the daily log is too big to be stored.

(Inherited from Cat)
ExtendedErrorDeficient

Indicates the balance is insufficient for an electronic money device. The device cannot close the settlement.

(Inherited from Cat)
ExtendedErrorFirmwareBadFile

Indicates the specified firmware file or files exist, but one or more of those files are either not in the correct format or are corrupted.

(Inherited from PosCommon)
ExtendedErrorOverDeposit

Indicates a failure occurs for an electronic money device if the attempted settlement amount exceeds the charge account limit.

(Inherited from Cat)
ExtendedErrorReset

Indicates the CAT was stopped during processing by the CAT Reset key or Stop key.

(Inherited from Cat)
ExtendedErrorStatistics

Indicates a specified statistic could not be reset or updated.

(Inherited from PosCommon)
ExtendedErrorStatisticsDependency (Inherited from PosCommon)
StatisticCommunicationErrorCount

Holds the programmatic name of the Communication Error Count common statistic.

(Inherited from PosCommon)
StatisticDeviceCategory

Holds the programmatic name of the Device Category common statistic.

(Inherited from PosCommon)
StatisticFirmwareRevision

Holds the programmatic name of the Firmware Revision common statistic.

(Inherited from PosCommon)
StatisticHoursPoweredCount

Holds the programmatic name of the Hours Powered On common statistic.

(Inherited from PosCommon)
StatisticInstallationDate

Holds the programmatic name of the Installation Date common statistic.

(Inherited from PosCommon)
StatisticInterface

Holds the programmatic name of the Interface common statistic.

(Inherited from PosCommon)
StatisticManufactureDate

Holds the programmatic name of the Manufacture Date common statistic.

(Inherited from PosCommon)
StatisticManufacturerName

Holds the programmatic name of the Manufacturer Name common statistic.

(Inherited from PosCommon)
StatisticMechanicalRevision

Holds the programmatic name of the Mechanical Revision common statistic.

(Inherited from PosCommon)
StatisticModelName

Holds the programmatic name of the Model Name common statistic.

(Inherited from PosCommon)
StatisticSerialNumber

Holds the programmatic name of the Serial Number common statistic.

(Inherited from PosCommon)
StatisticUnifiedPOSVersion

Holds the programmatic name of the Unified POS Version common statistic.

(Inherited from PosCommon)
StatusPowerOff

Indicates that the device’s power is turned off or it is detached from the terminal.

(Inherited from PosCommon)
StatusPowerOffline

Indicates that the device is powered on but is either not ready or unable to respond to requests.

(Inherited from PosCommon)
StatusPowerOffOffline

Indicates that either the device’s power is off or it is offline.

(Inherited from PosCommon)
StatusPowerOnline

Indicates that the device’s power is turned on and it is ready for use.

(Inherited from PosCommon)
StatusUpdateFirmwareComplete

Indicates the update firmware process has completed successfully.

(Inherited from PosCommon)
StatusUpdateFirmwareCompleteDeviceNotRestored

Indicates the update firmware process succeeded. However, the Service Object and/or the physical device cannot be returned to the state they were in before the update firmware process started.

(Inherited from PosCommon)
StatusUpdateFirmwareFailedDeviceNeedsFirmware

Indicates the update firmware process failed. The device will not be operational until another attempt to update the firmware is successful.

(Inherited from PosCommon)
StatusUpdateFirmwareFailedDeviceOk

Indicates the update firmware process failed. However, the device is still operational.

(Inherited from PosCommon)
StatusUpdateFirmwareFailedDeviceUnknown

Indicates the update firmware process failed. The device is in an indeterminate state.

(Inherited from PosCommon)
StatusUpdateFirmwareFailedDeviceUnrecoverable

Indicates the update firmware process failed. The device is either unusable or unrecoverable through software.

(Inherited from PosCommon)
StatusUpdateFirmwareProgress

Indicates the update firmware process has completed 1 to 100 percent successfully.

(Inherited from PosCommon)
WaitForever

Used as the value for a timeout parameter in common and device-specific methods to indicate the method should wait until it receives a response, instead of timing out.

(Inherited from PosCommon)

Properties

AccountNumber

Gets the credit card number of the settled account.

(Inherited from Cat)
AdditionalSecurityInformation

Gets or sets additional security information for an authorization operation.

(Inherited from Cat)
ApprovalCode

Gets the credit approval code.

(Inherited from Cat)
AsyncMode

Gets or sets the Boolean value that indicates whether the authorization runs asynchronously.

(Inherited from Cat)
Balance

Gets a credit card balance.

(Inherited from Cat)
CapAdditionalSecurityInformation

Gets the Boolean value that indicates whether the AdditionalSecurityInformation property can be used.

(Inherited from Cat)
CapAuthorizeCompletion

Gets the Boolean value that indicates whether the AuthorizeCompletion(Int32, Decimal, Decimal, Int32) method is implemented.

(Inherited from Cat)
CapAuthorizePreSales

Gets the Boolean value that indicates whether the AuthorizePreSales(Int32, Decimal, Decimal, Int32) method is implemented.

(Inherited from Cat)
CapAuthorizeRefund

Gets the Boolean value that indicates whether the AuthorizeRefund(Int32, Decimal, Decimal, Int32) method is implemented.

(Inherited from Cat)
CapAuthorizeVoid

Gets the Boolean value that indicates whether the AuthorizeVoid(Int32, Decimal, Decimal, Int32) method is implemented.

(Inherited from Cat)
CapAuthorizeVoidPreSales

Gets the Boolean value that indicates whether the AuthorizeVoidPreSales(Int32, Decimal, Decimal, Int32) method is implemented.

(Inherited from Cat)
CapCashDeposit

Gets the Boolean value that indicates whether the CashDeposit(Int32, Decimal, Int32) method is implemented.

(Inherited from Cat)
CapCenterResultCode

Gets the Boolean value that indicates whether the CenterResultCode method is implemented.

(Inherited from Cat)
CapCheckCard

Gets the Boolean value that indicates whether the CheckCard(Int32, Int32) method is implemented.

(Inherited from Cat)
CapCompareFirmwareVersion
CapDailyLog

Gets the daily log ability of the device.

(Inherited from Cat)
CapInstallments

Gets the Boolean value that indicates whether the "Installments" item is provided.

(Inherited from Cat)
CapLockTerminal

Gets a Boolen value that indicates whether the device has a security lock and can set it.

(Inherited from Cat)
CapLogStatus

Gets a Boolen value that indicates whether the device can give information about the status of the log.

(Inherited from Cat)
CapPaymentDetail

Gets the Boolean value that indicates whether the PaymentDetail property is implemented.

(Inherited from Cat)
CapPowerReporting
CapStatisticsReporting
CapTaxOthers

Gets the Boolean value that indicates whether the item "TaxOthers" is provided.

(Inherited from Cat)
CapTrainingMode

Gets the Boolean value that indicates whether the TrainingMode property is implemented.

(Inherited from Cat)
CapTransactionNumber

Gets the Boolean value that indicates whether the TransactionNumber property is implemented.

(Inherited from Cat)
CapUnlockTerminal

Gets the Boolean value that indicates whether the security lock can be released.

(Inherited from Cat)
CapUpdateFirmware
CapUpdateStatistics
CardCompanyId

Gets the credit card company ID.

(Inherited from Cat)
CenterResultCode

Gets the code from the approval agency.

(Inherited from Cat)
CheckHealthText

Gets a string that indicates the health of the device.

(Inherited from PosCommon)
Claimed
CommonProperties
Compatibility (Inherited from PosDevice)
DailyLog

Gets the result of the AccessDailyLog(Int32, CatLogs, Int32) method.

(Inherited from Cat)
DeviceDescription
DeviceEnabled
DeviceInstanceId (Inherited from PosCommon)
DeviceName
DevicePath

Gets or sets the hardware path of a device.

(Inherited from PosCommon)
ErrorCount
ExternallyClaimed
FreezeEvents
HardwareId (Inherited from PosCommon)
IsExclusiveUseDevice

Gets the Boolean value that indicates whether the credit authorization terminal is an exclusive-use device.

(Inherited from Cat)
LogStatus

Gets the status of the dealing log of the CAT device.

(Inherited from Cat)
OutputId
PaymentCondition

Gets the payment condition of the most recent successful authorization operation.

(Inherited from Cat)
PaymentDetail

Gets payment condition details as the result of an authorization operation.

(Inherited from Cat)
PaymentMedia

Gets or sets the payment media type that the approval method should approve.

(Inherited from Cat)
PowerNotify
PowerState
SequenceNumber

Gets a "sequence number" as the result of each method call.

(Inherited from Cat)
ServiceObjectDescription
ServiceObjectVersion
SettledAmount

Gets the amount of the settlement for an electronic money device.

(Inherited from Cat)
SlipNumber

Gets a "slip number" as the result of each authorization operation.

(Inherited from Cat)
State
SynchronizingObject

Gets or sets the object that is used to marshal the event handler calls issued because of a POS event.

(Inherited from PosCommon)
TrainingMode

Gets or sets the Boolean value that indicates whether each operation is run in training mode.

(Inherited from Cat)
TransactionNumber

Gets a transaction number as the result of each authorization operation.

(Inherited from Cat)
TransactionType

Gets a transaction number as the result of each authorization operation.

(Inherited from Cat)

Methods

AccessDailyLog(Int32, CatLogs, Int32)

Gets the daily log from CAT.

(Inherited from Cat)
AuthorizeCompletion(Int32, Decimal, Decimal, Int32)

Authorizes the purchase after approval.

(Inherited from Cat)
AuthorizePreSales(Int32, Decimal, Decimal, Int32)

Preauthorizes a purchase.

(Inherited from Cat)
AuthorizeRefund(Int32, Decimal, Decimal, Int32)

Approves a refund for a purchase.

(Inherited from Cat)
AuthorizeSales(Int32, Decimal, Decimal, Int32)

Approves a purchase.

(Inherited from Cat)
AuthorizeVoid(Int32, Decimal, Decimal, Int32)

Approves cancellation of a purchase.

(Inherited from Cat)
AuthorizeVoidPreSales(Int32, Decimal, Decimal, Int32)

Preauthorizes a cancellation.

(Inherited from Cat)
CashDeposit(Int32, Decimal, Int32)

Charges the specified amount of money to the account.

(Inherited from Cat)
CheckCard(Int32, Int32)

Indicates that a card check is intended.

(Inherited from Cat)
CheckHealth(HealthCheckLevel)

Tests the state of a device.

(Inherited from PosCommon)
Claim(Int32)
ClearOutput()
ClearOutputImpl()
Close()
CompareFirmwareVersion(String)

Determines whether the version of the specified firmware is newer than, older than, or the same as the version of firmware in the physical device.

(Inherited from PosCommon)
CreateStatistic(String, Boolean, String)
CreateStatistic(String, Boolean)
DeleteConfigurationProperty(String)

Deletes the specified property from the XML configuration file.

(Inherited from PosCommon)
DirectIO(Int32, Int32, Object)

Used to communicate directly with the Service Object.

(Inherited from PosCommon)
Dispose()
Dispose(Boolean)
GetConfigurationProperty(String)

Used by the Service Object to retrieve the specified property from the XML configuration file.

(Inherited from PosCommon)
GetStatisticValue(String)
IncrementStatistic(String, Int32)
IncrementStatistic(String)
Invoke(Delegate, Object[])

Used by the Service Objects to raise an event.

(Inherited from PosCommon)
LockTerminal()

Sets the security lock.

(Inherited from Cat)
Open()
PreFireEvent(DeviceErrorEventArgs)
PreFireEvent(DirectIOEventArgs)
PreFireEvent(OutputCompleteEventArgs)
PreFireEvent(StatusUpdateEventArgs)
QueueEvent(DeviceErrorEventArgs)
QueueEvent(DirectIOEventArgs)
QueueEvent(OutputCompleteEventArgs)
QueueEvent(StatusUpdateEventArgs)
QueueEventAndWait(DeviceErrorEventArgs)
QueueEventAndWait(DirectIOEventArgs)
Release()
ResetStatistic(String)
ResetStatistics()
ResetStatistics(StatisticCategories)
ResetStatistics(String[])
RetrieveStatistic(String)
RetrieveStatistics()
RetrieveStatistics(StatisticCategories)
RetrieveStatistics(String[])
SetConfigurationProperty(String, String)

Sets a property value (or create a new property) in the XML configuration file.

(Inherited from PosCommon)
SetStatisticHandlers(String, GetStatistic, SetStatistic)
SetStatisticValue(String, Object)
UnlockTerminal()

Releases the security lock.

(Inherited from Cat)
UpdateFirmware(String)

Updates the firmware of a device with the version of the firmware contained or defined in the file specified by the firmwareFileName parameter regardless of whether that firmware’s version is newer than, older than, or the same as the version of the firmware already in the device.

(Inherited from PosCommon)
UpdateStatistic(String, Object)
UpdateStatistics(Statistic[])
UpdateStatistics(StatisticCategories, Object)
VerifyState(Boolean, Boolean)

Events

DeviceAddedEvent (Inherited from PosCommon)
DeviceRemovedEvent (Inherited from PosCommon)
DirectIOEvent
ErrorEvent
OutputCompleteEvent
StateChangedEvent
StatusUpdateEvent

Applies to