ArcFM Solution 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
)

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 XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

SubmitCallCommand Class
SubmitCallCommand Members

 

 


Send Comment