ArcFM Responder Mobile Developer Guide
WithHazardOnDevice Method






The device to add a hazard on
Type of Hazard
Optional: The remarks on the hazard
Optional: the time public safety arrived on site.
Add hazard with the call on the specified device
Syntax
'Declaration
 
Public Function WithHazardOnDevice( _
   ByVal device As DeviceInfo, _
   ByVal type As HazardTypeDomain, _
   Optional ByVal remarks As System.String, _
   Optional ByVal timePublicSafetyArr As System.Nullable(Of Date) _
) As SubmitCallCommand
'Usage
 
Dim instance As SubmitCallCommand
Dim device As DeviceInfo
Dim type As HazardTypeDomain
Dim remarks As System.String
Dim timePublicSafetyArr As System.Nullable(Of Date)
Dim value As SubmitCallCommand
 
value = instance.WithHazardOnDevice(device, type, remarks, timePublicSafetyArr)
public SubmitCallCommand WithHazardOnDevice( 
   DeviceInfo device,
   HazardTypeDomain type,
   System.string remarks,
   System.Nullable<DateTime> timePublicSafetyArr
)
public function WithHazardOnDevice( 
    device: DeviceInfo;
    type: HazardTypeDomain;
    remarks: System.String;
    timePublicSafetyArr: System.Nullable
): SubmitCallCommand; 
public function WithHazardOnDevice( 
   device : DeviceInfo,
   type : HazardTypeDomain,
   remarks : System.String,
   timePublicSafetyArr : System.Nullable
) : SubmitCallCommand;
public: SubmitCallCommand* WithHazardOnDevice( 
   DeviceInfo* device,
   HazardTypeDomain type,
   System.string* remarks,
   System.Nullable<DateTime> timePublicSafetyArr
) 
public:
SubmitCallCommand^ WithHazardOnDevice( 
   DeviceInfo^ device,
   HazardTypeDomain type,
   System.String^ remarks,
   System.Nullable<DateTime> timePublicSafetyArr
) 

Parameters

device
The device to add a hazard on
type
Type of Hazard
remarks
Optional: The remarks on the hazard
timePublicSafetyArr
Optional: the time public safety arrived on site.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SubmitCallCommand Class
SubmitCallCommand Members

Send Feedback