C# Класс Universe.Modules.Currency.ScheduledPayments

Наследование: IService, IScheduledMoneyModule
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
eventManager Universe.Framework.Services.ClassHelpers.Other.UniverseEventManager

Открытые методы

Метод Описание
AddCommands ( ) : void
Charge ( UUID agentID, int amount, string description, TransactionType transType, string identifer, bool chargeImmediately, bool runOnce ) : bool
FinishedStartup ( ) : void
FireScheduleEvent ( SchedulerItem I, System.DateTime nextPayTime ) : void
GetGroupPaytime ( int minsOffset ) : System.DateTime

Gets the date and time for the next group charges/dividend payment.

GetStipendPaytime ( int minsOffset ) : System.DateTime

Gets the date and time for the next stipend payment.

GroupPaymentsInfo ( ) : void
Initialize ( IConfigSource config, IRegistryCore registry ) : void
InitializeScheduleTimer ( ) : void
ProccessScheduledPayments ( ) : void
ProcessGroupDividends ( ) : void
ProcessGroupLiability ( ) : void
ProcessStipendPayments ( ) : void
RemoveDirFeeScheduledCharge ( string identifier ) : void
RemoveFromScheduledCharge ( string identifier ) : void
ScheduledPaymentsInfo ( ) : void
SchedulerTimerElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void
SetSchedTimer ( int seconds ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void
StipendInfo ( ) : void
getStipendConfig ( ) : void

Защищенные методы

Метод Описание
HandleGrouppayDisable ( IScene scene, string cmd ) : void
HandleGrouppayEnable ( IScene scene, string cmd ) : void
HandleGrouppayInfo ( IScene scene, string cmd ) : void
HandleGrouppayPayDividends ( IScene scene, string cmd ) : void
HandleGrouppayPayNow ( IScene scene, string cmd ) : void
HandleScheduledPayInfo ( IScene scene, string cmd ) : void
HandleScheduledPayNow ( IScene scene, string cmd ) : void
HandleShowSchedulerTick ( IScene scene, string cmd ) : void
HandleStipendDisable ( IScene scene, string cmd ) : void
HandleStipendEnable ( IScene scene, string cmd ) : void
HandleStipendInfo ( IScene scene, string cmd ) : void
HandleStipendPayNow ( IScene scene, string cmd ) : void
HandleStipendReset ( IScene scene, string cmd ) : void

Приватные методы

Метод Описание
ChargeNext ( string functionName, object parameters ) : object
CheckWhetherUserShouldPay ( UUID agentID, string text ) : bool
ElapsedTime ( System.TimeSpan elapsed ) : string
PayDayOfWeek ( string payday ) : int

Convert day to DdoyOfWeek number.

PaymentCycleDays ( ) : int

Calculate the number of days between payments.

Описание методов

AddCommands() публичный Метод

public AddCommands ( ) : void
Результат void

Charge() публичный Метод

public Charge ( UUID agentID, int amount, string description, TransactionType transType, string identifer, bool chargeImmediately, bool runOnce ) : bool
agentID UUID
amount int
description string
transType TransactionType
identifer string
chargeImmediately bool
runOnce bool
Результат bool

FinishedStartup() публичный Метод

public FinishedStartup ( ) : void
Результат void

FireScheduleEvent() публичный Метод

public FireScheduleEvent ( SchedulerItem I, System.DateTime nextPayTime ) : void
I Universe.Framework.Utilities.SchedulerItem
nextPayTime System.DateTime
Результат void

GetGroupPaytime() публичный Метод

Gets the date and time for the next group charges/dividend payment.
public GetGroupPaytime ( int minsOffset ) : System.DateTime
minsOffset int
Результат System.DateTime

GetStipendPaytime() публичный Метод

Gets the date and time for the next stipend payment.
public GetStipendPaytime ( int minsOffset ) : System.DateTime
minsOffset int
Результат System.DateTime

GroupPaymentsInfo() публичный Метод

public GroupPaymentsInfo ( ) : void
Результат void

HandleGrouppayDisable() защищенный Метод

protected HandleGrouppayDisable ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleGrouppayEnable() защищенный Метод

protected HandleGrouppayEnable ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleGrouppayInfo() защищенный Метод

protected HandleGrouppayInfo ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleGrouppayPayDividends() защищенный Метод

protected HandleGrouppayPayDividends ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleGrouppayPayNow() защищенный Метод

protected HandleGrouppayPayNow ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleScheduledPayInfo() защищенный Метод

protected HandleScheduledPayInfo ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleScheduledPayNow() защищенный Метод

protected HandleScheduledPayNow ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleShowSchedulerTick() защищенный Метод

protected HandleShowSchedulerTick ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleStipendDisable() защищенный Метод

protected HandleStipendDisable ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleStipendEnable() защищенный Метод

protected HandleStipendEnable ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleStipendInfo() защищенный Метод

protected HandleStipendInfo ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleStipendPayNow() защищенный Метод

protected HandleStipendPayNow ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

HandleStipendReset() защищенный Метод

protected HandleStipendReset ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

Initialize() публичный Метод

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Результат void

InitializeScheduleTimer() публичный Метод

public InitializeScheduleTimer ( ) : void
Результат void

ProccessScheduledPayments() публичный Метод

public ProccessScheduledPayments ( ) : void
Результат void

ProcessGroupDividends() публичный Метод

public ProcessGroupDividends ( ) : void
Результат void

ProcessGroupLiability() публичный Метод

public ProcessGroupLiability ( ) : void
Результат void

ProcessStipendPayments() публичный Метод

public ProcessStipendPayments ( ) : void
Результат void

RemoveDirFeeScheduledCharge() публичный Метод

public RemoveDirFeeScheduledCharge ( string identifier ) : void
identifier string
Результат void

RemoveFromScheduledCharge() публичный Метод

public RemoveFromScheduledCharge ( string identifier ) : void
identifier string
Результат void

ScheduledPaymentsInfo() публичный Метод

public ScheduledPaymentsInfo ( ) : void
Результат void

SchedulerTimerElapsed() публичный Метод

public SchedulerTimerElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void
sender object
elapsedEventArgs System.Timers.ElapsedEventArgs
Результат void

SetSchedTimer() публичный Метод

public SetSchedTimer ( int seconds ) : void
seconds int
Результат void

Start() публичный Метод

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Результат void

StipendInfo() публичный Метод

public StipendInfo ( ) : void
Результат void

getStipendConfig() публичный Метод

public getStipendConfig ( ) : void
Результат void

Описание свойств

eventManager публичное свойство

public UniverseEventManager,Universe.Framework.Services.ClassHelpers.Other eventManager
Результат Universe.Framework.Services.ClassHelpers.Other.UniverseEventManager