Searched refs:DSLRPowerSP (Results 1 – 2 of 2) sorted by relevance
136 defineProperty(&DSLRPowerSP); in updateProperties()153 deleteProperty(DSLRPowerSP.name); in updateProperties()247 if (!strcmp(name, DSLRPowerSP.name)) in ISNewSwitch()249 IUUpdateSwitch(&DSLRPowerSP, states, names, n); in ISNewSwitch()251 DSLRPowerSP.s = IPS_ALERT; in ISNewSwitch()253 snprintf(cmd, PEGASUS_LEN, "P2:%d", IUFindOnSwitchIndex(&DSLRPowerSP)); in ISNewSwitch()256 DSLRPowerSP.s = !strcmp(cmd, res) ? IPS_OK : IPS_ALERT; in ISNewSwitch()259 IUResetSwitch(&DSLRPowerSP); in ISNewSwitch()260 IDSetSwitch(&DSLRPowerSP, nullptr); in ISNewSwitch()494 DSLRPowerSP.s = (std::stoi(result[PA_DSLR_STATUS]) == 1) ? IPS_OK : IPS_IDLE; in getSensorData()[all …]
140 ISwitchVectorProperty DSLRPowerSP; variable