private void EiganValuePost(SignalPerformance eiganValue)
        {
            List <SignalPerformance> eig = new List <SignalPerformance>();

            eig.Add(eiganValue);
            string content = iCMS.Common.Component.Tool.Extensions.Json.Stringify(eig);

            string response = CommunicationHelper.SendData(content, CommonVariate.Cloud_URL_SignalPerfs);
        }
        private void WavePost(WaveData waveData)
        {
            List <WaveData> wv = new List <WaveData>();

            wv.Add(waveData);
            string content = iCMS.Common.Component.Tool.Extensions.Json.Stringify(wv);

            string response = CommunicationHelper.SendWaveData(content, CommonVariate.Cloud_URL_WaveBinary);
        }
        private void DeviceTempePost(TempData tempData)
        {
            MeasureSitePerformance perg = getData.GetMeasuresitePerformance(tempData);

            if (perg != null)
            {
                List <MeasureSitePerformance> lt = new List <MeasureSitePerformance>();
                lt.Add(perg);
                string result = iCMS.Common.Component.Tool.Extensions.Json.Stringify(lt);

                string response = CommunicationHelper.SendData(result, CommonVariate.Cloud_URL_MeasuresitePerfs);
            }
        }
        private void VoltagePost(VoltageData voltage)
        {
            MeasureSite site = MeasureSiteRepository.GetByKey(voltage.MSiteID);

            if (site != null)
            {
                GetYunyiInterfaceData getData = new GetYunyiInterfaceData();
                SensorPerformance     perg    = getData.GetSensorPerformance(voltage, site);
                if (perg != null)
                {
                    List <SensorPerformance> lt = new List <SensorPerformance>();
                    lt.Add(perg);
                    string result   = iCMS.Common.Component.Tool.Extensions.Json.Stringify(lt);
                    string response = CommunicationHelper.SendData(result, CommonVariate.Cloud_URL_Sensorperfs);
                }
            }
        }