コード例 #1
0
ファイル: T144.cs プロジェクト: DogWars/Konata
        public T144Body(string androidId, DeviceReport deviceReport, string osType, string osVersion,
                        NetworkType networkType, string networkDetail, string apnName, bool isNewInstall,
                        bool isGuidAvaliable, bool isGuidChanged, byte[] guid, uint guidFlag,
                        string deviceModel, string deviceBrand)
        {
            _tlv109 = new Tlv(0x0109, new T109Body(androidId));
            _tlv16e = new Tlv(0x016e, new T16eBody(deviceModel));
            _tlv52d = new Tlv(0x052d, new T52dBody(deviceReport));
            _tlv124 = new Tlv(0x0124, new T124Body(osType, osVersion, networkType, networkDetail, apnName));
            _tlv128 = new Tlv(0x0128, new T128Body(isNewInstall, isGuidAvaliable, isGuidChanged, guid, guidFlag, deviceModel, deviceBrand));

            PutT144Body();
        }
コード例 #2
0
ファイル: T144.cs プロジェクト: DogWars/Konata
        public T144Body(Tlv tlv109, Tlv tlv52d, Tlv tlv124, Tlv tlv128,
                        Tlv tlv148, Tlv tlv153, Tlv tlv16e)
            : base()
        {
            _tlv109 = tlv109;
            _tlv52d = tlv52d;
            _tlv124 = tlv124;
            _tlv128 = tlv128;
            _tlv148 = tlv148;
            _tlv153 = tlv153;
            _tlv16e = tlv16e;

            PutT144Body();
        }