📄 isms.cs
字号:
namespace mCore
{
using System;
using System.Diagnostics;
public interface ISMS
{
event SMS.NewDeliveryReportEventHandler NewDeliveryReport;
event SMS.NewIncomingCallEventHandler NewIncomingCall;
event SMS.NewMessageReceivedEventHandler NewMessageReceived;
event SMS.NewUSSDReceivedEventhandler NewUSSDReceived;
event SMS.QueueSmartMessageSendingEventHandler QueueSmartMessageSending;
event SMS.QueueSmartMessageSentEventHandler QueueSmartMessageSent;
event SMS.QueueSMSSendingEventHandler QueueSMSSending;
event SMS.QueueSMSSentEventHandler QueueSMSSent;
event SMS.QueueVCalendarSendingEventHandler QueueVCalendarSending;
event SMS.QueueVCalendarSentEventHandler QueueVCalendarSent;
event SMS.QueueVCardSendingEventHandler QueueVCardSending;
event SMS.QueueVCardSentEventHandler QueueVCardSent;
event SMS.QueueWapPushSendingEventHandler QueueWapPushSending;
event SMS.QueueWapPushSentEventHandler QueueWapPushSent;
bool CancelUSSDSession();
bool ClearLog();
bool ClearLog(int KeepLinesInLog);
string Command(string ATCommand);
bool Connect();
bool Disconnect();
Inbox inbox();
Message inbox(int Index);
bool IsError();
bool IsError(bool ShowMsgBox);
bool IsError(bool ShowMsgBox, string MsgBoxTitle);
mCore.License License();
mCore.Queue Queue();
string SendSmartMessage(string DestinationNumber, string TextMessage, int DestinationPort);
string SendSmartMessage(string DestinationNumber, string TextMessage, int DestinationPort, int SourcePort);
string SendSmartMessageToQueue(string DestinationNumber, string TextMessage, int DestinationPort);
string SendSmartMessageToQueue(string DestinationNumber, string TextMessage, int DestinationPort, QueuePriority Priority);
string SendSmartMessageToQueue(string DestinationNumber, string TextMessage, int DestinationPort, int SourcePort);
string SendSmartMessageToQueue(string DestinationNumber, string TextMessage, int DestinationPort, int SourcePort, QueuePriority Priority);
string SendSMS(string DestinationNumber, string TextMessage);
string SendSMS(string DestinationNumber, string TextMessage, bool AlertMessage);
string SendSMSToQueue(string DestinationNumber, string TextMessage);
string SendSMSToQueue(string DestinationNumber, string TextMessage, QueuePriority Priority);
string SendSMSToQueue(string DestinationNumber, string TextMessage, QueuePriority Priority, bool AlertMessage);
bool SendUSSD(string USSD_Command);
mCore.vCalendar vCalendar();
mCore.vCard vCard();
mCore.WapPush WapPush();
string About { get; }
bool AutoDeleteNewMessage { get; set; }
int BatteryLevel { get; }
mCore.BaudRate BaudRate { get; set; }
mCore.DataBits DataBits { get; set; }
bool DebugMode { get; set; }
int DelayAfterPIN { get; set; }
bool DeliveryReport { get; set; }
bool DisableCheckPIN { get; set; }
mCore.Encoding Encoding { get; set; }
long ErrorCode { get; }
string ErrorDescription { get; }
mCore.FlowControl FlowControl { get; set; }
string IMEI { get; }
string IMSI { get; }
bool IncomingCallIndication { get; set; }
bool IsConnected { get; }
string LogFolderPath { get; set; }
long LogSize { get; }
mCore.LogType LogType { get; set; }
mCore.LongMessage LongMessage { get; set; }
string Manufacturer { get; }
mCore.MessageMemory MessageMemory { get; set; }
string Model { get; }
string ModemInitString { get; set; }
string Network { get; }
bool NewMessageConcatenate { get; set; }
bool NewMessageIndication { get; set; }
bool NewUSSDIndication { get; set; }
string OwnNumber { get; }
mCore.Parity Parity { get; set; }
string PIN { set; }
string Port { get; set; }
string Revision { get; }
int SendDelay { get; set; }
int SendRetry { get; set; }
int SignalStrength { get; }
int SignalStrengthDB { get; }
string SMSC { get; set; }
mCore.StopBits StopBits { get; set; }
long Timeout { get; set; }
string Validity { get; set; }
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -