⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c.cs

📁 老外Logix Mobile mCoreLib短信控件源码 通过串口或者手机数据线进行连接,可对手机进行 读写操作.
💻 CS
字号:
using mCore;
using Microsoft.VisualBasic.CompilerServices;
using System;

internal class c
{
    private f a;

    internal c(ref SMS A_0)
    {
        this.a = A_0.gm;
    }

    internal void a()
    {
        try
        {
            this.a.cn.Clear();
        }
        catch (Exception exception1)
        {
            ProjectData.SetProjectError(exception1);
            Exception exception = exception1;
            this.a.a.b("[SIMBox:Clear:1] " + exception.Message);
            ProjectData.ClearProjectError();
        }
    }

    internal void a(int A_0)
    {
        try
        {
            this.a.cn.Remove(A_0);
        }
        catch (Exception exception1)
        {
            ProjectData.SetProjectError(exception1);
            Exception exception = exception1;
            this.a.a.b("[SIMBox:Remove:1] " + exception.Message);
            ProjectData.ClearProjectError();
        }
    }

    internal void a(int A_0, string A_1, string A_2, string A_3, DateTime A_4, string A_5, int A_6)
    {
        try
        {
            Message item = new Message(ref this.a, A_0, A_1, A_3, A_4, A_5, A_6, A_2);
            this.a.co.Add(item, A_0.ToString(), null, null);
            if (item != null)
            {
                item = null;
            }
        }
        catch (Exception exception1)
        {
            ProjectData.SetProjectError(exception1);
            Exception exception = exception1;
            ProjectData.ClearProjectError();
        }
    }

    internal void a(int A_0, int A_1, string A_2, string A_3, DateTime A_4, string A_5, int A_6, string A_7, int A_8, int A_9, int A_10)
    {
        i item = new i(A_0, A_1, A_2, A_3, A_4, A_5, A_6, A_7, A_8, A_9, A_10);
        try
        {
            this.a.cn.Add(item, A_0.ToString(), null, null);
            item = null;
        }
        catch (Exception exception1)
        {
            ProjectData.SetProjectError(exception1);
            Exception exception = exception1;
            ProjectData.ClearProjectError();
        }
    }

    internal long b()
    {
        long count;
        try
        {
            count = this.a.cn.Count;
        }
        catch (Exception exception1)
        {
            ProjectData.SetProjectError(exception1);
            Exception exception = exception1;
            this.a.a.b("[SIMBox:Count:1] " + exception.Message);
            ProjectData.ClearProjectError();
        }
        return count;
    }

    internal i b(int A_0)
    {
        i i = null;
        try
        {
            i = (i) this.a.cn[A_0];
        }
        catch (Exception exception1)
        {
            ProjectData.SetProjectError(exception1);
            Exception exception = exception1;
            this.a.a.b("[SIMBox:Item:1] " + exception.Message);
            ProjectData.ClearProjectError();
        }
        return i;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -